/* ═══════════════════════════════════════════════════════════════════
   brand-design.css - Brand Design page styles
   (brand-shared.css loaded separately for common components)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Split into separate files (must be at top per CSS spec) ── */
@import './brand-refs-carousel.css?v=ae5d0f83';
@import './brand-references.css?v=c4ef2cb3';
@import './brand-ingredients.css?v=0e13f24f';
@import './brand-preview.css?v=851bdb28';
@import './brand-gallery.css?v=fd106e59';

/* ═══════════════════════════════════════════════════════════════════
   Sections: tabs, form, fields
   ═══════════════════════════════════════════════════════════════════ */

.brand-sections {
  margin-top: 0;
}

/* Tabs (pill style with dark glass container) */

.section-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  padding: 6px;
  background: var(--p-cosmic-base-a55);
  border-radius: 16px;
  border: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 4px 16px var(--p-black-a35),
    inset 0 1px 0 0 var(--p-white-a12);
}

.section-tab {
  flex: 1;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: var(--text-md);
  font-weight: var(--fw-600);
  color: var(--p-white-a60);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: center;
}@media (hover: hover) {
.section-tab:hover {
  color: var(--p-white);
  background: var(--p-white-a5);
}
}


.section-tab.active {
  background: linear-gradient(135deg, var(--color-accent-border) 0%, var(--p-indigo-500-a40) 100%);
  color: var(--p-white);
  font-weight: var(--fw-700);
  box-shadow:
    0 4px 16px var(--p-purple-300-a30),
    inset 0 1px 0 0 var(--p-white-a25);
}

/* Section content */

.section-content {
  animation: fadeSlideIn 0.25s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section form */

.section-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-form h4 {
  margin: 0 0 4px;
  font-size: var(--text-base);
  font-weight: var(--fw-700);
  color: var(--p-white);
  letter-spacing: var(--tracking-tight);
}

.section-form h5 {
  margin: 0 0 6px;
  font-size: var(--text-sm);
  font-weight: var(--fw-700);
  color: var(--p-white-a70);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.form-section {
  padding: 20px;
  background: linear-gradient(145deg, var(--p-cosmic-base-a45) 0%, var(--p-cosmic-deep-a60) 100%);
  border-radius: 20px;
  border: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 8px 24px -4px var(--p-black-a50),
    inset 0 1px 0 0 var(--p-white-a14);
}

.form-section + .form-section {
  margin-top: 14px;
}

/* Font pick */

.font-picks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Design section headings spacing */

#designForm {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#designForm h4 {
  margin: 0;
  font-size: var(--text-base);
  font-weight: var(--fw-700);
  color: var(--p-white);
  letter-spacing: var(--tracking-tight);
}

/* Form fields in brand design */
.brand-style-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bsf-label {
  font-size: var(--text-13);
  font-weight: var(--fw-600);
  color: var(--p-white-a75);
}

.brand-style-field .field {
  width: 100%;
  padding: var(--field-padding);
  background: var(--p-white-a4);
  border: none;
  border-radius: var(--field-radius);
  color: var(--p-white);
  font-size: var(--text-md);
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: ease;
}
.searchable-select-input {
  width: 100%;
  padding: 12px 38px 12px 16px;
  background: var(--p-white-a4);
  border: 1px solid var(--p-white-a8);
  border-radius: 14px;
  color: var(--p-white);
  font-size: var(--text-md);
  font-weight: var(--fw-700);
  font-family: inherit;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: ease;
}

.brand-style-field .field:focus,
.searchable-select-input:focus {
  outline: none;
  border-color: var(--p-purple-300);
  background: var(--p-white-a6);
  box-shadow:
    0 0 0 3px var(--p-purple-a20),
    0 4px 16px var(--p-black-a40);
}

.brand-style-field .field::placeholder,
.searchable-select-input::placeholder {
  color: var(--p-white-a25);
}

/* Primary and outline buttons */
.bsf-btn-outline {
  padding: 10px 16px;
  background: var(--p-white-a5);
  border: none;
  border-radius: 10px;
  color: var(--p-white);
  font-size: var(--text-13);
  font-weight: var(--fw-600);
  cursor: pointer;
  width: fit-content;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 14px var(--p-black-a30),
    inset 0 1px 0 0 var(--p-white-a15);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}@media (hover: hover) {
.bsf-btn-outline:hover {
  background: var(--p-white-a9);
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px var(--p-black-a40),
    inset 0 1px 0 0 var(--p-white-a22);
}
}


.bsf-btn-outline:active {
  transform: scale(0.98);
}

.btn-primary,
.save-section-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--p-purple-300) 0%, var(--p-pink-500) 100%);
  color: var(--p-white);
  font-size: var(--text-15);
  font-weight: var(--fw-700);
  cursor: pointer;
  box-shadow:
    0 8px 24px -2px var(--color-accent-border),
    inset 0 1px 0 0 var(--p-white-a30);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}@media (hover: hover) {
.btn-primary:hover,
.save-section-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px var(--p-purple-a50),
    inset 0 1px 0 0 var(--p-white-a40);
}
}


