/** Shopify CDN: Minification failed

Line 329:0 Unexpected "}"

**/

/* Customize Your Suit Button */
.customize-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  background-color: #333333; /* Customize to match your brand */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 15px; /* Adds spacing from "Add to Cart" */
  text-align: center;
  width: 100%; /* Makes it full-width to align with other buttons */
}

.customize-button:hover {
  background-color: #555555; /* Darker shade for hover effect */
}
/* Modal container */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000; /* Ensures it's above other elements */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

/* Default Modal Content Styling */
.modal-content {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  margin: auto;
}

/* Wider Customization Modal for Desktop Views */
@media (min-width: 1024px) {
  .modal-content {
    width: 80%; /* Ensure consistent width */
    max-width: 900px; /* Adjust wider modal for desktop */
    margin: auto; /* Center the modal */
    border-radius: 8px; /* Maintain rounded corners */
  }
}

/* Fullscreen Modal for Mobile */
@media (max-width: 768px) {
  .modal-content {
    width: 100%; /* Full width */
    height: auto; /*100vh; /* Full height of the viewport */
    max-width: none; /* Remove max-width restriction */
    border-radius: 0; /* Remove rounded corners for full-screen effect */
    margin: 0; /* Remove any margins */
  }

  .modal {
    padding: 0; /* Remove padding around the modal container */
  }
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
}

.modal-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  text-align: left;
}

/* Collapsible Section */
.collapsible-section {
  margin-bottom: 15px;
}

.collapsible {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  /* background: #f9f9f9; */
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  width: 100%;
  transition: background 0.3s ease;
  border-bottom: 1px solid #ddd;
}

.collapsible:hover {
  background: #f1f1f1;
}

.collapsible:focus {
  outline: none;
}

.collapsible .icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.collapsible.active .icon {
  transform: rotate(90deg);
}

.collapsible-content {
  display: none;
  padding: 10px 15px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

/* Modal Lock */
body.modal-open {
  overflow: hidden;
}

/* Option Images */
.option-images {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* Adjusted spacing between options */
  margin-top: 10px;
}

.option-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 120px;
  cursor: pointer;
}

.option-image {
  max-width: 100px;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 8px; /* Spacing below the image */
}

.option-item:hover .option-image {
  transform: scale(1.05);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Inline Radio Button and Label */
.option-radio-wrapper {
  display: flex;
  align-items: center; /* Vertically center radio and label */
  justify-content: center; /* Center-align under the image */
  width: 100%; /* Ensure full width for alignment */
  gap: 5px; /* Space between radio and label */
}

.option-radio {
  transform: scale(0.9); /* Slightly smaller radio button */
}

.option-label {
  font-size: 14px;
  font-weight: normal;
  cursor: pointer; /* Add pointer cursor for interactivity */
  text-align: center;
}

/* Selected Option Highlight */
.option-item input:checked + .option-image {
  outline: 2px solid #007bff; /* Highlight for the selected option */
  box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.5);
}

/* Section Label */
.section-label {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  text-align: left;
  display: block;
}

/* Submit Button */
.submit-button {
  display: inline-block;
  background-color: #000; /* Black background */
  color: #fff; /* White text */
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #333; /* Dark gray on hover */
}

/* Close button */
.closeModal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.closeModal:hover,
.closeModal:focus {
  color: black;
  text-decoration: none;
}

/* Section Description */
.section-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  text-align: left;
  line-height: 1.4;
}

/* Fabric Picker Modal */
.fabric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  max-height: 400px;
  overflow-y: auto;
}

.fabric-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.fabric-option:hover {
  transform: scale(1.05);
}

.fabric-option.active .fabric-swatch {
  outline: 3px solid #007bff; /* Highlight the selected swatch */
  outline-offset: 3px; /* Adds spacing between the swatch and the outline */
  border-radius: 4px; /* Matches rounded edges of the swatch */
  box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3); /* Adds a subtle glow effect */
}

.fabric-option:hover .fabric-swatch {
  transform: scale(1.05); /* Slightly enlarges the swatch on hover */
  transition: transform 0.2s ease-in-out; /* Smooth hover animation */
  cursor: pointer; /* Indicates interactivity */
}


.fabric-swatch {
  max-width: 100px;
  height: auto;
  border-radius: 5px;
  margin-bottom: 5px;
}

.fabric-label {
  font-size: 14px;
  font-weight: normal;
  text-align: center;
}

/* Selected Fabric Section */
.selected-fabric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px; /* Space between elements */
  margin-top: 20px; /* Add spacing above the section */
}

