/** Shopify CDN: Minification failed

Line 1036:2 Expected "}" to go with "{"

**/
/* Meta Fields Styles */
.product-meta-fields {
  .product-meta-fields {
    margin: px 0;
    padding: px;
    border-radius: 12px;

}

.product-meta-fields::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6c757d 0%, #adb5bd 50%, #ced4da 100%);
  border-radius: 12px 12px 0 0;
}

.meta-field-group {
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.meta-field-group:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #ced4da;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.meta-field-group:last-child {
  margin-bottom: 0;
}

.meta-field-label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: #000000;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

/* Book Title Icon */
.meta-field-label[for="book-title"]::before {
  content: '📖';
  margin-right: 8px;
  font-size: 16px;
}



/* Gender Icon */
.meta-field-label[for="gender"]::before {
  content: '⚧';
  margin-right: 8px;
  font-size: 16px;
}


/* Image Upload Icon */
.meta-field-label[for="child-images"]::before {
  content: '📸';
  margin-right: 8px;
  font-size: 16px;
}

.meta-field-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  color: #000000;
  font-family: inherit;
}

.meta-field-input:focus {
  outline: none;
  border-color: #6c757d;
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
  background: #fff;
}

.meta-field-input::placeholder {
  color: #000000;
  font-style: italic;
}

.meta-field-help {
  display: block;
  font-size: 12px;
  color: #000000;
  margin-top: 5px;
  font-style: italic;
}

/* Upload Container Styles */
.upload-container {
  margin-bottom: 15px;
  position: relative;
}

.upload-instructions {
  margin-top: 10px;
  padding: 12px;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.upload-instructions p {
  margin: 5px 0;
  color: #000000;
  font-size: 13px;
  line-height: 1.4;
}

.upload-instructions p:first-child {
  color: #000000;
  font-weight: 600;
}

.upload-instructions p:last-child {
  color: #000000;
  font-weight: 600;
  font-size: 14px;
}

#current-image-count {
  color: #495057;
  font-weight: bold;
}

/* File Upload Styles */
.file-input {
  padding: 12px;
  border: 2px dashed #dee2e6;
  background: rgba(248, 249, 250, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input:hover {
  border-color: #6c757d;
  background: rgba(248, 249, 250, 0.8);
}

.file-input:focus {
  border-color: #6c757d;
  background: #fff;
}

/* Hidden Image Guide Link */
.hidden-image-guide-link {
  position: absolute;
  top: -8px;
  right: 8px;
  padding: 4px 8px;
  background: transparent;
  color: #6c757d;
  border: none;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  opacity: 0.7;
}

.hidden-image-guide-link:hover {
  opacity: 1;
  color: #495057;
  background: rgba(108, 117, 125, 0.1);
}

/* Image Preview Styles */
.image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border: 1px solid #e9ecef;
  min-height: 60px;
}

/* Specific layout for uploader row */
.image-preview-container.upload-preview-grid {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

/* Uploader tile defaults */
.upload-tile {
  width: 86px;
  height: 86px;
  border: 1px dashed var(--colorBorder, #d9d9d9);
  border-radius: 6px;
  background: var(--previewSlotBg, #f7f7f7);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--colorTextBody, #333);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #dee2e6;
  transition: all 0.3s ease;
}

.image-preview-item:hover {
  border-color: #6c757d;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-remove {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.image-preview-remove:hover {
  background: #c82333;
  transform: scale(1.1);
}

/* Size Guide Styles */
.size-guide-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.size-guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.size-guide-btn {
  padding: 12px 24px;
  background: #3498db;
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.size-guide-btn:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Modal Styles */
.size-guide-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
}

.size-guide-modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.size-guide-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  transition: color 0.3s ease;
}

.size-guide-modal-close:hover {
  color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-meta-fields {
    padding: 20px;
    margin: 15px 0;
  }
  
  .meta-field-input {
    padding: 12px 14px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .image-preview-container {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
  }
  
  .image-preview-item {
    width: 70px;
    height: 70px;
  }
  
  .size-guide-modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 15px;
  }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
  .product-meta-fields {
    background: transparent);
    border-color:;
  }
  
  .meta-field-group {
    background: rgba(135, 241, 218, 0.7);
    border-color: rgba(75, 100, 72, 0.3);
  }
  
  .meta-field-group:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(108, 117, 125, 0.5);
  }
  
  .meta-field-label {
    color:rgb(0, 0, 0);
  }
  
  .meta-field-input {
    background: #ffffff;
    border-color: #6c757d;
    color:rgb(0, 0, 0);
  }
  
  .meta-field-input:focus {
    border-color: #adb5bd;
    background: #93c1f0;
  }
  
  .meta-field-help {
    color: #000000;
  }
  
  .upload-instructions {
    background: rgba(150, 196, 241, 0.8);
    border-color: rgba(0, 0, 0, 0.4);
  }
  
  .upload-instructions p {
    color: #000000;
  }
  
  .upload-instructions p:first-child {
    color: #000000;
  }
  
  .upload-instructions p:last-child {
    color: #000000;
  }
  
  #current-image-count {
    color: #000000;
  }
  
  .file-input {
    background: rgba(255, 255, 255, 0.6);
    border-color: #000000;
  }
  
  .file-input:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: #adb5bd;
  }
  
  .file-input:focus {
    background: #ffffff;
    border-color: #adb5bd;
  }
  
  .image-preview-container {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(108, 117, 125, 0.3);
  }
  
  .image-preview-item {
    border-color: rgba(108, 117, 125, 0.4);
  }
  
  .image-preview-item:hover {
    border-color: #adb5bd;
  }
  
  .image-guide-container {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(2, 2, 2, 0.3);
  }
  
  .radio-custom {
    background: #ffffff;
    border-color: #000000;
  }
  
  .radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #adb5bd;
    background: #adb5bd;
  }
}

