/** Shopify CDN: Minification failed

Line 608:55 Comments in CSS use "/* ... */" instead of "//"
Line 796:6 Expected ":"

**/
div .tab_group { margin-top: 40px;}
div .folders { margin-bottom: 20px;}
div .tabs { align-items: center; 
  display: block;
}
#folder { margin-top: 0; 
  padding: 15px; 
  border: 1px solid #ccc;
}
#template, #front, #back {
  display: inline-block; 
  padding: 10px 20px; 
  border: 1px solid #ccc; 
  border-bottom: none; 
  border-radius: 5px 5px 0 0; 
  cursor: pointer; 
}
#default-image.product__media.media {
  max-width: 700px;
  max-height: 700px;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding-bottom: 0 !important; /* Overrides default Dawn percentage padding */
}
#default-image > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.designer-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 700px;
  height: 700px;
  z-index: 999; 
  pointer-events: none; 
  display: block !important;
}
#popup-overlay-url {
  position: absolute;
  top: 0;
  left: 0;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  z-index: 9999;
  transform-origin: center center !important; 
  user-select: none !important;
  -webkit-user-drag: none !important;
}
.designer-img-overlay #popup-overlay-url {
  pointer-events: auto !important; 
  cursor: move !important; 
}
.designer-img-overlay img.is-active {
  opacity: 1;
  visibility: visible;
}
.designer-img-overlay-baked {
  position: absolute;
  top: 0;
  left: 0; 
  width: 100%; 
  height: 100%; 
  z-index: 2; 
  pointer-events: none;
  display: flex !important;
  justify-content: center;
  align-items: center;
}
.designer-img-overlay-baked img {
  width: 93%;
  height: auto;
  max-height: 932%;
}

/* Crop grid */
@keyframes circular-ants {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.crop-mask {
  display: none; 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  width: 85%; 
  height: 85%; 
  transform: translate(-50%, -50%) rotate(0deg); 
  border-radius: 50%; 
  pointer-events: none; 
  z-index: 9999;
  box-shadow: 0 0 0 9999px rgba(255, 51, 51, 0.6); 
  border: 3px dashed #ffffff;
  outline: 3px dashed #000000; /* Layers a black dash right under the white one */
  outline-offset: -3px;        /* Aligns them directly on top of each other */
  animation: circular-ants 120s linear infinite;
}

/* Flip icon */
.flip-overlay-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: auto !important; /* Forces the mouse events to clear layers */
}
.flip-overlay-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  transform: scale(1.08); /* Gives a premium, subtle tactile click pop */
  box-shadow: 0 6px 16px rgba(0,0,0,0.4) !important;
}
.flip-overlay-btn:active:not(:disabled) {
  transform: scale(0.95); /* Click indentation feedback */
}
.flip-overlay-btn:disabled {
  opacity: 0 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

/* Layer thumbnails and grayscale/saturation switch */
.switch-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
}
#canvas-layer-strip-wrapper {
  flex-grow: 1;
  padding: 12px;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: row;
  align-items: center;
  overflow-x: auto; 
  overflow-y: hidden;
  gap: 8px;
}
.layer-strip-card {
  position: relative;
  border: solid 1px #ccc;
  display: flex;
  width: 70px;
  height: 100%;
  flex-shrink: 0;
}
.icon-layer {
  width: 100%;
  max-width: auto;
  max-height: auto;
  height: 100%;
  object-fit: contain;
  display: block;
}
.delete-layer {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(90%, -50%);
  width: 20px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.6); 
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  z-index: 10; /* Ensures it stays stacked on top of the image */
  transition: background-color 0.2s ease;
}
.toggle-control-item {
   display: flex;
   align-items: center;
   gap: 8px; 
   flex-shrink: 0;
   margin-left: auto;
}

