/* ============================================
   PROJECT METADATA FORM - MAIN STYLESHEET
   ============================================ */

/* Import Base Styles (Variables, Reset, Typography, Animations) */
@import url('base.css');

/* Import Layout Styles (Page Structure, Header, Container) */
@import url('layout.css');

/* Import Component Styles (All UI Components) */
@import url('components.css');

/* ============================================
   PAGE OVERRIDES & UTILITIES
   ============================================ */

/* Generic Wrappers */
.input-wrapper {
   position: relative;
}

/* ============================================
   DECORATION TYPES
   ============================================ */
#decorationTypesContainer {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 1rem;
   margin-top: 0.5rem;
}

.decoration-checkbox-label {
   text-transform: none;
   letter-spacing: 0;
   font-weight: 400;
   margin: 0;
   cursor: pointer;
}

/* ============================================
   TOTAL QUANTITY DISPLAY
   ============================================ */
#totalQuantityDisplay {
   margin-top: 1rem;
   display: none;
}

#totalQuantityValue {
   padding: 0.875rem 1rem;
   background: var(--bg-page);
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-sm);
   font-size: 0.9375rem;
   font-weight: 600;
   color: var(--text-strong);
}

/* ============================================
   ADDITIONAL INFO SECTION
   ============================================ */
#shipToAddressContainer {
   display: none;
   margin-top: 0.5rem;
}

.checkbox-label-regular {
   text-transform: none;
   letter-spacing: 0;
   font-weight: 400;
   margin: 0;
   cursor: pointer;
}

.checkbox-group-wrapper {
   margin-bottom: 0.5rem;
}

/* ============================================
   PRODUCT MODAL
   ============================================ */
.product-modal-title-custom {
   text-align: left;
   margin-bottom: 0.25rem;
}

.product-modal-header-wrapper {
   margin-bottom: 1rem;
}

.color-selection-label {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   /* Override base label styles from components.css */
   text-transform: none;
   letter-spacing: normal;
   margin-bottom: 0;
}

.color-preview-box {
   display: inline-block;
   width: 24px;
   height: 24px;
   border: 1px solid var(--border-soft);
   border-radius: 3px;
   overflow: hidden;
   background: var(--bg-page);
   flex-shrink: 0;
}

.color-preview-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: none;
}

.color-preview-fallback {
   width: 100%;
   height: 100%;
   background: #f1f5f9;
}

.selected-color-text {
   font-weight: 500;
   color: var(--text-strong);
}

.inventory-section-title {
   font-size: 1rem;
   margin-bottom: 0.5rem;
   margin-top: 0.5rem;
}

.warehouse-title {
   margin-top: 0.75rem;
   margin-bottom: 0.5rem;
   font-size: 1rem;
}

.table-responsive {
   overflow-x: auto;
   max-width: 100%;
   /* Default overflow-x: auto for wrapper div */
}

/* JS Dynamic Classes */
.inventory-loading-text {
   padding: 2rem;
   text-align: center;
   color: var(--text-muted);
}

.inventory-error-text {
   padding: 2rem;
   text-align: center;
   color: #dc2626;
}

.row-special-pricing {
   background: #fef3c7;
   color: #92400e;
}

.text-price-highlight {
   font-weight: 600;
   color: #dc2626;
}

.color-fallback-box {
   width: 100%;
   min-height: 60px;
}

.modal-total-wrapper {
   margin-top: 0.5rem;
   padding: 0.5rem;
   background: var(--bg-page);
   border-radius: 4px;
   text-align: right;
   font-size: 0.875rem;
}

.modal-total-quantity-text {
   font-size: 1rem;
   color: var(--accent);
}

/* ============================================
   CUSTOM PRODUCT MODAL
   ============================================ */
.custom-product-modal {
   max-width: 720px;
   /* Slightly wider for the 2-col layout */
}

.custom-product-form {
   padding: 0.5rem 0;
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
}

/* Layout Grid */
.custom-product-layout {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
   align-items: start;
}

@media (max-width: 600px) {
   .custom-product-layout {
      grid-template-columns: 1fr;
      gap: 1rem;
   }
}

.custom-col-left,
.custom-col-right {
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

/* Color Presets - Compact & Sexy */
.color-preset-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
   gap: 8px;
   margin-bottom: 1rem;
}

.color-preset-option {
   width: 32px;
   height: 32px;
   border-radius: 4px;
   cursor: pointer;
   border: 2px solid var(--border-soft);
   position: relative;
   transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.color-preset-option:hover {
   transform: scale(1.15);
   z-index: 2;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.color-preset-option.selected {
   border-color: var(--primary);
   box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 37, 99, 235), 0.2);
   transform: scale(1.1);
}

/* Custom Tooltip for Colors */
.color-preset-option::after {
   content: attr(title);
   position: absolute;
   bottom: 110%;
   left: 50%;
   transform: translateX(-50%) translateY(5px);
   background: #1e293b;
   color: white;
   padding: 6px 10px;
   border-radius: 6px;
   font-size: 0.75rem;
   font-weight: 500;
   white-space: nowrap;
   opacity: 0;
   pointer-events: none;
   transition: all 0.2s;
   z-index: 10;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.color-preset-option:hover::after {
   opacity: 1;
   transform: translateX(-50%) translateY(0);
}

/* Custom Color Input Wrapper */
.custom-color-input-wrapper {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   background: var(--bg-surface);
   padding: 0.5rem 0.75rem;
   border-radius: var(--radius-sm);
   border: 1px solid var(--border-soft);
   transition: border-color 0.2s;
}

.custom-color-input-wrapper:focus-within {
   border-color: var(--primary);
}

.custom-color-input-wrapper .radio-wrapper {
   margin: 0;
   font-size: 0.85rem;
}

.custom-color-input-wrapper input[type="text"] {
   border: none;
   background: transparent;
   padding: 0.25rem;
   height: auto;
   font-size: 0.9rem;
   box-shadow: none;
   /* Remove default input shadow/border */
}

.custom-color-input-wrapper input[type="text"]:focus {
   box-shadow: none;
   outline: none;
}

.custom-color-input-wrapper input[type="text"]:disabled {
   background: transparent;
   cursor: default;
   color: var(--text-muted);
}

/* Size Grid - Clean & Table-like */
.size-section label {
   margin-bottom: 0.75rem;
}

.size-grid-wrapper {
   background: var(--bg-surface);
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-md);
   padding: 1.25rem;
}