/* Required Field Indicator */
.meta-field-label[for*="book-title"]::after,
.meta-field-label[for*="child-name"]::after,
.meta-field-label[for*="child-gender"]::after,
.meta-field-label[for*="book-theme"]::after {
  content: " *";
  color: #e74c3c;
  font-weight: bold;
} 

/* Radio Button Styles */
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #2c5aa0;
  transition: all 0.3s ease;
}

.radio-option:hover {
  color: #28a745;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #28a745;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
  background: #fff;
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: #17a2b8;
  background: #17a2b8;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.radio-option input[type="radio"]:focus + .radio-custom {
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
}

/* Responsive Radio Buttons */
@media (max-width: 768px) {
  .radio-group {
    flex-direction: column;
    gap: 12px;
  }
  
  .radio-option {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Dark Theme Support for Radio Buttons */
@media (prefers-color-scheme: dark) {
  .radio-option {
    color:rgb(0, 0, 0);
  }
  
  .radio-custom {
    background: #34495e;
    border-color: #7f8c8d;
  }
  
  .radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #3498db;
    background: #3498db;
  }
} 

/* Upload Options Styles */
.upload-options {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.upload-btn {
  padding: 12px 20px;
  border: 2px solid #3498db;
  background: #fff;
  color: #3498db;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upload-btn:hover {
  background: #3498db;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.single-upload-btn {
  border-color: #27ae60;
  color: #27ae60;
}

.single-upload-btn:hover {
  background: #27ae60;
  color: #fff;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.bulk-upload-btn {
  border-color: #e67e22;
  color: #e67e22;
}

.bulk-upload-btn:hover {
  background: #e67e22;
  color: #fff;
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

/* Upload Modal Styles */
.upload-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
}

.upload-modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.upload-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.upload-modal-close:hover {
  color: #000;
}

.upload-modal-content h3 {
  margin: 0 0 20px 0;
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
}

.upload-modal-content input[type="file"] {
  width: 100%;
  padding: 15px;
  border: 2px dashed #3498db;
  border-radius: 8px;
  background: #f8f9ff;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-modal-content input[type="file"]:hover {
  border-color: #2980b9;
  background: #e8f4fd;
}

.single-preview-container,
.bulk-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin: 15px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  min-height: 60px;
}

.add-image-btn,
.add-images-btn {
  padding: 12px 24px;
  background: #27ae60;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  margin-top: 15px;
}

.add-image-btn:hover,
.add-images-btn:hover {
  background: #229954;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Image Guide Styles */
.image-guide-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.image-guide-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.image-guide-btn:hover {
  background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Image Guide Modal */
.image-guide-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
}

.image-guide-modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.image-guide-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.image-guide-modal-close:hover {
  color: #000;
}

.image-guide-content {
  margin-top: 20px;
}

.image-guide-image {
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(240, 248, 255, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.image-guide-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-guide-content h3 {
  color: #2c5aa0;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.image-guide-content ul {
  margin: 0;
  padding-left: 20px;
  color: #6c757d;
  font-size: 14px;
}

.image-guide-content li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.image-guide-content strong {
  color: #2c5aa0;
}

/* Responsive Design for Upload */
@media (max-width: 768px) {
  .upload-options {
    flex-direction: column;
    gap: 10px;
  }
  
  .upload-btn {
    padding: 14px 20px;
    font-size: 16px;
  }
  
  .upload-modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 20px;
  }
  
  .single-preview-container,
  .bulk-preview-container {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
  }
}

/* Dark Theme Support for Upload */
@media (prefers-color-scheme: dark) {
  .upload-modal-content,
  .image-guide-modal-content {
    background: #2c3e50;
    color: #ecf0f1;
  }
  
  .upload-modal-content h3,
  .image-guide-content h3 {
    color: #ecf0f1;
  }
  
  .upload-modal-content input[type="file"] {
    background: #34495e;
    border-color: #7f8c8d;
  }
  
  .single-preview-container,
  .bulk-preview-container {
    background: #34495e;
    border-color: #7f8c8d;
  }
  
  .image-guide-container {
    background: #34495e;
    border-color: #7f8c8d;
  }
} 

/* Cart Image Data Display */
.cart__item--properties {
  margin: 5px 0;
  font-size: 13px;
  color: #666;
}

.cart__item--properties span {
  font-weight: 600;
  color: #333;
}

/* Special styling for image data */
.cart__item--properties:has(span:contains("Child Images Data")) {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid #3498db;
  margin: 10px 0;
}

.cart__item--properties:has(span:contains("Image Count")) {
  font-size: 12px;
  color: #27ae60;
  font-weight: 600;
}

/* Image data display in cart */
.image-data-display {
  font-family: monospace;
  font-size: 12px;
  background: #f1f3f4;
  padding: 8px;
  border-radius: 4px;
  margin: 5px 0;
  word-break: break-all;
  line-height: 1.4;
}

.cart-item-images {
  margin: 10px 0;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.cart-item-images strong {
  color: #2c3e50;
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}

.cart-item-images small {
  color: #27ae60;
  font-weight: 600;
}

/* Dark theme support for cart */
@media (prefers-color-scheme: dark) {
  .cart__item--properties {
    color: #bdc3c7;
  }
  
  .cart__item--properties span {
    color: #ecf0f1;
  }
  
  .cart__item--properties:has(span:contains("Child Images Data")) {
    background: #34495e;
    border-left-color: #3498db;
  }
  
  .image-data-display {
    background: #2c3e50;
    color: #ecf0f1;
  }
  
  .cart-item-images {
    background: #34495e;
    border-color: #7f8c8d;
  }
  
  .cart-item-images strong {
    color: #ecf0f1;
  }
} 

/* Image Guide Link Styles */
.image-guide-link {
  margin-top: 10px;
}

.image-guide-link-btn {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(23, 162, 184, 0.2);
}

.image-guide-link-btn:hover {
  background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
  color: white;
  text-decoration: none;
}

.image-guide-link-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.2);
}

/* Dark theme support for image guide link */
@media (prefers-color-scheme: dark) {
  .image-guide-link-btn {
    background: #f39c12;
    color: white;
  }
  
  .image-guide-link-btn:hover {
    background: #e67e22;
    color: white;
  }
} 