.btn-primary:active,
.save-section-btn:active {
  transform: scale(0.98);
}

/* Save button feedback */

.save-section-btn.saved {
  background: linear-gradient(135deg, var(--p-green-500) 0%, var(--p-green-600) 100%) !important;
  color: var(--p-white) !important;
  box-shadow:
    0 0 0 4px var(--p-green-500-a25),
    0 8px 24px var(--p-green-500-a40) !important;
  pointer-events: none;
}

/* Card type checkboxes */

.card-type-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-type-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--p-white-a4);
  border: 1px solid var(--p-white-a8);
  border-radius: 12px;
  cursor: pointer;
  font-size: var(--text-13);
  font-weight: var(--fw-500);
  color: var(--p-white-a70);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}@media (hover: hover) {
.card-type-check:hover {
  background: var(--p-white-a7);
  border-color: var(--p-white-a15);
  color: var(--p-white);
}
}


.card-type-check:has(input:checked) {
  background: linear-gradient(135deg, var(--p-purple-300-a25) 0%, var(--p-indigo-500-a25) 100%);
  border-color: var(--color-accent-border);
  color: var(--p-white);
  font-weight: var(--fw-600);
  box-shadow: 0 4px 14px var(--p-purple-a20);
}

.card-type-check input[type='checkbox'] {
  accent-color: var(--p-purple-300);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════════
   Custom colors - collapsible section with toggle switch
   ═══════════════════════════════════════════════════════════════════ */

.cs-custom-colors {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--p-cosmic-base-a45) 0%, var(--p-cosmic-deep-a60) 100%);
  border: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 8px 24px -4px var(--p-black-a50),
    inset 0 1px 0 0 var(--p-white-a14);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.3s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-custom-colors-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}@media (hover: hover) {
.cs-custom-colors-header:hover {
  background: var(--p-white-a3);
}
}


.cs-custom-colors-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.cs-custom-colors-header-icon {
  font-size: var(--text-22);
  flex-shrink: 0;
}

.cs-custom-colors-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cs-custom-colors-header-label {
  font-size: var(--text-15);
  font-weight: var(--fw-700);
  color: var(--p-white);
  line-height: var(--leading-snug);
}

.cs-custom-colors-header-hint {
  font-size: var(--text-sm);
  color: var(--p-white-a50);
  line-height: var(--leading-base);
}

/* ═══ iOS-style toggle switch ═══ */

.cs-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
}
.cs-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cs-toggle-track {
  width: 38px;
  height: 22px;
  border-radius: 22px;
  background: var(--p-white-a12);
  border: 1px solid var(--p-white-a18);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: block;
}
.cs-toggle input:checked + .cs-toggle-track {
  background: linear-gradient(135deg, var(--p-purple-300), var(--p-purple-600));
  border-color: var(--p-purple-300-a60);
  box-shadow: 0 0 12px var(--color-accent-border);
}
.cs-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--p-white);
  box-shadow: 0 1px 4px var(--p-black-a35);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.cs-toggle input:checked + .cs-toggle-track .cs-toggle-thumb {
  transform: translateX(16px);
}

/* ═══ Body ═══ */

.cs-custom-colors-body {
  padding: 0 16px 16px;
  animation: csExpandIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes csExpandIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══ Strict row - iOS toggle inside body ═══ */

.cs-strict-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 8px 4px 4px 4px;
  background: transparent;
  border: none;
}

.cs-strict-row-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.cs-strict-row-label {
  font-size: var(--text-13);
  font-weight: var(--fw-500);
  color: var(--p-white-a75);
  line-height: var(--leading-base);
}

