/** Shopify CDN: Minification failed

Line 323:41 Expected identifier but found whitespace
Line 325:12 Unexpected "{"
Line 325:21 Expected ":"
Line 331:14 Unexpected "{"
Line 331:23 Expected ":"
Line 332:18 Expected identifier but found whitespace
Line 332:20 Unexpected "{"
Line 332:29 Expected ":"
Line 332:55 Expected ":"
Line 333:21 Expected identifier but found whitespace
... and 3 more hidden warnings

**/
/* assets/shared-styles.css */

/* General styles */
.savers-wrapper { 
  margin: 40px auto; 
}

.savers-background {
  background: #1a1a1a;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  box-sizing: border-box;
}

.biggest-savers-section {
  margin-bottom: 40px;
}

/* Carousel styles */
.carousel-container {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 50px;
  height: 450px;
  overflow-x: hidden;
  overflow-y: visible;
}

.carousel-track {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  width: max-content;
  transition: transform 0.5s ease;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00994e;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

.carousel-nav:hover { 
  background: #007f3f; 
}

.carousel-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #666;
}

.prev { 
  left: 0; 
}

.next { 
  right: 0; 
}

/* Card styles */
.prebuild-card {
  position: relative;
  width: 227px;
  min-height: 370px;
  height: auto;
  align-self: flex-start;
  background: #fff;
  border: 2px solidrgb(240, 240, 240);
  border-radius: 8px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: min-height 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.prebuild-card:hover {
  min-height: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
  background:rgb(255, 255, 255);
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #ddd;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
}

.retailer-name {
  color: #1f1f1f;
  font-size: 7px;
  font-weight: 500;
  text-transform: uppercase;
}

.card-image {
  width: 100%;
  height: 180px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
}

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

.card-body {
  position: relative;
  padding: 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
  padding-bottom: 70px;
}

.card-title {
  font-size: 14px;
  margin: 0;
  line-height: 1.2;
  color: #222;
  height: 3.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card-components {
  font-size: 11px;
  color: #555;
  margin: 4px 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
  max-height: 1.4em;
  transition: max-height 0.3s ease;
}

.prebuild-card:hover .card-components {
  max-height: 4.2em;
}

.card-save-badge {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background-color: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.card-saved-amount {
  font-size: 12px;
  color: #000;
  margin: 4px 0 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
}

.prebuild-card:hover .card-saved-amount {
  opacity: 1;
  max-height: 40px;
  margin-top: 6px;
}

.card-saved-number {
  color: #4caf50;
  font-weight: 700;
}

.card-prices {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background:rgb(255, 255, 255);
  padding: 8px;
  border-top: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
  z-index: 2;
  min-height: 50px;
  height: auto;
}

.card-prices > div {
  flex: 1;
  text-align: center;
}

.card-prices .price-retailer .price-value {
  color: #1f1f1f;
  font-size: 2rem;
  font-weight: 500;
  margin-top: 2px;
}

.card-prices .price-components .price-value {
  color: #4caf50;
  font-size: 2rem;
  font-weight: 650;
  margin-top: 2px;
}

.price-label {
  display: block;
  font-size: 12px;
  color: #1f1f1f;
}

.price-value {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 4px;
}

.missing-icon,
.substitute-icon {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 18px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.missing-icon {
  color: #d32f2f;
}

.substitute-icon {
  color: #ffa000;
  left: 48px;
}

.missing-icon:hover,
.substitute-icon:hover {
  transform: scale(1.2);
}

.section-title {
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.prebuilds-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}


\* BELOW IS STYLES FOR THE custom-liquid.

  .section-{{ section.id }}-padding {
    padding-top: calc({{ section.settings.padding_top }}px * 0.75);
    padding-bottom: calc({{ section.settings.padding_bottom }}px * 0.75);
  }

  @media screen and (min-width: 750px) {
    .section-{{ section.id }}-padding {
      padding-top: {{ section.settings.padding_top }}px;
      padding-bottom: {{ section.settings.padding_bottom }}px;
    }
  }

  .logo-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
  }

  .logo-overlap {
    width: 20%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
  }

  .supported-retailers-link {
    background-color: #171717;
    padding: 10px 20px;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
  }

  .search-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 24px;
    border: 2px solid #2a8544;
    box-shadow: 0 0 0px 1px #2a8544;
    max-width: 650px;
    margin: 60px auto 40px;
  }

  #scrapeForm {
    display: flex;
    width: 100%;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.7), inset -2px -2px 5px rgba(255,255,255,0.03);
  }
  #scrapeForm:focus-within { box-shadow: 0 0 3px 0px #2a8544; }

  #urlInput { flex-grow: 1; padding: 16px; border: none !important; outline: none !important; border-radius: 12px 0 0 12px; font-size: 18px; background-color: transparent; color: #cccccc; }
  #urlInput:focus { outline: none !important; box-shadow: none !important; }
  #urlInput::placeholder { color: #999; }

  #scrapeForm button { background: transparent; border: none; border-radius: 0 12px 12px 0; width: 56px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
  #scrapeForm button img { filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(500%) hue-rotate(90deg); }

  .result-wrapper {
    display: none;
    background-color: #171717;
    border-radius: 24px;
    padding: 30px;
    max-width: 1200px;
    margin: 25px auto;
    position: relative;
  }

  #retailerFilter label {
    font-size: 12px;
    font-weight: normal;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .build-card { position: relative; background: #ffffff; border: 2px solid #00994e; border-radius: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); max-width: 1200px; width: 100%; display: flex; align-items: center; padding: 16px; overflow: hidden; margin-bottom: 20px; }
  .build-card img { width: 200px; height: 200px; object-fit: contain; margin-right: 16px; }
  .share-container { position: absolute; bottom: 16px; right: 16px; display: flex; align-items: center; }
  .share-input { border: 1px solid #ccc; border-radius: 6px; padding: 8px; font-size: 14px; width: 220px; margin-right: 8px; }
  .share-button { background-color: #1f1f1f; color: #fff; border: 2px solid #00994e; border-radius: 6px; padding: 8px 12px; cursor: pointer; font-size: 14px; }
  .share-button:focus { outline: none; box-shadow: 0 0 3px 0px #2a8544; }

  .build-info { flex: 1; padding: 16px 0; color: #000; }
  .build-info h2 { margin: 0 0 8px; font-size: 20px; color: #333; }
  .build-info h2 a {
  color: #000 !important;
  text-decoration: underline !important;
}
  .build-info .prices { display: flex; gap: 16px; margin-top: 12px; font-size: 24px; }
  .price-prebuild { color: #000000; } .price-build { color: #00994e; } .price-save { color: #00994e; text-decoration: underline; }
  .missing { color: orange; font-size: 16px; margin-top: 8px; }
  .substitutes { font-size: 16px; margin-top: 8px; }

  .parts-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 auto; max-width: 1200px; background-color: #ffffff; border-radius: 24px; overflow: hidden; border: 2px solid #00994e; overflow: hidden; border: 2px solid #00994e; }
  .parts-table th, .parts-table td { border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; padding: 8px 12px; vertical-align: middle; color: #000; }
  .parts-table th { background-color: #e0e0e0; color: #000; text-align: left; }
  .parts-table td img { max-width: 60px; max-height: 60px; object-fit: contain; display: block; margin: 0 auto; }
  .parts-table td:nth-child(3) a { color: #1a73e8 !important; }
  .parts-table td.in-stock, .parts-table td.out-of-stock { position: relative; padding-left: 18px; }
  .parts-table td.in-stock::before, .parts-table td.out-of-stock::before { content: '•'; position: absolute; left: 2px; top: 50%; transform: translateY(-50%); font-size: 27px; line-height: 1; }
  .parts-table td.in-stock::before { color: #00994e; } .parts-table td.out-of-stock::before { color: #ff0000; }
  .buy-cell a { display: inline-flex; align-items: center; gap: 2px; background-color: #00994e; color: #ffffff; padding: 6px 12px; border-radius: 6px; font-size: 10px; text-decoration: none; border: none; }
  .buy-cell img { width: 12px !important; height: 12px !important; vertical-align: middle; margin-right: -2px; }
  .parts-table td > div + div { font-size: 12px; color: #777; }
  .big-saver-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: #FFD700;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

/* Report Button Styles */
.report-button {
  background-color: white;
  color: black;
  border: 1px solid black;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 8px;
  height: 36px; /* Match share button height */
}

.report-button:hover {
  background-color: #f5f5f5;
}
/* Report Overlay Styles */
.report-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.report-form-container {
  background-color: white;
  padding: 25px;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.close-report {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: bold;
  color: #666;
  padding: 5px;
}

.close-report:hover {
  color: #333;
}

.report-header {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.component-list {
  max-height: none;
  overflow-y: visible;
}

.component-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #f5f5f5;
}

.component-item:last-child {
  border-bottom: none;
}

.component-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-right: 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 5px;
}

.component-name {
  flex-grow: 1;
  font-size: 14px;
  color: #333;
}

.component-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.report-comment {
  margin-top: 15px;
}

.report-comment label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
}

.report-comment textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  min-height: 100px;
  font-size: 14px;
  resize: vertical;
}

.report-comment textarea:focus {
  outline: none;
  border-color: #00994e;
  box-shadow: 0 0 0 2px rgba(0,153,78,0.1);
}

.report-submit {
  width: 100%;
  background-color: #00994e;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.2s;
}

.report-submit:hover {
  background-color: #007d40;
}

/* Scrollbar styling for component list */
.component-list::-webkit-scrollbar {
  width: 8px;
}

.component-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.component-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.component-list::-webkit-scrollbar-thumb:hover {
  background: #999;
}

@media screen and (max-width: 749px) {
    /* Phone-specific adjustments: reduce top spacing and enlarge logo */
    .logo-container {
      margin-top: 20px;
    }
    .logo-overlap {
      width: 50%; /* make logo bigger */
      max-width: none;
    }
    .supported-retailers-link {
      margin-bottom: 10px;
    }
    .search-wrapper {
      margin: 20px auto 20px;
      padding: 20px;
    }
    .report-form-container {
      padding: 15px;
    }
    
    .component-item {
      padding: 8px;
    }
    
    .component-image {
      width: 50px;
      height: 50px;
      margin-right: 10px;
    }
  }
  
.notify-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