.desaturated {
  filter: grayscale(100%);
}
.toggle-input {
  display: none;
  margin: 0px !important;
  visibility: hidden;
}
.toggle-button {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  background-color: #ccc;
  border-radius: 34px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.slide-switch {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.toggle-input:checked + .toggle-button {
  background-color: #2196F3;
}
.toggle-input:checked + .toggle-button .slide-switch {
  transform: translateX(26px);
}
.toggle-label-text {
  font-family: sans-serif;
  font-size: 14px;
  color: #333;
  user-select: none;
}

input[type="range"] {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 282px; 
  vertical-align: middle; 
  flex-shrink: 0;
  accent-color: #009bbf;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;                            
    max-width: 1200px;                    
    margin: 20px auto;                     
    padding: 0 20px;
}
.icon-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.icon-wrapper {
    margin-bottom: 10px;
    color: #3b82f6;        
}
.icon-wrapper svg {
    width: 108px;           
    height: 108px;
    object-fit: contain;
}
.icon-title {
    font-size: 17px;
    margin: 0 0 4px 0;
    color: #1f2937;
}
.icon-description {
    font-size: 12px;
    color: #4b5563;
    margin: 0;
}

.help > li {
    font-size: 13px;
}
.prompt-instructions {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid #e9ecef;
    border-left: 4px solid #dc3545;
    border-radius: 6px;
    padding: 0px 15px 10px 15px;
    margin: 5px 0;
    max-width: 550px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
h4.instructions-title {
    color: #212529;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0 8px 0px;
}
.instructions-intro {
    color: #495057;
    font-size: 1rem;
    line-height: 1.2;
}
.instructions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4;
    color: #495057;
}
.list-item:last-child {
    margin-bottom: 0;
}
.list-item .icon {
    margin-right: 10px;
    font-size: 1.3rem;
    flex-shrink: 0;
    line-height: 1.2;
}
#text-trigger {
  display: none;
}
#clear-tab {
  display: none;
}
input[type="radio"] {
   display: none !important; 
}
input[type="radio"]:checked + label {
 color: rgba(var(--color-foreground), 0.90); 
 font-weight: bold; 
}
.input_container {
  align-items: center; 
  display: flex; 
  gap: 8px; 
  border: solid 1px; 
  padding: 5px;
}
.icon_input { 
  border: none;
  display: flex;
}
.icon_input:focus {
  display: none;
}
.icon_container {
  display: grid; 
  visibility: hidden;
}
.icon_container > label { 
  grid-area: 1 / 1;
}
#icon_front { 
  z-index: 2;
}
#icon_back {
  z-index: 1;
}
.click_icon:hover {
  cursor: pointer;
  transform: scale(1.2); 
  transition: all 0.4s ease;
}
.icon_box { 
  display: flex; 
  justify-content: 
  center; align-items:
  center; width: 32px;
  height: 32px;
}
.image_upload { 
  position: absolute; 
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0, 0, 0, 0); 
  border: 0;
}
.ai_block {
  display: none;
  margin: 10px 0 0;
}
.ai_prompt_container {
  position: relative;
}
.textarea_label {
  display: inline-block;
  margin: 10px 0 2px 0;
} 
textarea::placeholder {
  color: rgba(var(--color-foreground), 0.60);
  padding: 0 5px;
}
.ai_prompt_ta, .icon_input {
  display: block;
  font-size: 1.4rem;
  overflow: hidden;
  padding: 10px;
  width: 100%;
}
.ta_container {
  position: relative;
  display: inline-block;
}
.ta_container textarea {
  padding-bottom: 36px; 
  padding-right: 36px;
  box-sizing: border-box;
}
.label-link {
  font-size: 1.4rem;
}
.label-link a:hover {
  color: rgb(var(--color-link));
  text-decoration-thickness: 0.2rem;
}
.close-btn {
  cursor: pointer; 
  border: none; 
  background: #333; 
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
}
.hidden {
  visibility: hidden;
  pointer-events: none;
}
.is-hidden-block {
  display: none !important;
}

/* Resolution Accordion */
/* --- Dawn 16.0 Custom Accordion Interactive List Styles --- */
.product__accordion .accordion__content.rte ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 1rem 0 0 0 !important;
}

.product__accordion .accordion__content.rte ul li.resolutions-interactive-item {
  list-style: none !important;
  display: block !important;
  padding: 1.2rem 1.6rem !important;
  margin-bottom: 0.8rem !important;
  border: 1px solid rgba(var(--color-foreground), 0.15);
  border-radius: var(--popup-corner-radius, 4px);
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.2s ease-in-out;
  background-color: transparent;
  color: rgb(var(--color-foreground));
  position: relative;
}