.cs-strict-row-hint {
  font-size: var(--text-xs);
  color: var(--p-white-a30);
  line-height: var(--leading-base);
}

/* ═══════════════════════════════════════════════════════════════════
   Color section - manual hex inputs + photo upload → auto-extract
   ═══════════════════════════════════════════════════════════════════ */

.cs-manual-inputs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.cs-photo-hint-text {
  font-size: var(--text-13);
  color: var(--p-white-a65);
  margin-bottom: 10px;
  line-height: var(--leading-base);
}

.cs-color-slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: default;
}@media (hover: hover) {
.cs-color-slot:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
}
}


.cs-color-slot.active {
  background: transparent;
  border: none;
  box-shadow: none;
}

.cs-slot-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-700);
  color: var(--p-white-a65);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.cs-color-slot.active .cs-slot-label {
  color: var(--p-white-a90);
}

.cs-slot-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-slot-swatch {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--p-white-a25);
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--p-black-a35);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-color-slot.active .cs-slot-swatch {
  transform: scale(1.06);
  border-color: var(--p-white);
}

.cs-hex-input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  background: var(--p-black-a25);
  border: 1px solid var(--p-white-a10);
  border-radius: 10px;
  color: var(--p-white);
  font-family: var(--font-mono);
  font-size: var(--text-md);
  font-weight: var(--fw-600);
  letter-spacing: var(--tracking-wide);
  outline: none;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.2s; transition-timing-function: ease;
}

.cs-hex-input::placeholder {
  color: var(--p-white-a25);
}

.cs-hex-input:focus {
  border-color: var(--p-purple-300);
  background: var(--p-black-a40);
  box-shadow: 0 0 0 2px var(--p-purple-300-a25);
}

/* Photo upload button */

.cs-photo-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 0;
  background: var(--p-white-a3);
  border: 1.5px dashed var(--p-white-a15);
  border-radius: 16px;
  color: var(--p-white-a70);
  font-size: var(--text-md);
  font-weight: var(--fw-600);
  cursor: pointer;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}@media (hover: hover) {
.cs-photo-upload-btn:hover {
  border-color: var(--p-purple-a50);
  color: var(--p-white);
  background: var(--p-purple-300-a8);
  transform: translateY(-1px);
}
}


.cs-plus-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p-purple-300) 0%, var(--p-pink-500) 100%);
  font-size: var(--text-base);
  font-weight: var(--fw-700);
  color: var(--p-white);
  line-height: var(--leading-none);
}

/* Photo area */

.cs-photo-area {
  margin-top: 16px;
}

.cs-photo-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--p-white-a10);
  margin-bottom: 14px;
  background: var(--p-black-a30);
}

.cs-photo-wrapper img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  display: block;
}

.cs-photo-wrapper.pipette-mode {
  cursor: none;
}

.cs-photo-wrapper.pipette-mode::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--p-purple-300);
  border-radius: 16px;
  pointer-events: none;
}

/* Loupe */

.cs-loupe {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  transform: translate(-50%, -50%);
  box-shadow:
    0 8px 32px var(--p-black-a70),
    0 0 0 3px var(--p-purple-a50);
  overflow: hidden;
}

.cs-loupe-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.cs-loupe-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cs-loupe-crosshair::before,
.cs-loupe-crosshair::after {
  content: '';
  position: absolute;
  background: var(--p-white);
}

.cs-loupe-crosshair::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.cs-loupe-crosshair::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.cs-loupe-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid var(--p-white-a85);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--p-black-a40);
}

/* Extracted colors row (pipette + circles) */

.cs-extracted-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-pipette-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px dashed var(--p-white-a25);
  background: var(--p-white-a4);
  color: var(--p-white-a60);
  cursor: pointer;
  flex-shrink: 0;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}@media (hover: hover) {
.cs-pipette-btn:hover {
  border-color: var(--p-purple-300);
  color: var(--p-purple-200);
  background: var(--p-purple-300-a12);
  transform: scale(1.05);
}
}


.cs-pipette-btn.active {
  border-style: solid;
  border-color: var(--p-purple-300);
  background: linear-gradient(135deg, var(--p-purple-300-a30) 0%, var(--p-pink-500-a30) 100%);
  color: var(--p-white);
  box-shadow: 0 0 16px var(--color-accent-border);
}

