/**
 * Virtual Try-On CSS - Modern Redesign v3
 */

/* Base variables (can be overridden by themes) */
:root {
    --goweb_ai_tryon-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --goweb_ai_tryon-border-radius-medium: 8px;
    --goweb_ai_tryon-border-radius-large: 12px;
    --goweb_ai_tryon-transition-duration: 0.2s;
}

/* Reset / Base styles within modal */
.goweb_ai_tryon-modal *,
.goweb_ai_tryon-modal *::before,
.goweb_ai_tryon-modal *::after {
    box-sizing: border-box;
    font-family: var(--goweb_ai_tryon-font-family);
}

.goweb_ai_tryon-modal h2 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.3;
}


.goweb_ai_tryon-dropdown {
  display: inline;
  position: relative;
  margin-left: 0px;       /* ✅ same as gap */

}

.goweb_ai_tryon-dropdown-menu {
  position: absolute;
  right: 0;
  bottom: 100%; /* dropup feel */
  margin-bottom: 12px;
  list-style: none;
  padding: 6px 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  z-index: 999999;
}

.goweb_ai_tryon-dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
}

.goweb_ai_tryon-dropdown-menu li a:hover {
  background: rgba(0,0,0,.06);
}

.goweb_ai_tryon-caret {
  display: inline-block;
  line-height: 1;
}



.goweb_ai_tryon-modal p {
    margin: 0 0 1em 0;
    line-height: 1.6;
    font-size: 1em;
}

#goweb_ai_tryon-tryon-button {
    margin-top: 6px;
}

/* Modal container */
.goweb_ai_tryon-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0; /* replaces left, top, width, height */
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker overlay */
    padding: 20px; /* Add padding for small screens */
    align-items: center;
    justify-content: center;
}

/* Modal content styling */
.goweb_ai_tryon-modal-content {
    position: relative;
    margin: auto; /* Centered by flex container */
    padding: 30px; /* Increased padding */
    border-radius: var(--goweb_ai_tryon-border-radius-large);
    width: 100%;
    max-width: 550px; /* Slightly adjusted max-width */
    animation: goweb_ai_tryon-fade-in-scale 0.3s ease-out;
    transition: background-color var(--goweb_ai_tryon-transition-duration) ease, color var(--goweb_ai_tryon-transition-duration) ease;
}

@keyframes goweb_ai_tryon-fade-in-scale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Close button */
.goweb_ai_tryon-close {
    position: absolute;
    top: 15px; /* Adjust position */
    right: 15px; /* Adjust position */
    font-size: 1.8em; /* Larger, clearer */
    font-weight: 300; /* Lighter weight */
    line-height: 1;
    cursor: pointer;
    padding: 5px;
    border: none;
    background: transparent;
    transition: color var(--goweb_ai_tryon-transition-duration) ease, transform var(--goweb_ai_tryon-transition-duration) ease;
}
.goweb_ai_tryon-close:hover {
    transform: scale(1.1);
}

/* Header */
.goweb_ai_tryon-modal-header {
    margin-bottom: 25px; /* Increased spacing */
    padding-bottom: 15px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

/* Body / Views */
.goweb_ai_tryon-modal-body {
    min-height: auto !important;
}

.goweb_ai_tryon-view {
    text-align: center;
}

.goweb_ai_tryon-restrictions {
    font-size: 0.9em; /* Slightly smaller */
    margin-bottom: 25px;
    opacity: 0.8;
}

/* File Input - Enhanced */
.goweb_ai_tryon-file-input {
    display: flex;
    flex-direction: column; /* Stack elements */
    align-items: center;
    justify-content: center;
    border-width: 2px;
    border-style: dashed;
    border-radius: var(--goweb_ai_tryon-border-radius-medium);
    padding: 30px 20px;
    margin-bottom: 25px;
    cursor: pointer;
    transition: border-color var(--goweb_ai_tryon-transition-duration) ease, background-color var(--goweb_ai_tryon-transition-duration) ease;
}


.goweb_ai_tryon-file-input input[type="file"] {
    /* Visually hidden, accessible */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Custom label acting as the button within the dashed area */
.goweb_ai_tryon-file-input label.button {
    /* Button styles are applied below */
    margin-bottom: 10px; /* Space between button and text */
}

#goweb_ai_tryon-file-name {
    font-size: 0.9em;
    margin-top: 5px;
    display: block; /* Ensure it takes full width */
    opacity: 0.8;
}

/* Image Preview Styling */
#goweb_ai_tryon-image-preview-container {
    position: relative; /* For positioning the remove button */
    width: 100%;
    max-width: 200px; /* Or adjust as needed */
  }

