/** Shopify CDN: Minification failed

Line 16:0 Unexpected "{"
Line 16:1 Expected identifier but found "%"
Line 18:14 Expected identifier but found whitespace
Line 18:16 Unexpected "{"
Line 18:25 Expected ":"
Line 18:51 Expected ":"
Line 19:17 Expected identifier but found whitespace
Line 19:19 Unexpected "{"
Line 19:28 Expected ":"
Line 19:57 Expected ":"
... and 2 more hidden warnings

**/
{% stylesheet %}
.free-fabric-samples {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
}

.fabric-samples-container {
  max-width: 1600px;
  margin: 0 auto;
}

.fabric-samples-heading {
  text-align: center;
  margin-bottom: 1rem;
}

.fabric-samples-description {
  /* text-align: left; */
  margin-bottom: 2rem;
  /* max-width: 700px; */
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5rem;
  line-height: 1.6;
}

/* Selection Bar - Sticky Header */
.selection-bar {
  background: linear-gradient(135deg, #fff8f0 0%, #fffbf5 100%);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(248, 146, 0, 0.1);
  border: 2px solid rgba(248, 146, 0, 0.3);
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
  opacity: 0.5;
  pointer-events: none;
}

.selection-bar.active {
  opacity: 1;
  pointer-events: all;
  box-shadow: 0 8px 30px rgba(248, 146, 0, 0.2);
  border-color: rgba(248, 146, 0, 0.5);
}

.selection-bar {
  /* position: sticky; */
  top: 20px;
  z-index: 100;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.selection-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.selection-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.selection-info svg {
  color: #F89200;
  flex-shrink: 0;
}

.selection-info strong {
  color: #F89200;
  font-size: 1.3rem;
}

.selection-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.button-text {
  background: none;
  border: none;
  color: rgba(var(--color-foreground), 0.6);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  text-decoration: underline;
}

.button-text:hover {
  color: rgb(var(--color-foreground));
}

.selected-fabrics-preview {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 146, 0, 0.2);
}

.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ffe4b3 0%, #ffeccb 100%);
  color: #c77400;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(248, 146, 0, 0.2);
}

.chip-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #F89200 0%, #e08500 100%);
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(248, 146, 0, 0.3);
}

.chip-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: currentColor;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.chip-remove:hover {
  opacity: 1;
}

/* Full Page Fabric Grid */
.fabric-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.fabric-category-header {
  grid-column: 1 / -1;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #fff8f0 0%, #ffeed9 100%);
  border-radius: 16px;
  border: 2px solid rgba(248, 146, 0, 0.3);
}

.fabric-category-header:first-child {
  margin-top: 0;
}

.category-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #c77400;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-title::before {
  content: "✨";
  display: inline-block;
  font-size: 1.6rem;
}

/* Fabric Cards */
.fabric-card {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fabric-card:hover {
  transform: translateY(-8px);
}

.fabric-card.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.fabric-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.fabric-card-label {
  display: block;
  cursor: pointer;
}

.fabric-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #fff8f0 0%, #ffeed9 100%);
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(248, 146, 0, 0.15);
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.fabric-card:hover .fabric-card-image {
  border-color: rgba(248, 146, 0, 0.5);
  box-shadow: 0 8px 25px rgba(248, 146, 0, 0.25);
}

.fabric-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fabric-card:hover .fabric-card-image img {
  transform: scale(1.08);
}

.fabric-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 146, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: none;
  border-radius: 17px;
}

.fabric-checkbox:checked + .fabric-card-label .fabric-card-overlay {
  background: rgba(248, 146, 0, 0.3);
}

.checkmark {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F89200 0%, #e08500 100%);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 6px 20px rgba(248, 146, 0, 0.4);
  border: 3px solid white;
}

.checkmark svg {
  color: white;
}

.fabric-checkbox:checked + .fabric-card-label .checkmark {
  transform: scale(1);
}

.fabric-card-content {
  padding: 1rem 0.5rem;
  text-align: center;
}

.fabric-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem 0;
  color: #2d3436;
  line-height: 1.3;
}

.fabric-card-description {
  font-size: 0.85rem;
  color: #636e72;
  margin: 0;
  line-height: 1.4;
}

/* Note Section */
.note-section-wrapper {
  background: linear-gradient(135deg, #fff8f0 0%, #fffbf5 100%);
  padding: 2.5rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  border: 2px solid rgba(248, 146, 0, 0.2);
}

.note-section {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.note-section label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  color: rgb(var(--color-foreground));
}

.note-section label svg {
  color: rgba(var(--color-foreground), 0.5);
}

.note-section textarea {
  width: 100%;
  padding: 1.25rem;
  border: 2px solid rgba(248, 146, 0, 0.3);
  border-radius: 16px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  transition: all 0.3s ease;
  resize: vertical;
}

.note-section textarea:focus {
  outline: none;
  border-color: #F89200;
  box-shadow: 0 0 0 4px rgba(248, 146, 0, 0.1);
}

/* Info Badges */
.info-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.info-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #636e72;
  background: white;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(248, 146, 0, 0.1);
  border: 2px solid rgba(248, 146, 0, 0.2);
}

.info-badge svg {
  color: #F89200;
  flex-shrink: 0;
}

.info-badge strong {
  color: #2d3436;
}

/* Form Messages */
.form-messages {
  max-width: 800px;
  margin: 0 auto 2rem;
  min-height: 28px;
}

.error-message,
.success-message {
  margin: 0;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  display: none;
  text-align: center;
}

.error-message:not(:empty) {
  display: block;
  background: rgba(231, 76, 60, 0.1);
  color: #c0392b;
  border: 2px solid #e74c3c;
}

.success-message:not(:empty) {
  display: block;
  background: rgba(46, 204, 113, 0.1);
  color: #27ae60;
  border: 2px solid #2ecc71;
}

/* Button */
.button--primary {
  padding: 1.25rem 2.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 240px;

  color: white;
  box-shadow: 0 4px 15px rgba(248, 146, 0, 0.3);
}

.button--primary:hover:not(:disabled) {
  transform: translateY(-3px);
  /* box-shadow: 0 8px 25px rgba(248, 146, 0, 0.4); */
}

.button--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .fabric-full-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
  }
}

@media screen and (max-width: 990px) {
  .fabric-full-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .selection-bar-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .selection-actions {
    justify-content: space-between;
  }

  .info-badges {
    gap: 1rem;
  }
}

@media screen and (max-width: 749px) {
  .fabric-full-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .selection-bar {
    padding: 1rem;
  }

  .note-section-wrapper {
    padding: 1.5rem;
  }

  .fabric-samples-description {
    font-size: 1rem;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .info-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .chip-name {
    max-width: 100px;
  }
}

@media screen and (max-width: 480px) {
  .fabric-full-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .fabric-card-content {
    padding: 1rem 0.5rem;
  }

  .fabric-card-name {
    font-size: 0.95rem;
  }

  .fabric-card-description {
    font-size: 0.8rem;
  }

  .button--primary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

  .selection-info {
    font-size: 0.95rem;
  }
}
{% endstylesheet %}