.cs-extracted-circles {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cs-extracted-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--p-white-a20);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--p-black-a30);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}@media (hover: hover) {
.cs-extracted-circle:hover {
  transform: scale(1.15);
  border-color: var(--p-white);
  box-shadow: 0 6px 18px var(--p-black-a50);
}
}


.cs-extracted-circle:active {
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .cs-manual-inputs {
    grid-template-columns: 1fr;
  }
  .onboarding-card {
    padding: 20px 16px;
  }
  .section-tab {
    font-size: var(--text-13);
    padding: 10px 0;
  }
  .form-section {
    padding: 16px;
  }
  .preview-area {
    max-width: 240px;
  }
  .cs-color-slot {
    padding: 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   BRAND DESIGN REDESIGN (Screenshot 1 parity)
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Segmented Pill Control (Вариативность) ── */
.brand-field-segmented-row {
  margin-bottom: 18px;
}

.brand-field-label {
  display: block;
  font-size: var(--text-13);
  font-weight: var(--fw-600);
  color: var(--p-white-a70);
  margin-bottom: 8px;
}

.brand-segmented-pill-control {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--p-cosmic-66-a60);
  border: 1px solid var(--p-white-a8);
  border-radius: 14px;
  box-shadow: inset 0 2px 6px var(--p-black-a40);
}

.brand-segmented-btn {
  flex: 1;
  padding: 12px 10px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--p-white-a60);
  font-size: var(--text-md);
  font-weight: var(--fw-600);
  cursor: pointer;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}@media (hover: hover) {
.brand-segmented-btn:hover {
  color: var(--p-white);
  background: var(--p-white-a5);
}
}


.brand-segmented-btn.active {
  background: linear-gradient(135deg, var(--p-purple-300) 0%, var(--p-pink-500) 100%);
  color: var(--p-white);
  font-weight: var(--fw-700);
  box-shadow: 0 4px 16px var(--color-accent-border);
}

/* ── 2. Unified Brand Dark Glass Card ── */
.brand-card {
  padding: 20px;
  background: linear-gradient(145deg, var(--p-cosmic-base-a55) 0%, var(--p-cosmic-deep-a70) 100%);
  border-radius: 20px;
  border: 1px solid var(--p-white-a8);
  box-shadow:
    0 8px 24px -4px var(--p-black-a50),
    inset 0 1px 0 0 var(--p-white-a12);
  margin-bottom: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── 3. Source Choice Card (✨ Источник референсов - Screenshot 1) ── */
.source-choice-card {
  padding: 24px 26px;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--p-cosmic-07) 0%, var(--p-cosmic-08) 100%);
  border: 1px solid var(--p-white-a8);
  box-shadow:
    0 12px 36px -4px var(--p-black-a60),
    inset 0 1px 0 0 var(--p-white-a12);
  margin-bottom: 20px;
}

.source-choice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.source-choice-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.source-choice-sparkle-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.source-choice-title-block {
  flex: 1;
}

.source-choice-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-700);
  color: var(--p-white);
  margin: 0 0 3px;
}

.source-choice-subtitle {
  font-size: var(--text-13);
  color: var(--p-white-a55);
  margin: 0;
  line-height: var(--leading-base);
}

.source-view-mode-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--p-white-a4);
  border: 1px solid var(--p-white-a8);
  border-radius: 12px;
}

.source-view-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--p-white-a60);
  font-size: var(--text-13);
  font-weight: var(--fw-600);
  cursor: pointer;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}@media (hover: hover) {
.source-view-btn:hover {
  color: var(--p-white);
}
}


.source-view-btn.active {
  background: var(--p-cosmic-09);
  color: var(--p-white);
  box-shadow: 0 2px 8px var(--p-black-a35);
}

/* Track Container */
.source-cards-container {
  position: relative;
  margin-bottom: 16px;
}

.source-cards-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 2px;
}

.source-cards-track::-webkit-scrollbar {
  display: none;
}

.source-cards-container.mode-grid .source-cards-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  overflow-x: visible;
}

@media (max-width: 580px) {
  .source-cards-container.mode-grid .source-cards-track {
    grid-template-columns: 1fr;
  }
}