#goweb_ai_tryon-image-preview {
    display: block;
    width: 100%;
    height: auto;
    max-height: 200px; /* Control max preview height */
    object-fit: cover; /* Or 'contain' based on preference */
    border-radius: var(--goweb_ai_tryon-border-radius-medium);
    border-style: solid;
    border-width: 1px;
    /* Border color will be inherited or can be set in themes */
}

.goweb_ai_tryon-remove-image-button {
    position: absolute;
    top: 5px; /* Inset slightly from the top */
    right: 5px; /* Inset slightly from the right */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    color: #000; /* Black X for better contrast on image */
    border: none; /* No border */
    border-radius: 50%; /* Keep it circular for a modern look */
    width: 24px; /* Smaller, more standard size */
    height: 24px;
    font-size: 14px; /* Adjusted for new size */
    font-weight: bold;
    line-height: 1; /* Reset line-height */
    display: flex; /* For centering */
    align-items: center; /* Center X vertically */
    justify-content: center; /* Center X horizontally */
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    transition: all var(--goweb_ai_tryon-transition-duration) ease;
    padding: 0; /* Remove padding if using fixed width/height and flex for centering */
}

.goweb_ai_tryon-remove-image-button:hover {
    background-color: rgba(240, 240, 240, 0.9);
    transform: scale(1.1);
}

/* Adjustments for light/dark themes for preview border and remove button */
.goweb_ai_tryon-modal--light #goweb_ai_tryon-image-preview {
    border-color: var(--goweb_ai_tryon-light-border-color, #e0e0e0); /* From existing theme */
}

.goweb_ai_tryon-modal--dark #goweb_ai_tryon-image-preview {
    border-color: var(--goweb_ai_tryon-dark-border-color, #555); /* From existing theme */
}

.goweb_ai_tryon-modal--dark .goweb_ai_tryon-remove-image-button {
    background-color: rgba(40, 40, 40, 0.8); /* Semi-transparent dark */
    color: #fff; /* White X */
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.goweb_ai_tryon-modal--dark .goweb_ai_tryon-remove-image-button:hover {
    background-color: rgba(60, 60, 60, 0.9);
}

/* Button General Styles */
.goweb_ai_tryon-modal .button,
.goweb_ai_tryon-modal .button.alt,
.goweb_ai_tryon-tryon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--goweb_ai_tryon-border-radius-medium);
    font-size: 0.95em;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--goweb_ai_tryon-transition-duration) ease, color var(--goweb_ai_tryon-transition-duration) ease, border-color var(--goweb_ai_tryon-transition-duration) ease, transform var(--goweb_ai_tryon-transition-duration) ease, box-shadow var(--goweb_ai_tryon-transition-duration) ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.07);
}
.goweb_ai_tryon-modal .button:hover,
.goweb_ai_tryon-modal .button.alt:hover,
.goweb_ai_tryon-tryon-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
.goweb_ai_tryon-modal .button:active,
.goweb_ai_tryon-modal .button.alt:active,
.goweb_ai_tryon-tryon-button:active {
    transform: translateY(0px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}



/* Style for the main Virtual Try-On button on the product page (non-modal) */
.goweb_ai_tryon-tryon-button.button.alt {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
}

.goweb_ai_tryon-tryon-button.button.alt:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Loading View */
.goweb_ai_tryon-loading-spinner {
    width: 40px; /* Slightly smaller */
    height: 40px;
    border-width: 4px; /* Thinner border */
    border-style: solid;
    border-radius: 50%;
    margin: 30px auto 20px auto; /* Adjusted margin */
    animation: goweb_ai_tryon-spin 1s linear infinite;
    /* Colors set in themes */
}

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

/* Styling for loading text elements */
.goweb_ai_tryon-loading-text {
    margin-top: 10px;
    font-size: 1.1em;
}

#goweb_ai_tryon-loading-percentage {
    font-weight: 600;
    font-size: 1.5em;
    margin-bottom: 5px; /* Space between percentage and text */
}

/* Result View */


.goweb_ai_tryon-upload-actions{
display:flex;
gap:20px;
flex-wrap:wrap;
    }


.goweb_ai_tryon-result-image-container {
    margin: 20px auto;
    max-width: 100%;
    text-align: center;
}