/* Hover States */
.product__accordion .accordion__content.rte ul li.resolutions-interactive-item:hover:not(.tier-locked-out) {
  background-color: rgba(var(--color-foreground), 0.04);
  border-color: rgba(var(--color-foreground), 0.4);
  transform: translateX(3px);
}

/* Active / Selected Item State */
.product__accordion .accordion__content.rte ul li.resolutions-interactive-item.is-active-tier {
  background-color: rgba(var(--color-foreground), 0.06) !important;
  border-color: rgb(var(--color-button)) !important;
  border-left: 5px solid rgb(var(--color-button)) !important;
  font-weight: bold;
}

/* Gated / Locked Tier Visuals */
.product__accordion .accordion__content.rte ul li.resolutions-interactive-item.tier-locked-out {
  opacity: 0.45;
  cursor: not-allowed !important;
  background-color: rgba(var(--color-foreground), 0.02) !important;
  border-color: rgba(var(--color-foreground), 0.1) !important;
}
.product__accordion .accordion__content.rte ul li.resolutions-interactive-item.tier-locked-out:hover {
  transform: none !important;
}


/* AI animated icon setup */
.icon-ai-submit {
  position: absolute;
  bottom: 0;
  right: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
/* Icon pulses and shifts color exactly 3 times, then stays at rest */
.icon-ai-submit.pulse {
  animation: aiPulse 1s ease-in-out 2; 
}
@keyframes aiPulse {
  0% { transform: scale(1); stroke: #009bbf; }
  50% { transform: scale(1.3); stroke: #ff007f; }
  100% { transform: scale(1); stroke: #009bbf; }
}
.icon-ai-submit.pulse::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid #ff007f;
  border-radius: 50%;
  pointer-events: none;
  animation: radarWave 1s cubic-bezier(0.1, 0.8, 0.3, 1) 3;
}
@keyframes simple-rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes simple-pulse {
  0% { transform: translate(-50%, -50%) scale(0.1); opacity: 1; }
  50% { opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}
.image-radar.hidden {
  display: none !important;
}
.carousel-nav-controls {
  margin: 10px;
  text-align: center;
}
.control-group {
  padding: 0 0 20px 12px;
}
.review-container {
  margin: 20px 0 40px 0 !important;
}
.image-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}
.image-popup-content {
  background: #fefefe;
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.15);
  padding: 30px 20px 32px; 
}
#clipart-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  padding: 0 15px 0 0;
  max-height: 500px;
}
.template-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr);
  gap: 12px; 
}
figcaption { 
  font-size: 1.4rem; 
  text-align: center; 
}
.thumbnail-image {
  aspect-ratio: 1 / 1;
  background-color: #ffffff; 
  /* Match the sizing of the checkerboard squares (16px wide/tall) */
  background-image: conic-gradient(
    #e2e2e2 25%, transparent 0 50%, 
    #e2e2e2 0 75%, transparent 0
  );
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px; //shift the layers
  border: 2px solid #e0e0e0;
  border-radius: 3px;
  box-sizing: border-box;
  cursor: pointer;
  object-fit: cover;
  padding: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  width: 100%;
}
.thumbnail-image.inverted-checkerboard.no-png-collapse {
  background-color: #7f7f7f !important; /* The dark charcoal base */
  background-image: conic-gradient(
    #999 25%, transparent 0 50%, 
    #999 0 75%, transparent 0
  ) !important;
  border-color: #1a1b1c !important; 
  object-fit :  contain !important;
}
.thumbnail-image:hover {
  transition: all 0.5s ease; 
  border: solid 5px rgba(5, 134, 48, 0.90) ;
  transform: scale(1.05);
}
.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border-top: 1px solid #eeeeee;
}
.pagination-controls button {
  padding: 8px 16px;
  background-color: #111111;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.pagination-controls button:disabled {
  visibility: hidden;
}
#page-indicator {
  font-size: 14px;
  font-weight: 600;
  color: #555555;
}
.close { 
  float: right; 
  font-size: 2.5rem; 
  cursor: pointer; 
}