.size-grid-container {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
   gap: 1rem 0.75rem;
}

.size-grid-item {
   display: flex;
   flex-direction: column;
   gap: 0.25rem;
   align-items: center;
}

.size-grid-item label {
   font-size: 0.75rem;
   font-weight: 600;
   text-align: center;
   color: var(--text-muted);
   margin: 0;
   text-transform: uppercase;
}

.size-grid-item input {
   text-align: center;
   padding: 0.5rem 0.25rem;
   border: 1px solid var(--border-medium);
   border-radius: var(--radius-sm);
   font-weight: 500;
   font-size: 0.95rem;
   transition: all 0.2s;
}

.size-grid-item input:focus {
   border-color: var(--primary);
   box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 37, 99, 235), 0.1);
   transform: translateY(-1px);
}

.size-grid-item input:not(:placeholder-shown) {
   border-color: var(--border-strong);
   background: #fff;
}

.size-grid-item.custom-added-size {
   grid-column: span 2;
}

.btn-text-action.small {
   font-size: 0.8rem;
   margin-top: 1rem;
   display: inline-flex;
   align-items: center;
   gap: 0.25rem;
   padding: 0.25rem 0.5rem;
   border-radius: 4px;
}

.btn-text-action.small:hover {
   background: var(--bg-surface-hover);
   text-decoration: none;
}

/* Secondary Button Style */
.btn-secondary {
   background: white;
   color: var(--primary);
   border: 1px solid var(--primary);
   padding: 0.5rem 1rem;
   border-radius: var(--radius-sm);
   font-weight: 600;
   font-size: 0.85rem;
   cursor: pointer;
   transition: all 0.2s;
}

.btn-secondary:hover {
   background: #f0f9ff;
   transform: translateY(-1px);
}

/* ============================================
   PRODUCT SEARCH & CUSTOM BUTTON
   ============================================ */

/* Product Search Row Layout */
.product-search-row {
   display: flex;
   gap: 0.5rem;
   align-items: stretch;
}

.product-search-container {
   flex: 1;
}

/* Ensure input fills height */
.product-search-container input {
   height: 100%;
}

/* Custom Product Button - Compact & Styled */
.btn-custom-product {
   background: var(--bg-card);
   color: var(--text-strong);
   border: 1px solid var(--border-soft);
   padding: 0 1rem;
   border-radius: var(--radius-sm);
   font-weight: 600;
   font-size: 0.85rem;
   cursor: pointer;
   transition: all 0.2s;
   white-space: nowrap;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
   margin-top: 0 !important;
   /* Override default button margin */
   width: auto !important;
   /* Override default button width */
}

.btn-custom-product:hover {
   background: var(--bg-page);
   border-color: var(--accent);
   color: var(--accent);
   transform: translateY(-1px);
}

/* ============================================
   CUSTOM COLOR PICKER BUTTON
   ============================================ */
.custom-color-picker-btn {
   width: 32px;
   height: 32px;
   border-radius: 4px;
   cursor: pointer;
   border: 2px dashed #94a3b8;
   background: #f8fafc;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
   flex-shrink: 0;
}

.custom-color-picker-btn:hover {
   transform: scale(1.15);
   border-color: var(--primary);
   background: var(--bg-card);
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-color-picker-btn.has-color {
   border-style: solid;
   border-color: var(--primary);
   box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 37, 99, 235), 0.2);
}

.custom-color-picker-btn .custom-color-plus {
   font-size: 1.25rem;
   font-weight: 300;
   color: var(--text-muted);
   line-height: 1;
}

.custom-color-picker-btn:hover .custom-color-plus {
   color: var(--primary);
}

.custom-color-picker-btn.selected {
   border-style: solid;
   border-color: var(--primary);
   box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 37, 99, 235), 0.2);
   transform: scale(1.1);
}

/* ============================================
   COLOR PICKER MODAL
   ============================================ */
.color-picker-modal-overlay {
   z-index: 1100;
}

.color-picker-modal {
   background: var(--bg-card);
   border-radius: var(--radius-lg);
   max-width: 380px;
   width: 90%;
   max-height: 90vh;
   overflow: hidden;
   position: relative;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.color-picker-modal-content {
   padding: 1.5rem;
}

.color-picker-form {
   display: flex;
   flex-direction: column;
   gap: 1.25rem;
   margin-top: 1rem;
}

.color-picker-container {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   background: var(--bg-surface);
   padding: 0.75rem;
   border-radius: var(--radius-md);
   border: 1px solid var(--border-soft);
}

.color-input-native {
   width: 48px;
   height: 48px;
   padding: 0;
   border: none;
   border-radius: var(--radius-sm);
   cursor: pointer;
   -webkit-appearance: none;
   appearance: none;
   background: transparent;
}

.color-input-native::-webkit-color-swatch-wrapper {
   padding: 0;
}

.color-input-native::-webkit-color-swatch {
   border: 2px solid var(--border-soft);
   border-radius: var(--radius-sm);
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-input-native::-moz-color-swatch {
   border: 2px solid var(--border-soft);
   border-radius: var(--radius-sm);
}

.color-preview-large {
   width: 48px;
   height: 48px;
   border-radius: var(--radius-sm);
   border: 2px solid var(--border-soft);
   background: #6366f1;
   box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
   transition: background-color 0.2s;
}

.color-hex-input {
   flex: 1;
   font-family: 'SF Mono', Monaco, Consolas, monospace;
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   padding: 0.5rem 0.75rem;
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-sm);
   background: var(--bg-card);
}

.color-hex-input:focus {
   border-color: var(--primary);
   outline: none;
   box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 37, 99, 235), 0.1);
}