#goweb_ai_tryon-result-image {
    max-width: 100%;

    height: auto;
    display: block; /* Prevent extra space below */
    margin: 0 auto; /* Center image */
    border-radius: var(--goweb_ai_tryon-border-radius-medium);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.goweb_ai_tryon-watermark-note {
    font-size: 0.8em;
    margin-top: 15px;
    opacity: 0.7;
}

.goweb_ai_tryon-result-actions {
    margin-top: 25px;
}

/* Error View */
.goweb_ai_tryon-error-icon {
    font-size: 3em; /* Adjusted size */
    margin: 20px 0 10px 0;
    opacity: 0.8;
}

#goweb_ai_tryon-error-message {
    margin-bottom: 25px;
    font-weight: 500;
}

/* --- Theme Variants --- */

/* Light Theme */
.goweb_ai_tryon-modal--light .goweb_ai_tryon-modal-content {
    background-color: #f8f9fa; /* Off-white */
    color: #343a40; /* Dark gray text */
}
.goweb_ai_tryon-modal--light .goweb_ai_tryon-modal-header {
    border-bottom-color: #e9ecef; /* Light border */
}
.goweb_ai_tryon-modal--light .goweb_ai_tryon-close {
    color: #6c757d; /* Gray */
}
.goweb_ai_tryon-modal--light .goweb_ai_tryon-close:hover {
    color: #343a40; /* Darker gray on hover */
}
.goweb_ai_tryon-modal--light .goweb_ai_tryon-file-input {
    border-color: #ced4da; /* Light gray dashed border */
    background-color: #ffffff;
}
.goweb_ai_tryon-modal--light .goweb_ai_tryon-file-input:hover {
    border-color: #adb5bd;
    background-color: #fdfdfd;
}
.goweb_ai_tryon-modal--light .button { /* Secondary button - e.g., Upload image, Try Again */
    background-color: #ffffff;
    color: #495057;
    border-color: #ced4da;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.goweb_ai_tryon-modal--light .button:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}
.goweb_ai_tryon-modal--light .button.alt { /* Primary button - e.g., Virtual Try-On */
    background-color: #007bff; /* Primary blue */
    color: #ffffff;
    border-color: #007bff;
    margin-top: 4px;
}
.goweb_ai_tryon-modal--light .button.alt:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
.goweb_ai_tryon-modal--light .goweb_ai_tryon-loading-spinner {
    border-color: #e9ecef; /* Light track */
    border-top-color: #007bff; /* Blue spinner */
}
.goweb_ai_tryon-modal--light #goweb_ai_tryon-error-message {
    color: #dc3545; /* Standard red for errors */
}
.goweb_ai_tryon-modal--light .goweb_ai_tryon-error-icon {
    color: #dc3545;
}

/* Dark Theme */
.goweb_ai_tryon-modal--dark .goweb_ai_tryon-modal-content {
    background-color: #212529; /* Dark charcoal */
    color: #e9ecef; /* Light gray text */
}
.goweb_ai_tryon-modal--dark .goweb_ai_tryon-modal-header {
    border-bottom-color: #495057; /* Darker border */
}

.goweb_ai_tryon-modal--dark .goweb_ai_tryon-modal-header h2 {
    color: #ffffff !important;
}

.goweb_ai_tryon-modal--dark .goweb_ai_tryon-close {
    color: #adb5bd; /* Lighter gray */
}
.goweb_ai_tryon-modal--dark .goweb_ai_tryon-close:hover {
    color: #f8f9fa; /* Off-white on hover */
}
.goweb_ai_tryon-modal--dark .goweb_ai_tryon-file-input {
    border-color: #495057; /* Dark gray dashed border */
    background-color: #343a40; /* Slightly lighter dark shade */
}
.goweb_ai_tryon-modal--dark .goweb_ai_tryon-file-input:hover {
    border-color: #6c757d;
    background-color: #3e444a;
}
.goweb_ai_tryon-modal--dark .button { /* Secondary button */
    background-color: #495057;
    color: #f8f9fa;
    border-color: #6c757d;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.goweb_ai_tryon-modal--dark .button:hover {
    background-color: #5a6268;
    border-color: #adb5bd;
}
.goweb_ai_tryon-modal--dark .button.alt { /* Primary button */
    background-color: #0d6efd; /* Vibrant blue for dark mode */
    color: #ffffff;
    border-color: #0d6efd;
}
.goweb_ai_tryon-modal--dark .button.alt:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
.goweb_ai_tryon-modal--dark .goweb_ai_tryon-loading-spinner {
    border-color: #495057; /* Dark track */
    border-top-color: #0d6efd; /* Blue spinner */
}
.goweb_ai_tryon-modal--dark #goweb_ai_tryon-error-message {
    color: #ff8fa3; /* Lighter red for errors */
}
.goweb_ai_tryon-modal--dark .goweb_ai_tryon-error-icon {
    color: #ff8fa3;
}