.selected-fabric img {
  max-width: 100px; /* Adjust size as needed */
  height: auto; /* Maintain aspect ratio */
  border-radius: 4px; /* Optional: rounded corners for the image */
  border: 2px solid #ccc; /* Optional: border around the image */
}

.selected-fabric-text {
  font-size: 14px;
  color: #333;
  margin: 0;
}
/* 
.customize-button {
  padding: 10px 20px;
  font-size: 14px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.customize-button:hover {
  background-color: #0056b3; /* Slightly darker on hover */
} */

/* Fabric Picker Modal */
#fabricPickerModal .fabric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Responsive columns */
  gap: 15px; /* Space between items */
  max-height: 400px; /* Limit the height of the grid */
  overflow-y: auto; /* Enable scrolling if there are too many items */
  padding: 10px; /* Add padding around the grid */
}

#fabricPickerModal .fabric-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

#fabricPickerModal .fabric-swatch {
  max-width: 100%;
  max-height: 100px; /* Adjust to fit within grid cell */
  object-fit: contain; /* Ensure images scale while keeping aspect ratio */
  border-radius: 4px; /* Optional: rounded corners for a polished look */
}

#fabricPickerModal .fabric-option:hover .fabric-swatch {
  transform: scale(1.05); /* Slight zoom on hover */
  transition: transform 0.2s ease-in-out;
}

#fabricPickerModal .fabric-label {
  margin-top: 5px;
  font-size: 14px;
  color: #333;
}

/* Scrollbar for the modal (optional customization) */
#fabricPickerModal .fabric-grid::-webkit-scrollbar {
  width: 8px;
}

#fabricPickerModal .fabric-grid::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

#fabricPickerModal .fabric-grid::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

/* Lining Picker Modal */
.lining-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Responsive columns */
  gap: 15px; /* Space between items */
  max-height: 400px; /* Limit the height of the grid */
  overflow-y: auto; /* Enable scrolling if there are too many items */
  padding: 10px; /* Add padding around the grid */
}

.lining-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.lining-swatch {
  max-width: 100%;
  max-height: 100px; /* Adjust to fit within grid cell */
  object-fit: contain; /* Ensure images scale while keeping aspect ratio */
  border-radius: 4px; /* Optional: rounded corners for a polished look */
}

.lining-option:hover .lining-swatch {
  transform: scale(1.05); /* Slight zoom on hover */
  transition: transform 0.2s ease-in-out;
}

.lining-label {
  margin-top: 5px;
  font-size: 14px;
  color: #333;
}

/* Highlight selected lining option */
.lining-option.active .lining-swatch {
  outline: 3px solid #007bff; /* Highlight the selected swatch */
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
}

/* Loader Animation */
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
}

.loader::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.measurement-section {
  margin-bottom: 20px;
}

.measurement-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.measurement-section label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 10px;
}

.measurement-section input {
  width: 80px;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.measurement-info {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
  line-height: 1.4;
}

.measurement-info a {
  color: #007bff;
  text-decoration: underline;
}

.measurement-info a:hover {
  color: #0056b3;
}


/* Measurements Modal Styling */
.measurements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.measurement-group {
  display: flex;
  flex-direction: column;
}

.measurement-group label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 3px;
}

.measurement-group input {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

/* Responsive */
@media (max-width: 600px) {
  .measurements-grid {
    grid-template-columns: 1fr;
  }
}

.revert-button {
  display: inline-block;
  background-color: #f4f4f4;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 10px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.revert-button:hover {
  background-color: #e6e6e6;
}

.save-add-cart-button {
  display: inline-block;
  background-color: #transparent;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 10px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.save-add-cart-button:hover {
  background-color: #e6e6e6;
}

/* .customization-line {
  font-size: 0.9rem;
  color: #555;
  margin: 6px 0;
  line-height: 1.4;
}

.customization-pair strong {
  font-weight: 600;
} */

.edit-customization-button {
  background-color: #000;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.edit-customization-button:hover {
  background-color: #333;
}

.customization-hint {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #555;
  font-style: italic;
}

.option-images {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.option-item {
  width: 160px;
  text-align: center;
  flex-shrink: 0;
}

.option-item label {
  display: block;
  cursor: pointer;
}

.option-radio-wrapper {
  margin-top: 8px;
}

.option-label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.option-description {
  font-size: 13px;
  line-height: 1.4;
  margin-top: 8px;
  color: #333;
}