/* Preset & Own Cards */
.source-preset-card {
  flex: 0 0 226px;
  height: 295px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: var(--p-cosmic-10);
  border: 1px solid var(--p-white-a8);
  cursor: pointer;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.source-cards-container.mode-grid .source-preset-card {
  flex: unset;
  width: 100%;
  height: 295px;
}@media (hover: hover) {
.source-preset-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--p-black-a50);
  border-color: var(--color-accent-border);
}
}


.source-preset-card.selected {
  border: 2px solid var(--p-purple-500);
  box-shadow: 0 0 24px var(--p-purple-500-a40);
  transform: translateY(-2px);
}

.source-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  font-size: var(--text-xs);
  font-weight: var(--fw-700);
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--p-black-a50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--p-white-a90);
}

.source-card-action-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-md);
  font-weight: var(--fw-700);
  cursor: pointer;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.source-card-action-btn.is-checked {
  background: var(--p-purple-500);
  color: var(--p-white);
  box-shadow: 0 2px 10px var(--p-purple-500-a60);
  border: none;
}

.source-card-action-btn.is-radio-empty {
  background: var(--p-cosmic-67-a60);
  border: 1.5px solid var(--p-white-a35);
  color: var(--p-white-a35);
  box-shadow: none;
}@media (hover: hover) {
.source-card-action-btn.is-radio-empty:hover {
  border-color: var(--p-white-a70);
  color: var(--p-white-a70);
  transform: scale(1.1);
}
}
@media (hover: hover) {
.source-preset-card:hover .source-card-action-btn.is-checked {
  transform: scale(1.08);
}
}


/* Three dots dropdown menu matching Screenshot 1 */
.source-menu-dropdown {
  position: absolute;
  bottom: 48px;
  right: 10px;
  left: 10px;
  width: auto;
  z-index: 50;
  background: var(--p-cosmic-68-a98);
  border: 1px solid var(--p-purple-a35);
  border-radius: 16px;
  padding: 6px;
  box-shadow:
    0 16px 40px var(--p-black-a85),
    0 0 24px var(--p-purple-300-a25);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: sourceMenuFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sourceMenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── In-Card Style Preset Gallery (Screenshot 1 parity) ── */
.source-gallery-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  animation: sourceGalleryFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sourceGalleryFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.source-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 4px;
}

.source-gallery-back-btn,
.source-gallery-options-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--p-white-a8);
  border: 1px solid var(--p-white-a10);
  color: var(--p-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}@media (hover: hover) {
.source-gallery-back-btn:hover,
.source-gallery-options-btn:hover {
  background: var(--p-purple-300-a30);
  border-color: var(--p-purple-300);
  transform: scale(1.08);
}
}


.source-gallery-title-block {
  text-align: center;
}

.source-gallery-title {
  font-size: var(--text-17);
  font-weight: var(--fw-700);
  color: var(--p-white);
  margin: 0 0 3px;
  line-height: var(--leading-tight);
}

.source-gallery-counter {
  font-size: var(--text-13);
  color: var(--p-white-a55);
  margin: 0;
}

.source-gallery-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 350px;
  border-radius: 22px;
}

@media (max-width: 580px) {
  .source-gallery-stage {
    height: 280px;
    gap: 10px;
  }
}

.source-gallery-center-card {
  flex: 0 0 60%;
  max-width: 480px;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 32px var(--p-black-a60);
  border: 1.5px solid var(--p-white-a15);
  background: var(--p-cosmic-base);
}

.source-gallery-center-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.source-gallery-side-card {
  flex: 0 0 32%;
  height: 88%;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  opacity: 0.6;
  cursor: pointer;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.6);
  background: var(--p-cosmic-base);
}@media (hover: hover) {
.source-gallery-side-card:hover {
  opacity: 0.85;
  filter: brightness(0.85);
}
}


.source-gallery-side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.source-gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--p-cosmic-114-a85);
  border: 1px solid var(--p-white-a20);
  color: var(--p-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px var(--p-black-a60);
  backdrop-filter: blur(12px);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.source-gallery-nav-btn.prev {
  left: 12px;
}

.source-gallery-nav-btn.next {
  right: 12px;
}@media (hover: hover) {
.source-gallery-nav-btn:hover {
  background: var(--p-purple-500);
  border-color: var(--p-purple-500);
  transform: translateY(-50%) scale(1.1);
}
}


.source-gallery-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.source-gallery-select-ring-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  -webkit-tap-highlight-color: transparent;
}