/* Responsive Adjustments - Simplified */
@media (max-width: 600px) {
    .goweb_ai_tryon-modal-content {
        padding: 20px; /* Slightly less padding on small screens */
        max-width: calc(100% - 20px); /* Ensure padding is respected */
        margin: 10px;
    }
    .goweb_ai_tryon-modal h2 {
        font-size: 1.2em;
    }
    .goweb_ai_tryon-modal-body {
        min-height: 100px;
    }
     .goweb_ai_tryon-file-input {
        padding: 20px;
    }

    .goweb_ai_tryon-upload-actions{
         flex-direction: inherit !important;
                        }


}


@media (max-width: 480px) {
    #goweb_ai_tryon-share-image,
    #goweb_ai_tryon-download,
    #goweb_ai_tryon-share-product,
    #goweb_ai_tryon-close {
        margin-top: 8px;
    }
}


/* Center the upload + camera buttons */
.goweb_ai_tryon-file-input{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* center horizontally */
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* Ensure the file name line is centered too */
#goweb_ai_tryon-file-name{
  width: 100%;
  text-align: center;
  margin-top: 8px;
}



/* Optional: make buttons look consistent and not stretch weirdly */
#goweb_ai_tryon-upload-btn,
#goweb_ai_tryon-camera-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- Skeleton loader (Option A) --- */
.goweb-loading { text-align:center; padding:18px 10px; }

.goweb-skeleton-row{
  height:14px; width:78%; margin:10px auto;
  border-radius:10px; background:#e9eef6;
  position:relative; overflow:hidden;
}
.goweb-skeleton-row.short{ width:55%; }

.goweb-skeleton-row::after{
  content:""; position:absolute; top:0; left:-40%;
  width:40%; height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: gowebShimmer 1.2s infinite;
}
@keyframes gowebShimmer{ 0%{left:-40%} 100%{left:100%} }

.goweb-loading-line{
  display:flex; justify-content:center; align-items:center;
  gap:6px; margin-top:14px; flex-wrap:wrap;
}

.goweb-dot{
  width:8px; height:8px; border-radius:50%;
  background:currentColor; opacity:.25;
  animation: gowebDot 1s infinite;
}
.goweb-dot:nth-child(2){ animation-delay:.15s; }
.goweb-dot:nth-child(3){ animation-delay:.3s; }

@keyframes gowebDot{
  0%,100%{opacity:.25; transform:translateY(0)}
  50%{opacity:1; transform:translateY(-3px)}
}

.goweb-loading-text{ margin-left:8px; font-weight:600; }
.goweb-loading-sub{ margin-top:10px; opacity:.75; font-size:13px; }

/* Skeleton loader - dark mode (stronger) */
.goweb_ai_tryon-modal--dark .goweb-skeleton-row{
  background: rgba(255,255,255,0.12);
}

.goweb_ai_tryon-modal--dark .goweb-skeleton-row::after{
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.32),
    transparent
  );
}

/* Soft modern upload card (light mode) */
.goweb_ai_tryon-modal--light .goweb_ai_tryon-file-input{
  border: none !important;
  border-radius: 18px;
  padding: 22px 18px;
  background: linear-gradient(180deg, #f7f9fc, #f1f4f9);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    inset 0 0 0 1px rgba(0,0,0,0.06);
}

/* Soft modern upload card (dark mode) */
.goweb_ai_tryon-modal--dark .goweb_ai_tryon-file-input{
  border: none !important;
  border-radius: 18px;
  padding: 22px 18px;
  background: linear-gradient(180deg, #161b22, #0f141a);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* Lifestyle dropdown menu items - neutral color */
#goweb_ai_tryon-lifestyle-menu a{
  color: #1f2933;
  text-decoration: none;
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}

#goweb_ai_tryon-lifestyle-menu a:hover{
  background: rgba(0,0,0,0.06);
  color: #000;
}
/* --- Lifestyle dropdown DARK MODE FIX --- */

/* Dropdown panel */
.goweb_ai_tryon-modal--dark #goweb_ai_tryon-lifestyle-menu{
  background: #0f141a;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 50px rgba(0,0,0,0.65);
}