/* ============================================
   SHARED PRINT LOCATIONS
   ============================================ */

.shared-print-locations-form-group {
   margin-top: 1rem;
   position: static;
   clear: both;
}

.shared-print-locations-header {
   display: flex;
   align-items: flex-start;
   justify-content: space-between;
   gap: 1rem;
   margin-bottom: 0.9rem;
}

.btn-add-shared-location {
   flex-shrink: 0;
   min-width: 170px;
   width: auto !important;
   margin-top: 0 !important;
   align-self: flex-start;
   padding: 0.7rem 1rem;
   border: none;
   border-radius: var(--radius-sm);
   background: var(--accent);
   color: #fff;
   font-size: 0.9rem;
   font-weight: 700;
   cursor: pointer;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-add-shared-location:hover {
   transform: translateY(-1px);
   box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.shared-print-locations-container {
   display: flex;
   flex-direction: column;
   gap: 0.85rem;
}

.shared-print-locations-empty {
   padding: 1rem;
   border: 1px dashed var(--border-soft);
   border-radius: var(--radius-md);
   background: var(--bg-surface);
   color: var(--text-muted);
   text-align: center;
   font-size: 0.9rem;
}

.shared-print-locations-list {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 0.9rem;
}

@media (max-width: 1100px) {
   .shared-print-locations-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
}

@media (max-width: 700px) {
   .shared-print-locations-list {
      grid-template-columns: 1fr;
   }
}

.shared-print-location-card {
   --location-accent: var(--accent);
   position: relative;
   border: 1px solid color-mix(in srgb, var(--location-accent) 34%, var(--border-soft));
   border-radius: var(--radius-md);
   background: linear-gradient(180deg,
         color-mix(in srgb, var(--location-accent) 10%, #ffffff),
         color-mix(in srgb, var(--location-accent) 5%, #f8fafc));
   box-shadow: 0 4px 14px color-mix(in srgb, var(--location-accent) 14%, rgba(15, 23, 42, 0.05));
   overflow: hidden;
}

.shared-print-location-card::before {
   content: none;
}

.shared-print-location-card__body {
   padding: 0.7rem 0.75rem;
   display: flex;
   flex-direction: column;
   gap: 0.55rem;
}

.shared-print-location-card__header {
   display: flex;
   justify-content: space-between;
   gap: 0.8rem;
   align-items: flex-start;
}

.shared-print-location-card__title-wrap {
   display: flex;
   flex-direction: column;
   gap: 0.2rem;
}

.shared-print-location-card__title {
   font-size: 0.9rem;
   font-weight: 700;
   color: var(--text-strong);
   letter-spacing: 0.01em;
}

.shared-print-location-card__meta {
   display: flex;
   flex-wrap: wrap;
   gap: 0.4rem;
}

.shared-print-location-pill {
   display: inline-flex;
   align-items: center;
   gap: 0.35rem;
   padding: 0.2rem 0.45rem;
   border-radius: 999px;
   font-size: 0.68rem;
   font-weight: 600;
   background: color-mix(in srgb, var(--location-accent) 14%, #ffffff);
   border: 1px solid color-mix(in srgb, var(--location-accent) 30%, #ffffff);
   color: color-mix(in srgb, var(--location-accent) 46%, #1f2937);
}

.shared-print-location-card__actions {
   display: flex;
   flex-wrap: nowrap;
   gap: 0.35rem;
   justify-content: flex-end;
}

.shared-print-location-card__action-btn {
   width: 1.85rem;
   height: 1.85rem;
   padding: 0;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border-radius: var(--radius-sm);
   border: 1px solid var(--border-soft);
   background: var(--bg-card);
   color: var(--text-strong);
   cursor: pointer;
   transition: all 0.2s ease;
}

.shared-print-location-card__action-btn svg {
   width: 14px;
   height: 14px;
   fill: currentColor;
   display: block;
}

.shared-print-location-card__action-btn:hover {
   border-color: var(--accent);
   color: var(--accent);
   transform: translateY(-1px);
}

.shared-print-location-card__action-btn.delete:hover {
   border-color: #dc2626;
   color: #dc2626;
}

.shared-print-location-card__products {
   display: flex;
   flex-direction: column;
   gap: 0.3rem;
}

.shared-print-location-card__section-label {
   font-size: 0.66rem;
   font-weight: 700;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: var(--text-muted);
}

.shared-print-location-card__product-list {
   display: flex;
   flex-wrap: wrap;
   gap: 0.45rem;
}

.shared-print-location-card__product-pill {
   display: inline-flex;
   align-items: center;
   gap: 0.35rem;
   padding: 0.25rem 0.5rem;
   border-radius: 999px;
   background: color-mix(in srgb, var(--location-accent) 10%, white);
   border: 1px solid color-mix(in srgb, var(--location-accent) 28%, white);
   color: var(--text-strong);
   font-size: 0.7rem;
   font-weight: 600;
}

.shared-print-location-card__colors {
   display: flex;
   flex-wrap: wrap;
   gap: 0.45rem;
}

.shared-print-location-card__color-chip {
   display: inline-flex;
   align-items: center;
   gap: 0.45rem;
   padding: 0.22rem 0.45rem;
   border-radius: 999px;
   background: color-mix(in srgb, var(--location-accent) 9%, #ffffff);
   border: 1px solid color-mix(in srgb, var(--location-accent) 24%, #ffffff);
   font-size: 0.7rem;
   color: var(--text-strong);
}

.shared-print-location-card__color-swatch {
   width: 0.72rem;
   height: 0.72rem;
   border-radius: 999px;
   border: 1px solid rgba(15, 23, 42, 0.12);
   flex-shrink: 0;
}

.shared-print-location-card__empty {
   color: var(--text-muted);
   font-style: italic;
   font-size: 0.85rem;
}

.shared-print-location-modal {
   max-width: 980px;
   width: min(980px, 94vw);
}

.shared-print-location-modal-subtitle,
.shared-product-location-modal-subtitle {
   margin: -0.2rem 0 1rem;
   color: var(--text-muted);
   font-size: 0.92rem;
}

.shared-print-location-modal-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 0.85rem;
}

.shared-progressive-modal .print-locations-modal-content {
   padding-top: 1.25rem;
}

.shared-progressive-modal .shared-print-step {
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-md);
   background: var(--bg-card);
   overflow: visible;
   transition: border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.shared-progressive-modal .shared-print-step.is-active {
   border-color: color-mix(in srgb, var(--accent) 35%, var(--border-soft));
   box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.shared-progressive-modal .shared-print-step.is-complete {
   border-color: color-mix(in srgb, #16a34a 30%, var(--border-soft));
}

.shared-progressive-modal .print-locations-section-header {
   margin: 0;
   padding: 0.9rem 1rem;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.75rem;
   font-size: 0.76rem;
   position: relative;
   z-index: 1;
}

.shared-progressive-modal .print-locations-section-header::after {
   content: 'Current';
   font-size: 0.68rem;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   color: var(--text-muted);
   background: var(--bg-surface);
   border: 1px solid var(--border-soft);
   border-radius: 999px;
   padding: 0.18rem 0.55rem;
   flex-shrink: 0;
}

.shared-progressive-modal .shared-print-step.is-complete .print-locations-section-header::after {
   content: 'Done';
   color: #166534;
   background: #dcfce7;
   border-color: #86efac;
}

.shared-progressive-modal .shared-print-step.is-collapsed .print-locations-section-header::after {
   content: 'Next';
}

.shared-progressive-modal .shared-print-step-body {
   max-height: 900px;
   opacity: 1;
   transform: translateY(0);
   overflow: visible;
   padding: 0 1rem 1rem;
   position: relative;
   z-index: 2;
   transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, padding 0.25s ease;
}

.shared-progressive-modal .shared-print-step.is-collapsed .shared-print-step-body {
   max-height: 0;
   opacity: 0;
   transform: translateY(-8px);
   padding-top: 0;
   padding-bottom: 0;
   pointer-events: none;
}

.shared-print-location-custom {
   margin-top: 1rem;
}

.shared-progressive-modal .print-locations-subsection {
   padding: 0.9rem;
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-md);
   background: linear-gradient(180deg, #ffffff, var(--bg-surface));
   margin-bottom: 0.85rem;
}

.shared-progressive-modal .print-locations-subsection-title {
   margin: 0 0 0.4rem;
   font-size: 0.78rem;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   color: var(--text-muted);
}

.shared-progressive-modal .print-locations-divider {
   margin: 0 0 0.7rem 0;
}

.shared-progressive-modal .print-locations-checkbox-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 0.55rem;
}

.shared-progressive-modal .print-locations-checkbox-item {
   position: relative;
   margin: 0;
   cursor: pointer;
   min-height: 48px;
}

.shared-progressive-modal .print-locations-checkbox-item input[type="radio"] {
   position: absolute;
   opacity: 0;
   width: 0;
   height: 0;
   pointer-events: none;
}

.shared-progressive-modal .print-locations-checkbox-item span {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   min-height: 48px;
   padding: 0.55rem 0.75rem;
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-sm);
   background: var(--bg-card);
   color: var(--text-strong);
   font-size: 0.79rem;
   font-weight: 600;
   letter-spacing: 0.01em;
   text-align: center;
   transition: all 0.2s ease;
}

.shared-progressive-modal .print-locations-checkbox-item:hover span {
   border-color: color-mix(in srgb, var(--accent) 45%, var(--border-soft));
   background: color-mix(in srgb, var(--accent) 6%, var(--bg-card));
   transform: translateY(-1px);
   box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.shared-progressive-modal .print-locations-checkbox-item input[type="radio"]:checked+span {
   border-color: var(--accent);
   background: color-mix(in srgb, var(--accent) 12%, var(--bg-card));
   color: var(--text-strong);
   box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
}

.shared-progressive-modal .print-locations-checkbox-item input[type="radio"]:checked+span::before {
   content: '✓';
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 16px;
   height: 16px;
   margin-right: 0.45rem;
   border-radius: 999px;
   background: var(--accent);
   color: #fff;
   font-size: 0.67rem;
   font-weight: 700;
   flex-shrink: 0;
}

.shared-print-location-custom label {
   display: block;
   margin-bottom: 0.45rem;
   font-size: 0.8rem;
   font-weight: 700;
   color: var(--text-muted);
   text-transform: uppercase;
   letter-spacing: 0.05em;
}

.shared-print-location-custom-input {
   width: 100%;
}

.shared-print-location-colors {
   margin-top: 1rem;
   margin-bottom: 0.75rem;
}

.shared-print-location-products-empty,
.shared-product-location-empty {
   padding: 0.85rem;
   border: 1px dashed var(--border-soft);
   border-radius: var(--radius-sm);
   background: var(--bg-surface);
   color: var(--text-muted);
   font-size: 0.85rem;
   text-align: center;
}

.shared-print-location-products-list,
.shared-product-location-list {
   display: flex;
   flex-direction: column;
   gap: 0.55rem;
}

.shared-print-location-product-option,
.shared-product-location-option {
   display: flex;
   align-items: flex-start;
   gap: 0.7rem;
   padding: 0.75rem;
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-sm);
   background: var(--bg-card);
}

.shared-print-location-product-option input,
.shared-product-location-option input {
   margin-top: 0.15rem;
}

.shared-print-location-product-option__meta,
.shared-product-location-option__meta {
   display: flex;
   flex-direction: column;
   gap: 0.15rem;
}

.shared-print-location-product-option__name,
.shared-product-location-option__name {
   font-size: 0.86rem;
   font-weight: 700;
   color: var(--text-strong);
}

.shared-print-location-product-option__details,
.shared-product-location-option__details {
   font-size: 0.78rem;
   color: var(--text-muted);
}

.shared-print-location-branching-hint {
   margin-top: 1rem;
   padding: 0.85rem 1rem;
   border-radius: var(--radius-sm);
   background: #fff7ed;
   border: 1px solid #fdba74;
   color: #9a3412;
   font-size: 0.84rem;
}

.shared-print-location-modal-actions {
   margin-top: 1rem;
}

.shared-print-location-modal .hidden {
   display: none !important;
}

/* ============================================
   PRODUCT PRINT LOCATIONS
   ============================================ */

/* Hide the main Print Locations form group */
.print-locations-form-group-hidden {
   display: none !important;
}

/* Print Locations Section in Product Widget */
.product-print-locations-section {
   margin-top: 0.75rem;
   padding-top: 0.75rem;
   border-top: 1px solid var(--border-soft);
}

.product-print-locations-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.75rem;
   margin-bottom: 0.75rem;
   flex-wrap: nowrap;
}

.product-print-locations-label {
   font-size: 11px;
   font-weight: 600;
   color: var(--text-muted);
   text-transform: uppercase;
   letter-spacing: 0.05em;
   flex-shrink: 0;
   white-space: nowrap;
}

.btn-print-locations {
   display: inline-flex;
   align-items: center;
   gap: 0.35rem;
   padding: 6px 12px;
   font-size: 11px;
   font-weight: 600;
   background: var(--accent);
   color: var(--bg-card);
   border: 1px solid var(--accent);
   border-radius: var(--radius-sm);
   cursor: pointer;
   transition: all 0.2s;
   text-transform: uppercase;
   letter-spacing: 0.05em;
   box-shadow: none;
   white-space: nowrap;
   flex-shrink: 0;
   width: auto;
   min-width: auto;
   max-width: none;
}

.btn-print-locations:hover {
   background: var(--accent-soft);
   border-color: var(--accent-soft);
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(17, 17, 17, 0.15);
}

.btn-print-locations svg {
   width: 14px;
   height: 14px;
}

.product-print-locations-tags {
   display: flex;
   flex-wrap: wrap;
   gap: 0.5rem;
   min-height: 1.5rem;
   align-items: flex-start;
   width: 100%;
}

.product-location-tag {
   display: inline-flex;
   align-items: center;
   padding: 0.3rem 0.6rem;
   background: linear-gradient(135deg, #ecfdf5, #d1fae5);
   color: #047857;
   font-size: 0.7rem;
   font-weight: 600;
   border-radius: 4px;
   border: 1px solid #a7f3d0;
   text-transform: uppercase;
   letter-spacing: 0.3px;
}

.product-location-tag--shared {
   --location-accent: var(--accent);
   display: inline-flex;
   align-items: center;
   gap: 0.45rem;
   padding: 0.4rem 0.65rem;
   border-radius: 999px;
   background: color-mix(in srgb, var(--location-accent) 10%, white);
   border: 1px solid color-mix(in srgb, var(--location-accent) 25%, white);
   color: var(--text-strong);
   font-size: 0.75rem;
   font-weight: 700;
   text-transform: none;
   letter-spacing: normal;
}

.product-location-tag__accent {
   width: 0.7rem;
   height: 0.7rem;
   border-radius: 999px;
   background: var(--location-accent);
   flex-shrink: 0;
}

.product-location-tag__remove {
   border: none;
   background: transparent;
   color: var(--text-muted);
   cursor: pointer;
   padding: 0;
   display: inline-flex;
   align-items: center;
   justify-content: center;
}

.product-location-tag__remove:hover {
   color: #dc2626;
}

.product-location-tag__remove svg {
   width: 12px;
   height: 12px;
}

.product-location-card {
   --location-accent: var(--accent);
   display: flex;
   flex-direction: column;
   gap: 0.55rem;
   min-width: 220px;
   padding: 0.75rem;
   background: var(--bg-card);
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-sm);
   box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
   position: relative;
}

.product-location-card--shared {
   border-color: color-mix(in srgb, var(--location-accent) 24%, var(--border-soft));
   background: linear-gradient(180deg,
         color-mix(in srgb, var(--location-accent) 7%, white),
         var(--bg-card));
}

.product-location-card__main {
   display: flex;
   align-items: center;
   gap: 0.45rem;
}

.product-location-card__position-wrap {
   display: inline-flex;
   align-items: center;
   gap: 0.45rem;
   min-width: 0;
   margin-right: auto;
}

.product-location-card__accent {
   width: 0.75rem;
   height: 0.75rem;
   border-radius: 999px;
   background: var(--location-accent);
   flex-shrink: 0;
}

.product-location-card__position {
   font-size: 0.75rem;
   font-weight: 700;
   color: var(--text-strong);
   text-transform: uppercase;
   letter-spacing: 0.03em;
}

.product-location-card__size-badge {
   display: inline-flex;
   align-items: center;
   padding: 0.18rem 0.45rem;
   border-radius: 999px;
   background: rgba(15, 23, 42, 0.06);
   color: var(--text-strong);
   font-size: 0.68rem;
   font-weight: 700;
   white-space: nowrap;
}

.product-location-card--shared .product-location-card__size-badge {
   background: color-mix(in srgb, var(--location-accent) 14%, #ffffff);
   border: 1px solid color-mix(in srgb, var(--location-accent) 30%, #ffffff);
   color: color-mix(in srgb, var(--location-accent) 52%, #111827);
}

.product-location-card__size-badge--empty {
   background: rgba(15, 23, 42, 0.04);
   color: var(--text-muted);
   font-weight: 600;
}

.product-location-card__remove {
   border: none;
   background: transparent;
   color: var(--text-muted);
   cursor: pointer;
   padding: 0;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: auto;
   margin: 0;
   min-width: 0;
}

.product-location-card__remove:hover {
   color: #dc2626;
   box-shadow: none;
   transform: none;
   background: transparent;
}

.product-location-card__colors-section {
   padding-top: 0.55rem;
   border-top: 1px dashed color-mix(in srgb, var(--location-accent) 22%, var(--border-soft));
}

.product-location-card__colors-list {
   display: flex;
   flex-direction: column;
   gap: 0.35rem;
}

.product-location-card__color-item {
   display: inline-flex;
   align-items: center;
   gap: 0.4rem;
}

.product-location-card__color-swatch {
   width: 0.78rem;
   height: 0.78rem;
   border-radius: 3px;
   border: 1px solid rgba(15, 23, 42, 0.12);
   flex-shrink: 0;
}

.product-location-card__color-name,
.product-location-card__no-colors {
   font-size: 0.7rem;
   color: var(--text-muted);
}

.product-location-card__no-colors {
   font-style: italic;
}

.no-locations-text {
   font-size: 11px;
   color: var(--text-muted);
   font-style: italic;
}

/* ============================================
   PRODUCT PRINT LOCATIONS MODAL
   ============================================ */
.product-pl-modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(0, 0, 0, 0.5);
   backdrop-filter: blur(4px);
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 1050;
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s ease;
}

.product-pl-modal-overlay.show {
   opacity: 1;
   visibility: visible;
}

.product-pl-modal {
   background: var(--bg-card);
   border-radius: var(--radius-lg);
   max-width: 520px;
   width: 90%;
   max-height: 85vh;
   overflow: hidden;
   position: relative;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
   transform: scale(0.95) translateY(20px);
   transition: transform 0.3s ease;
}

.product-pl-modal-overlay.show .product-pl-modal {
   transform: scale(1) translateY(0);
}

.product-pl-modal-close {
   position: absolute;
   top: 0.75rem;
   right: 0.75rem;
   background: none;
   border: none;
   font-size: 1.75rem;
   color: var(--text-muted);
   cursor: pointer;
   line-height: 1;
   padding: 0.5rem;
   border-radius: 4px;
   transition: all 0.2s;
   z-index: 10;
   width: auto;
   height: auto;
   min-width: 2rem;
   min-height: 2rem;
   display: flex;
   align-items: center;
   justify-content: center;
}

.product-pl-modal-close:hover {
   color: var(--text-strong);
   background: var(--bg-surface);
}

.product-pl-modal-content {
   padding: 1.5rem;
   overflow-y: auto;
   max-height: calc(85vh - 80px);
}

.product-pl-modal-title {
   font-size: 1.1rem;
   font-weight: 700;
   color: var(--text-strong);
   margin: 0 0 1.25rem 0;
   padding-right: 3.5rem;
   /* Increased padding to prevent overlap with close button */
   line-height: 1.4;
}

.product-pl-checkboxes {
   display: flex;
   flex-direction: column;
   gap: 1.25rem;
}

.product-pl-section {
   background: var(--bg-surface);
   border-radius: var(--radius-md);
   padding: 1rem;
   border: 1px solid var(--border-soft);
}

.product-pl-section h5 {
   font-size: 0.75rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   color: var(--text-muted);
   margin: 0 0 0.75rem 0;
   padding-bottom: 0.5rem;
   border-bottom: 1px solid var(--border-soft);
}

.product-pl-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 0.5rem;
}

@media (max-width: 480px) {
   .product-pl-grid {
      grid-template-columns: 1fr;
   }
}

.product-pl-option {
   display: flex;
   align-items: center;
   gap: 0.6rem;
   padding: 0.6rem 0.75rem;
   background: var(--bg-card);
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-sm);
   cursor: pointer;
   transition: all 0.2s;
}

.product-pl-option:hover {
   border-color: var(--primary);
   background: #f0f9ff;
}

.product-pl-option input[type="checkbox"] {
   width: 18px;
   height: 18px;
   accent-color: var(--primary);
   cursor: pointer;
   flex-shrink: 0;
}

.product-pl-option span {
   font-size: 0.85rem;
   font-weight: 500;
   color: var(--text-strong);
}

.product-pl-option:has(input:checked) {
   border-color: var(--primary);
   background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.shared-product-location-option {
   cursor: pointer;
}

.shared-product-location-option:has(input:checked) {
   border-color: var(--primary);
   background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.product-pl-modal-actions {
   display: flex;
   justify-content: flex-end;
   gap: 0.75rem;
   margin-top: 1.5rem;
   padding-top: 1rem;
   border-top: 1px solid var(--border-soft);
}

/* Custom Locations Section */
.product-pl-custom-section {
   margin-top: 0.75rem;
   background: var(--bg-surface);
   border-radius: var(--radius-md);
   padding: 1rem;
   border: 1px solid var(--border-soft);
}

.product-pl-custom-input-group {
   display: flex;
   flex-direction: row;
   gap: 0.75rem;
   margin-bottom: 0.75rem;
   align-items: center;
   width: 100%;
}

.product-pl-custom-input {
   flex: 1 1 auto;
   min-width: 200px;
   width: 100%;
   height: 42px;
   padding: 0 1rem;
   font-size: 0.9rem;
   border: 1px solid #e2e8f0;
   border-radius: var(--radius-sm);
   background: #ffffff;
   color: #1e293b;
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
   box-sizing: border-box;
}

.product-pl-custom-input:focus {
   outline: none;
   border-color: var(--primary);
   box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.product-pl-custom-input::placeholder {
   color: #94a3b8;
   opacity: 1;
}

.btn-add-custom-location {
   flex: 0 0 auto;
   min-width: 80px;
   width: auto;
   height: 42px;
   padding: 0 1.5rem;
   font-size: 0.9rem;
   font-weight: 600;
   color: #ffffff !important;
   background-color: #3b82f6 !important;
   border: none;
   border-radius: var(--radius-sm);
   cursor: pointer;
   white-space: nowrap;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   box-sizing: border-box;
}

.btn-add-custom-location:hover {
   background-color: #2563eb !important;
   transform: translateY(-1px);
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-add-custom-location:active {
   transform: translateY(0);
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.product-pl-custom-list {
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
   max-height: 200px;
   overflow-y: auto;
}

.product-pl-custom-item {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0.6rem 0.75rem;
   background: var(--bg-card);
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-sm);
   font-size: 0.85rem;
   color: var(--text-strong);
}

.product-pl-custom-item span {
   flex: 1;
   font-weight: 500;
}

.product-pl-custom-remove {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 24px;
   height: 24px;
   padding: 0;
   background: transparent;
   border: none;
   border-radius: var(--radius-sm);
   color: var(--text-muted);
   cursor: pointer;
   transition: all 0.2s;
   flex-shrink: 0;
}

.product-pl-custom-remove:hover {
   background: var(--error-light);
   color: var(--error);
}

.product-pl-custom-remove svg {
   width: 14px;
   height: 14px;
}

@media (max-width: 640px) {
   .shared-progressive-modal .print-locations-checkbox-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }

   .shared-progressive-modal .print-locations-section-header {
      flex-direction: column;
      align-items: flex-start;
   }

   .shared-progressive-modal .print-locations-section-header::after {
      align-self: flex-start;
   }

   .shared-print-locations-header {
      flex-direction: column;
   }

   .btn-add-shared-location {
      width: 100%;
   }

   .shared-print-location-card__header {
      flex-direction: column;
   }

   .shared-print-location-card__actions {
      width: 100%;
      justify-content: flex-end;
   }
}

@media (max-width: 420px) {
   .shared-progressive-modal .print-locations-checkbox-grid {
      grid-template-columns: 1fr;
   }
}

/* ============================================
   PRODUCT PRINT LOCATION DETAILS MODAL
   ============================================ */
.product-pl-details-modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(0, 0, 0, 0.5);
   backdrop-filter: blur(4px);
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 1100;
   opacity: 1;
   visibility: visible;
   transition: all 0.3s ease;
}

.product-pl-details-modal-overlay.hidden {
   opacity: 0;
   visibility: hidden;
}

.product-pl-details-modal {
   background: var(--bg-card);
   border-radius: var(--radius-lg);
   max-width: 480px;
   width: 90%;
   max-height: 85vh;
   overflow: hidden;
   position: relative;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
   padding: 1.5rem;
   display: flex;
   flex-direction: column;
}

.product-pl-details-subtitle {
   font-size: 1rem;
   font-weight: 600;
   color: var(--accent);
   margin: 0 0 1.25rem 0;
   padding-bottom: 0.75rem;
   border-bottom: 2px solid var(--border-soft);
}

.product-pl-details-modal-content {
   overflow-y: auto;
   flex: 1;
   display: flex;
   flex-direction: column;
   gap: 1.25rem;
}

.product-pl-details-section {
   background: var(--bg-surface);
   border-radius: var(--radius-md);
   padding: 1rem;
   border: 1px solid var(--border-soft);
}

.product-pl-details-section-title {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   font-size: 0.85rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   color: var(--text-strong);
   margin: 0 0 1rem 0;
}

.product-pl-details-section-title svg {
   color: var(--accent);
}

/* Imprint Size Inputs */
.product-pl-imprint-size-inputs {
   display: flex;
   align-items: flex-end;
   gap: 0.75rem;
}

.product-pl-imprint-size-field {
   flex: 1;
}

.product-pl-imprint-size-field label {
   display: block;
   font-size: 0.75rem;
   font-weight: 600;
   color: var(--text-muted);
   margin-bottom: 0.35rem;
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.product-pl-imprint-size-input-wrapper {
   display: flex;
   align-items: center;
   background: var(--bg-card);
   border: 1px solid var(--border-medium);
   border-radius: var(--radius-sm);
   overflow: hidden;
   transition: border-color 0.2s;
}

.product-pl-imprint-size-input-wrapper:focus-within {
   border-color: var(--primary);
   box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.product-pl-imprint-size-input-wrapper input {
   flex: 1;
   border: none;
   padding: 0.6rem 0.75rem;
   font-size: 1rem;
   font-weight: 500;
   background: transparent;
   text-align: center;
   min-width: 0;
   height: auto;
   box-shadow: none;
}

.product-pl-imprint-size-input-wrapper input:focus {
   outline: none;
   box-shadow: none;
}

.product-pl-imprint-size-unit {
   padding: 0 0.75rem 0 0;
   font-size: 0.9rem;
   color: var(--text-muted);
   font-weight: 500;
}

.product-pl-imprint-size-separator {
   font-size: 1.25rem;
   color: var(--text-muted);
   font-weight: 300;
}

/* Ink Color Search */
.product-pl-ink-color-search-container {
   position: relative;
   margin-bottom: 0.75rem;
}

.product-pl-ink-color-search-input {
   width: 100%;
   padding: 0.65rem 1rem;
   font-size: 0.9rem;
   border: 1px solid var(--border-medium);
   border-radius: var(--radius-sm);
   background: var(--bg-card);
   transition: border-color 0.2s, box-shadow 0.2s;
}

.product-pl-ink-color-search-input:focus {
   border-color: var(--primary);
   outline: none;
   box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.product-pl-ink-color-dropdown {
   position: absolute;
   top: 100%;
   left: 0;
   right: 0;
   background: var(--bg-card);
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-sm);
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
   max-height: 200px;
   overflow-y: auto;
   z-index: 100;
   margin-top: 4px;
}

.product-pl-ink-color-dropdown.hidden {
   display: none;
}

.product-pl-ink-color-dropdown-item {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   padding: 0.65rem 1rem;
   cursor: pointer;
   transition: background 0.15s;
}

.product-pl-ink-color-dropdown-item:hover {
   background: var(--bg-surface);
}

.product-pl-ink-color-dropdown-item__swatch {
   width: 20px;
   height: 20px;
   border-radius: 3px;
   border: 1px solid rgba(0, 0, 0, 0.1);
   flex-shrink: 0;
}

.product-pl-ink-color-dropdown-item__name {
   font-size: 0.85rem;
   font-weight: 500;
   color: var(--text-strong);
}

.product-pl-ink-color-dropdown-empty {
   padding: 1rem;
   text-align: center;
   color: var(--text-muted);
   font-size: 0.85rem;
}

.product-pl-ink-color-dropdown-add-custom {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.75rem 1rem;
   background: #f0f9ff;
   border-top: 1px solid var(--border-soft);
   cursor: pointer;
   font-size: 0.85rem;
   font-weight: 600;
   color: var(--primary);
   transition: background 0.15s;
}

.product-pl-ink-color-dropdown-add-custom:hover {
   background: #dbeafe;
}

/* Selected Ink Colors List */
.product-pl-ink-colors-list {
   display: flex;
   flex-wrap: wrap;
   gap: 0.5rem;
   min-height: 2rem;
}

.product-pl-ink-colors-empty {
   font-size: 0.85rem;
   color: var(--text-muted);
   font-style: italic;
   padding: 0.5rem 0;
}

.product-pl-ink-color-chip {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.4rem 0.6rem;
   background: var(--bg-card);
   border: 1px solid var(--border-soft);
   border-radius: 999px;
   font-size: 0.8rem;
   font-weight: 500;
   transition: all 0.2s;
}

.product-pl-ink-color-chip:hover {
   border-color: var(--border-medium);
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-pl-ink-color-chip__number {
   min-width: 18px;
   height: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 0.7rem;
   font-weight: 700;
   background: var(--accent);
   color: var(--bg-card);
   border-radius: 50%;
}

.product-pl-ink-color-chip__swatch {
   width: 16px;
   height: 16px;
   border-radius: 3px;
   border: 1px solid rgba(0, 0, 0, 0.1);
   flex-shrink: 0;
}

.product-pl-ink-color-chip__name {
   color: var(--text-strong);
}

.product-pl-ink-color-chip__remove {
   background: none;
   border: none;
   padding: 0;
   margin: 0;
   width: 18px;
   height: 18px;
   min-width: 18px;
   min-height: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   cursor: pointer;
   color: var(--text-muted);
   transition: all 0.15s;
}

.product-pl-ink-color-chip__remove:hover {
   background: #fee2e2;
   color: #dc2626;
}

.product-pl-ink-color-chip__remove svg {
   width: 14px;
   height: 14px;
}

.product-pl-details-modal-actions {
   display: flex;
   justify-content: flex-end;
   gap: 0.75rem;
   margin-top: 1.25rem;
   padding-top: 1rem;
   border-top: 1px solid var(--border-soft);
}

/* ============================================
   PRODUCT WIDGET - ENHANCED LOCATION CARDS
   ============================================ */
.product-location-cards {
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
   margin-top: 0.5rem;
}

.product-location-card {
   background: var(--bg-surface);
   border: 1px solid var(--border-soft);
   border-radius: var(--radius-sm);
   padding: 0.6rem 0.75rem;
   transition: all 0.2s;
}

.product-location-card:hover {
   border-color: var(--border-medium);
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-location-card__main {
   display: flex;
   align-items: center;
   gap: 0.75rem;
}

.product-location-card__position {
   font-size: 0.8rem;
   font-weight: 700;
   color: var(--text-strong);
   text-transform: uppercase;
   letter-spacing: 0.3px;
}

.product-location-card__size-badge {
   font-size: 0.7rem;
   padding: 0.2rem 0.5rem;
   background: linear-gradient(135deg, #ecfdf5, #d1fae5);
   color: #047857;
   border-radius: 4px;
   border: 1px solid #a7f3d0;
   font-weight: 600;
}

.product-location-card__size-badge--empty {
   background: var(--bg-surface);
   color: var(--text-muted);
   border-color: var(--border-soft);
}

.product-location-card__edit-btn {
   margin-left: auto;
   background: none;
   border: none;
   padding: 0.3rem;
   border-radius: 4px;
   cursor: pointer;
   color: var(--text-muted);
   transition: all 0.15s;
   width: auto;
   min-width: auto;
   height: auto;
   min-height: auto;
   display: flex;
   align-items: center;
   justify-content: center;
}

.product-location-card__edit-btn:hover {
   background: var(--bg-card);
   color: var(--accent);
}

.product-location-card__edit-btn svg {
   width: 16px;
   height: 16px;
}

.product-location-card__colors-section {
   margin-top: 0.5rem;
   padding-top: 0.5rem;
   border-top: 1px dashed var(--border-soft);
}

.product-location-card__colors-list {
   display: flex;
   flex-wrap: wrap;
   gap: 0.35rem;
}

.product-location-card__color-item {
   display: inline-flex;
   align-items: center;
   gap: 0.35rem;
   font-size: 0.7rem;
   padding: 0.15rem 0.4rem;
   background: var(--bg-card);
   border-radius: 3px;
}

.product-location-card__color-swatch {
   width: 10px;
   height: 10px;
   border-radius: 2px;
   border: 1px solid rgba(0, 0, 0, 0.1);
   flex-shrink: 0;
}

.product-location-card__color-name {
   color: var(--text-muted);
   font-weight: 500;
}

.product-location-card__no-colors {
   font-size: 0.7rem;
   color: var(--text-muted);
   font-style: italic;
   margin-top: 0.35rem;
}