.source-gallery-select-glow-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--p-purple-500);
  background: var(--p-purple-500-a25);
  box-shadow: 0 0 20px var(--p-purple-500-a50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-white);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}@media (hover: hover) {
.source-gallery-select-ring-btn:hover .source-gallery-select-glow-ring {
  transform: scale(1.12);
  background: var(--p-purple-500);
  box-shadow: 0 0 32px var(--p-purple-500-a85);
}
}


.source-gallery-select-ring-btn.active .source-gallery-select-glow-ring {
  background: var(--p-purple-500);
  box-shadow: 0 0 28px var(--p-purple-500-a70);
}

.source-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  border: none;
  color: var(--p-white);
  cursor: pointer;
  text-align: left;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.18s; transition-timing-function: ease;
  width: 100%;
}@media (hover: hover) {
.source-menu-item:hover {
  background: var(--p-white-a8);
}
}


.source-menu-item-icon {
  font-size: var(--text-base);
  color: var(--p-white-a70);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  flex-shrink: 0;
}

.source-menu-item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.source-menu-item-title {
  font-size: var(--text-md);
  font-weight: var(--fw-600);
  color: var(--p-white);
  line-height: var(--leading-snug);
}

.source-menu-item-desc {
  font-size: var(--text-xs);
  color: var(--p-white-a50);
  line-height: var(--leading-snug);
}

.source-menu-item.danger {
  color: var(--p-red-500);
}

.source-menu-item.danger .source-menu-item-title {
  color: var(--p-rose-400);
}

.source-menu-item.danger .source-menu-item-desc {
  color: var(--p-rose-400-a60);
}@media (hover: hover) {
.source-menu-item.danger:hover {
  background: var(--p-red-500-a12);
}
}


.source-own-icon-box {
  position: relative;
}

.source-own-plus-subbadge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--p-purple-500);
  color: var(--p-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-13);
  font-weight: var(--fw-700);
  border: 2px solid var(--p-cosmic-11);
}

.source-card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}@media (hover: hover) {
.source-preset-card:hover .source-card-bg-img {
  transform: scale(1.05);
}
}


.source-card-bottom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 24px 14px 14px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--p-cosmic-08-a70) 40%,
    var(--p-cosmic-08-a95) 100%
  );
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.source-card-name {
  font-size: var(--text-md);
  font-weight: var(--fw-700);
  color: var(--p-white);
  margin-bottom: 2px;
  line-height: var(--leading-snug);
}

.source-card-count {
  font-size: var(--text-sm);
  color: var(--p-white-a55);
}

.source-card-menu-btn {
  background: var(--p-white-a8);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--p-white-a60);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  cursor: pointer;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.2s; transition-timing-function: ease;
  backdrop-filter: blur(4px);
}@media (hover: hover) {
.source-card-menu-btn:hover {
  background: var(--p-white-a20);
  color: var(--p-white);
}
}


/* Own Reference Card */
.source-own-card {
  background: linear-gradient(160deg, var(--p-cosmic-12) 0%, var(--p-cosmic-13) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.source-own-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.source-own-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--p-purple-300-a25) 0%, var(--p-purple-500-a40) 100%);
  border: 1.5px solid var(--p-purple-a50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-white);
  margin-bottom: 16px;
  box-shadow: 0 8px 20px var(--p-purple-500-a30);
}

.source-own-title {
  font-size: var(--text-base);
  font-weight: var(--fw-700);
  color: var(--p-white);
  margin: 0 0 6px;
  line-height: var(--leading-snug);
}

.source-own-desc {
  font-size: var(--text-sm);
  color: var(--p-white-a50);
  margin: 0;
  line-height: var(--leading-base);
}

.source-own-card .source-card-menu-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
}

/* Nav Arrows */
.source-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--p-cosmic-114-a85);
  border: 1px solid var(--p-white-a15);
  color: var(--p-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px var(--p-black-a60);
  backdrop-filter: blur(12px);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.2s; transition-timing-function: ease;
}

.source-nav-prev {
  left: -16px;
}

.source-nav-next {
  right: -16px;
}@media (hover: hover) {
.source-nav-arrow:hover {
  background: var(--p-purple-500);
  border-color: var(--p-purple-500);
  transform: translateY(-50%) scale(1.1);
}
}