/* Custom lifestyle label */
.goweb_ai_tryon-custom-label{
  color: #1f2933;        /* light mode */
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

/* Dark mode */
.goweb_ai_tryon-modal--dark .goweb_ai_tryon-custom-label{
  color: rgba(255,255,255,0.95);
}



/* Force item text to be white */
.goweb_ai_tryon-modal--dark #goweb_ai_tryon-lifestyle-menu a{
  color: rgba(255,255,255,0.95) !important;
}

/* Hover state */
.goweb_ai_tryon-modal--dark #goweb_ai_tryon-lifestyle-menu a:hover{
  background: rgba(255,255,255,0.10);
  color: #ffffff !important;
}

/* Optional: subtle dividers */
.goweb_ai_tryon-modal--dark #goweb_ai_tryon-lifestyle-menu li + li a{
  border-top: 1px solid rgba(255,255,255,0.08);
}
/* Make Lifestyle dropdown scrollable when it has many items */
#goweb_ai_tryon-lifestyle-menu{
  max-height: 520px;      /* adjust: 240 / 300 / 360 */
  overflow-y: auto;
  overflow-x: hidden;
   min-width: 260px;     /* try 240, 280, 300 if you want */
}

/* Divider in lifestyle menu */
#goweb_ai_tryon-lifestyle-menu .goweb_ai_tryon-custom-divider{
  height: 1px;
  margin: 6px 8px;
  background: rgba(0,0,0,0.08);
}

.goweb_ai_tryon-modal--dark #goweb_ai_tryon-lifestyle-menu .goweb_ai_tryon-custom-divider{
  background: rgba(255,255,255,0.12);
}

/* Custom lifestyle panel */
.goweb_ai_tryon-custom-lifestyle{
  width: 100%;
  flex-basis: 100%;     /* 🔥 forces new row under buttons */
  margin-top: 14px;

  padding: 12px 14px;
border-radius: 14px;
background: rgba(0,0,0,0.03);
border: 1px dashed rgba(0,0,0,0.12);


}

/* Dark mode */
.goweb_ai_tryon-modal--dark .goweb_ai_tryon-custom-lifestyle{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
}
.goweb_ai_tryon-custom-row{
display: flex;
gap: 10px;
align-items: center;

}

.goweb_ai_tryon-custom-input{
  flex: 1;
  height: 44px;              /* ✅ exact same as buttons */
  min-height: 44px;
  padding: 0 14px;           /* good vertical centering */
  line-height: 44px;         /* ensures text is vertically centered */
  border-radius: 12px;
  box-sizing: border-box;
}


.goweb_ai_tryon-modal--dark .goweb_ai_tryon-custom-input{
  height: 44px;
  min-height: 44px;
  line-height: 44px;
}


#goweb_ai_tryon-custom-apply{
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
}


#goweb_ai_tryon-lifestyle-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 44px;
  padding: 0 28px;
  min-width: 180px;
}

#goweb_ai_tryon-natural-toggle,
#goweb_ai_tryon-lifestyle-toggle{
  width: 180px;            /* pick your size */
  justify-content: center;
  margin-bottom: 10px;
}

/* 1) Make both buttons identical height */
#goweb_ai_tryon-form-actions .button.alt{
  height: 44px;
  line-height: 44px;         /* makes both feel same vertically */
  padding-top: 0;
  padding-bottom: 0;
  margin: 10px;
}

/* 2) Lifestyle button content alignment (caret must not stretch height) */
#goweb_ai_tryon-lifestyle-toggle{
  display: inline-flex;
  align-items: center;
}

/* Keep caret small and not pushing button size */
#goweb_ai_tryon-lifestyle-toggle .goweb_ai_tryon-caret{
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Screen reader text should not affect layout at all */
#goweb_ai_tryon-lifestyle-toggle .screen-reader-text{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
#goweb_ai_tryon-form-actions button.button.alt{
  min-width: 180px;
}

#goweb_ai_tryon-custom-apply{
  min-width: 100px !important;
  height: 44px !important;
  padding: 0 18px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  white-space: nowrap;
}


/* Light mode: align Apply button perfectly with input */
.goweb_ai_tryon-modal--light #goweb_ai_tryon-custom-apply{
  position: relative;
  top: -2px !important;
}


/* 📱 Force center lifestyle menu on mobile */
@media (max-width: 600px) {
  #goweb_ai_tryon-lifestyle-menu {

    min-width: 200px !important;

  }
}