/* Clipart popup menu */
p.filmstrip {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 16px 0 !important;
  padding: 0 0 8px 0 !important;
  border-bottom: 1px solid #ccc !important;
  white-space: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  text-align: left !important;
  -webkit-overflow-scrolling: touch !important;
}
p.filmstrip::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
p.filmstrip button.link.category-tab {
  display: inline-block !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 8px 0 0 !important;
  cursor: pointer;
  white-space: nowrap !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  text-decoration: none !important;
  opacity: 0.45 !important; 
  transition: opacity 0.15s ease;
}
p.filmstrip button.link.category-tab:last-child {
  margin-right: 0 !important;
}
p.filmstrip button.link.category-tab:hover {
  opacity: 0.85 !important;
}
p.filmstrip button.link.category-tab.active {
  opacity: 1 !important; /* Brings the active item to full, crisp color vibrancy */
  font-weight: bold !important;
  
  /* Enforces the selective link underline look on the active category only */
  text-decoration: underline !important;
  text-underline-offset: 4px !important; 
  text-decoration-thickness: 1.5px !important;
}

/* AI HANDLER CSS */
.ai-popup {
  position: fixed; 
  inset: 0; 
  background-color: rgba(0,0,0,0.5);
  z-index: 10000;
  display: none;
  align-items: center; 
  justify-content: center; 
  backdrop-filter: blur(4px);
}
.ai-popup-content {
  background: #fefefe; 
  padding: 25px; 
  border-radius: 8px; 
  max-width: 700px; 
  width: 90%; 
  text-align: center; 
  border: 1px solid #333;
}
.ai-canvas {
  background: #e0e0e0;
  margin-bottom: 10px;
}
.ai-image {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}
@keyframes radarWave {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
.image-radar {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 99999 !important;
  pointer-events: none !important;
}
.image-radar > div {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 250px !important;
  height: 250px !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  display: block !important; /* Force browser box-model generation */
}
.radar-beam {
  border: 4px solid #009bbf !important;
  border-top-color: transparent !important; /* Creates a spinning crescent wedge */
  border-bottom-color: transparent !important;
  background-color: rgba(0, 155, 191, 0.15) !important; /* Solid tinted fallback fill */
  animation: simple-rotate 2s linear infinite !important;
}
.radar-ring {
  border: 3px solid #009bbf !important;
  background: transparent !important;
  opacity: 0 !important;
  animation: simple-pulse 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) infinite !important;
}
.radar-ring.ring-2 {
  animation-delay: 1.25s !important;
}
.disable-ai-confirm {
  pointer-events: none; 
  opacity: 0.5;         
  cursor: not-allowed;  
}  
button {
  padding: 8px 16px;
  background-color: #111;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 0px 8px;
  flex 1;
}
.approve {
  margin-top: 1.5rem;
}  
.reject {
    background: #ff4d4d; 
    color: #fff; 
    border: 1px solid #ff4d4d;
}
a.is-disabled {
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.5;
  text-decoration: none;
}

/* showToast popup */
.ragmill-toast {
  display: flex;
  align-items: center;
  gap: 14px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #009bbf;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 8px;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 999999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  letter-spacing: 0.5px;
}
.ragmill-toast.show { opacity: 1; transform: translateY(0); }
.ragmill-toast.toast-error { background: #cc0000; border: 1px solid #ff3333; }
.ragmill-toast strong { color: #ff5500; }

/* Strict vector width controls to isolate icon layouts side-by-side with text strings */
.ragmill-toast .toast-icon-container {
  width: 24px;
  height: 24px;
  flex-shrink: 0; /* Keeps vector parameters square even with long wrapped text sentences */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Forces raw SVG objects to perfectly occupy your 24px space limits */
.ragmill-toast .toast-icon-container svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Automatically forces stroke paths to show white over both dark and red backgrounds */
.ragmill-toast .toast-icon-container svg path,
.ragmill-toast .toast-icon-container svg [stroke] {
  stroke: #ffffff !important;
}

.toast-text-wrapper {
  display: block;
  line-height: 1.4;
}