/* Pagination Dots */
.source-pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
}

.source-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-white-a20);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.3s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.source-dot.active {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  background: var(--p-purple-500);
  box-shadow: 0 0 10px var(--p-purple-500-a60);
}

/* Magic Banner */
.source-magic-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--p-cosmic-69-a75);
  border: 1px solid var(--p-purple-500-a25);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.source-magic-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.source-magic-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-purple-300);
  flex-shrink: 0;
}

.source-magic-title {
  font-size: var(--text-13);
  font-weight: var(--fw-700);
  color: var(--p-white);
  margin-bottom: 2px;
}

.source-magic-desc {
  font-size: var(--text-sm);
  color: var(--p-white-a55);
}

.source-magic-close {
  background: transparent;
  border: none;
  color: var(--p-white-a40);
  font-size: var(--text-base);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s;
}@media (hover: hover) {
.source-magic-close:hover {
  color: var(--p-white);
}
}


/* ── 4. Ingredients Card (🧪 Ингредиенты) ── */
.brand-card-header {
  margin-bottom: 14px;
}

.brand-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.brand-card-emoji-icon {
  font-size: var(--text-lg);
}

.brand-card-title {
  font-size: var(--text-15);
  font-weight: var(--fw-700);
  color: var(--p-white);
  margin: 0;
}

.brand-card-badge {
  font-size: var(--text-xs);
  font-weight: var(--fw-700);
  padding: 3px 9px;
  border-radius: 10px;
  background: var(--p-purple-a20);
  color: var(--p-purple-200);
  border: 1px solid var(--p-purple-300-a30);
}

.brand-card-subtitle {
  font-size: var(--text-13);
  color: var(--p-white-a55);
  margin: 0;
  line-height: var(--leading-base);
}

.brand-ingr-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  margin-bottom: 8px;
}

.brand-ingr-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px;
  flex: 1;
}

.brand-ingr-carousel::-webkit-scrollbar {
  display: none;
}

.brand-ingr-slot-card {
  flex: 0 0 94px;
  height: 128px;
  border-radius: 16px;
  border: 1.5px dashed var(--p-white-a18);
  background: var(--p-white-a2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: ease;
}@media (hover: hover) {
.brand-ingr-slot-card:hover {
  border-color: var(--p-purple-300);
  background: var(--p-purple-300-a8);
  transform: translateY(-2px);
}
}


.brand-ingr-plus-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--p-purple-300-a25);
  border: 1px solid var(--color-accent-border);
  color: var(--p-purple-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: var(--fw-700);
  box-shadow: 0 0 12px var(--p-purple-300-a30);
}

.brand-ingr-slot-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-600);
  color: var(--p-white-a70);
  text-align: center;
  line-height: var(--leading-snug);
}

.brand-carousel-arrow-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--p-white-a6);
  border: 1px solid var(--p-white-a12);
  color: var(--p-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.2s; transition-timing-function: ease;
}@media (hover: hover) {
.brand-carousel-arrow-btn:hover {
  background: var(--p-purple-300-a30);
  border-color: var(--p-purple-300);
  transform: scale(1.08);
}
}


.brand-info-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--p-purple-300-a8);
  border: 1px solid var(--p-purple-a20);
  border-radius: 14px;
  margin-top: 14px;
}

.brand-info-callout-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-info-callout-text {
  font-size: var(--text-13);
  color: var(--p-white-a80);
  line-height: var(--leading-base);
}

/* ── 5. Save & Continue Gradient Button (Screenshot 1 parity) ── */
.brand-save-continue-btn {
  width: 100%;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--p-purple-500) 0%, var(--p-fuchsia-500) 100%);
  border: none;
  color: var(--p-white);
  font-size: var(--text-15);
  font-weight: var(--fw-700);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--p-purple-300-a45);
  transition-property: background, border-color, color, box-shadow, transform, opacity, filter, border-radius, text-decoration, letter-spacing, font-weight; transition-duration: 0.25s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 20px;
  margin-bottom: 24px;
  -webkit-tap-highlight-color: transparent;
}@media (hover: hover) {
.brand-save-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--p-purple-300-a65);
  filter: brightness(1.06);
}
}


.brand-save-continue-btn:active {
  transform: scale(0.98);
}
