/* Pink Rose only. Native Salla controls remain the source of order values. */
#product-1155246461 {
  --barella-purple: #64559a;
  --barella-ink: #342e40;
  --barella-muted: #786d83;
  --barella-line: #e8e2ee;
  --barella-soft: #f7f4fa;
}

#product-1155246461 salla-conditional-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--barella-line);
  border-radius: 20px;
  background: #fff;
  color: var(--barella-ink);
  box-shadow: 0 5px 20px #51406705;
}

#product-1155246461 salla-conditional-fields > .s-product-options-option-container {
  order: 100;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

#product-1155246461 salla-conditional-fields > .barella-gift-header { order: 0; }
#product-1155246461 salla-conditional-fields > [data-option-id="584152716"] { order: 10; }
#product-1155246461 salla-conditional-fields > [data-option-id="1748411550"] { order: 20; }
#product-1155246461 salla-conditional-fields > [data-option-id="542306755"] { order: 30; }
#product-1155246461 salla-conditional-fields > [data-option-id="402186904"] { order: 40; }
#product-1155246461 salla-conditional-fields > [data-option-id="717460672"] { order: 50; padding-block-start: 8px; }
#product-1155246461 salla-conditional-fields > [data-option-id="78164929"] { order: 60; }
#product-1155246461 salla-conditional-fields > [data-option-id="1450562242"] { order: 70; }
#product-1155246461 salla-conditional-fields > [data-option-id="703580634"] { order: 80; }

#product-1155246461 salla-conditional-fields .s-product-options-option {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#product-1155246461 salla-conditional-fields .s-product-options-option-label,
#product-1155246461 salla-conditional-fields .s-product-options-option-content {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#product-1155246461 salla-conditional-fields .s-product-options-option-label {
  margin: 0 0 10px;
  color: var(--barella-ink);
  font-size: 15px;
  line-height: 1.7;
}
#product-1155246461 salla-conditional-fields .s-product-options-option-content { overflow: visible; }
#product-1155246461 .barella-current-color-dot.is-empty { display: none; }

#product-1155246461 salla-conditional-fields .s-product-options-option-label b {
  color: var(--barella-ink);
  font-weight: 700;
}

#product-1155246461 salla-conditional-fields .s-product-options-option-label small {
  display: block;
  margin-block-start: 4px;
  color: var(--barella-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

#product-1155246461 salla-conditional-fields :where(select, textarea, input:not([type="checkbox"]):not([type="radio"])) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #dcd3e5;
  border-radius: 11px;
  background-color: #fff;
  color: var(--barella-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
}

#product-1155246461 salla-conditional-fields select { appearance: auto; }
#product-1155246461 salla-conditional-fields :is(button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #b7a8d6;
  outline-offset: 3px;
}

#product-1155246461 .barella-gift-header { padding: 2px 0 12px; }
#product-1155246461 .barella-gift-header h2 {
  margin: 0;
  color: var(--barella-purple);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}
#product-1155246461 .barella-gift-header p {
  margin: 4px 0 0;
  color: var(--barella-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Hide only the original color UI after its replacement is ready. */
#product-1155246461 salla-conditional-fields .s-product-options-option-label.barella-native-color-label { display: none; }
#product-1155246461 .barella-native-color-select:has(+ .barella-color-picker[data-barella-ready="true"]),
#product-1155246461 .barella-color-enhanced .barella-native-color-select {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

#product-1155246461 .barella-color-picker { width: 100%; min-width: 0; }
#product-1155246461 .barella-option-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 46px;
  padding: 2px 0;
  margin: 0;
  list-style: none;
  border: 0;
  background: transparent;
  color: var(--barella-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
}
#product-1155246461 .barella-option-toggle::-webkit-details-marker { display: none; }
#product-1155246461 .barella-option-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-inline-start: 3px;
  border-inline-end: 1.5px solid var(--barella-purple);
  border-block-end: 1.5px solid var(--barella-purple);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
#product-1155246461 .barella-color-picker[open] > .barella-option-toggle::after { transform: rotate(225deg); }
#product-1155246461 .barella-current-color-dot {
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid #d8cfdf;
  border-radius: 50%;
  background: var(--barella-swatch-color, #fff);
  vertical-align: middle;
}
#product-1155246461 .barella-current-color-name {
  color: var(--barella-muted);
  font-size: 12px;
  font-weight: 400;
}
#product-1155246461 .barella-option-title { color: var(--barella-ink); font-size: 15px; font-weight: 700; }
#product-1155246461 .barella-current-choice { display: inline-flex; align-items: center; gap: 7px; margin-inline-start: auto; }
#product-1155246461 .barella-color-reset {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 40px;
  padding: 5px 0;
  margin: 5px 0 0;
  border: 0;
  background: transparent;
  color: var(--barella-purple);
  font-family: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
#product-1155246461 .barella-color-reset[hidden] { display: none; }
#product-1155246461 .barella-color-enhanced:has(.barella-native-color-select:focus-visible) .barella-option-toggle {
  outline: 3px solid #b7a8d6;
  outline-offset: 3px;
}

#product-1155246461 .barella-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  padding-block: 9px 2px;
}
#product-1155246461 .barella-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 62px;
  padding: 5px 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--barella-muted);
  font-family: inherit;
  text-align: center;
  cursor: pointer;
}
#product-1155246461 .barella-swatch-dot {
  display: block;
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  border: 1px solid #d8cfdf;
  border-radius: 50%;
  background: var(--barella-swatch-color, #fff);
  box-shadow: inset 0 0 0 3px #fff;
}
#product-1155246461 .barella-swatch-name { font-size: 11px; font-weight: 400; line-height: 1.5; overflow-wrap: normal; }
#product-1155246461 .barella-swatch:is(.is-selected, [aria-pressed="true"]) { color: var(--barella-purple); }
#product-1155246461 .barella-swatch:is(.is-selected, [aria-pressed="true"]) .barella-swatch-dot {
  box-shadow: 0 0 0 2px var(--barella-purple), inset 0 0 0 3px #fff;
}
#product-1155246461 .barella-swatch:is(.is-selected, [aria-pressed="true"]) .barella-swatch-name { font-weight: 700; }

#product-1155246461 .barella-card-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block-start: 9px; }
#product-1155246461 .barella-card-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 49px;
  padding: 10px;
  margin: 0;
  border: 1px solid var(--barella-line);
  border-radius: 11px;
  background: #fff;
  color: var(--barella-ink);
  font-family: inherit;
  cursor: pointer;
}
#product-1155246461 .barella-card-choice .barella-swatch-dot { width: 28px; height: 22px; border-radius: 4px; transform: rotate(-6deg); box-shadow: 2px 3px 4px #4b335a09; }
#product-1155246461 .barella-card-choice .barella-swatch-name { font-size: 14px; }
#product-1155246461 .barella-card-choice:is(.is-selected, [aria-pressed="true"]) { border-color: var(--barella-purple); background: var(--barella-soft); }

#product-1155246461 [data-option-id="542306755"] textarea {
  min-height: 144px;
  padding: 17px 14px;
  border-color: #e6ddd7;
  border-radius: 13px;
  background: #fffefa;
  box-shadow: 0 5px 16px #b6a59b09;
  color: var(--barella-ink);
  font-size: 16px;
  line-height: 1.95;
  resize: vertical;
  transition: background-color .2s ease;
}
#product-1155246461 [data-option-id="542306755"] textarea::placeholder { color: #98878e; opacity: 1; font-size: 14px; }
#product-1155246461.barella-card-pink [data-option-id="542306755"] textarea { background: #fdf0f3; border-color: #efd8df; }

/* Real option labels and checkboxes stay clickable. Text is replaced only by JS-marked metadata. */
#product-1155246461 [data-option-id="402186904"] .s-product-options-multiple-options-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
#product-1155246461 [data-option-id="402186904"] .s-product-options-multiple-options-wrapper > label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 29px 6px 12px;
  margin: 0;
  border: 1px solid var(--barella-line);
  border-radius: 13px;
  background: #fff;
  color: var(--barella-ink);
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
#product-1155246461 [data-option-id="402186904"] .s-product-options-multiple-options-wrapper > label::before { content: none; }
#product-1155246461 [data-option-id="402186904"] .s-product-options-multiple-options-wrapper > label > input[type="checkbox"] {
  position: absolute;
  top: 9px;
  inset-inline-start: 9px;
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  appearance: auto;
  accent-color: var(--barella-purple);
  cursor: pointer;
  z-index: 1;
}
#product-1155246461 [data-option-id="402186904"] label:has(> input:checked) {
  border-color: var(--barella-purple);
  background: var(--barella-soft);
  box-shadow: inset 0 0 0 1px var(--barella-purple);
}
#product-1155246461 [data-option-id="402186904"] label:focus-within { outline: 3px solid #b7a8d6; outline-offset: 2px; }
#product-1155246461 [data-option-id="402186904"] .barella-perfume-original { display: none; }
#product-1155246461 [data-option-id="402186904"] .barella-perfume-image {
  display: block;
  flex: none;
  width: 100%;
  height: 104px;
  margin: 0 0 10px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}
#product-1155246461 [data-option-id="402186904"] .barella-perfume-meta { display: flex; flex: 1; flex-direction: column; align-items: stretch; min-width: 0; gap: 4px; }
#product-1155246461 [data-option-id="402186904"] .barella-perfume-name { display: flex; justify-content: center; align-items: center; min-height: 43px; color: var(--barella-ink); font-size: 12px; font-weight: 700; line-height: 1.7; white-space: normal; overflow-wrap: normal; }
#product-1155246461 [data-option-id="402186904"] .barella-perfume-size { display: block; color: var(--barella-muted); font-size: 12px; line-height: 1.6; }
#product-1155246461 [data-option-id="402186904"] .barella-perfume-notes { display: block; color: var(--barella-muted); font-size: 12px; line-height: 1.65; white-space: normal; overflow-wrap: normal; }
#product-1155246461 [data-option-id="402186904"] .barella-perfume-price { display: block; margin-block-start: auto; padding-block-start: 8px; color: var(--barella-purple); font-size: 14px; font-weight: 700; line-height: 1.6; white-space: normal; }
#product-1155246461 [data-option-id="402186904"] .barella-perfume-meta,
#product-1155246461 [data-option-id="402186904"] .barella-perfume-meta > span,
#product-1155246461 [data-option-id="402186904"] .barella-perfume-meta > strong {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  margin-inline: 0;
}
#product-1155246461 [data-option-id="402186904"] .barella-perfume-image { height: 116px; object-fit: cover; }

#product-1155246461 [data-option-id="703580634"] .s-product-options-multiple-options-wrapper > label { color: var(--barella-ink); font-size: 14px; line-height: 1.8; }
#product-1155246461 [data-option-id="703580634"] input[type="checkbox"] { width: 19px; height: 19px; accent-color: var(--barella-purple); }

#product-1155246461 .barella-gift-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 15px 12px;
  border-radius: 12px;
  background: var(--barella-soft);
  color: var(--barella-purple);
}
#product-1155246461 .barella-gift-total-label { font-size: 13px; line-height: 1.7; }
#product-1155246461 .barella-gift-total-amount { font-size: 19px; font-weight: 700; white-space: nowrap; }

/* Exact purchase-count badge only. */
#product-1155246461 div:has(> i.sicon-fire) { display: none; }

/* Announcement changes are visible on Pink Rose only. */
body:has(#product-1155246461) .s-advertisement-content { overflow: hidden; background: #64559a; color: #fff; }
body:has(#product-1155246461) .s-advertisement-content a,
body:has(#product-1155246461) .s-advertisement-content button,
body:has(#product-1155246461) .s-advertisement-content i { color: #fff; }
body:has(#product-1155246461) .s-advertisement-content-main {
  max-width: 100%;
  color: #fff;
  font-size: 13px;
  line-height: 1.7;
  animation: barella-pink-rose-announcement 14s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes barella-pink-rose-announcement { from { transform: translateX(-9px); } to { transform: translateX(9px); } }

@media (max-width: 420px) {
  #product-1155246461 salla-conditional-fields { padding: 16px; }
  #product-1155246461 [data-option-id="402186904"] .s-product-options-multiple-options-wrapper { gap: 7px; }
  #product-1155246461 [data-option-id="402186904"] .s-product-options-multiple-options-wrapper > label { padding-inline: 5px; }
}
@media (max-width: 359px) {
  #product-1155246461 salla-conditional-fields { padding-inline: 12px; }
  #product-1155246461 .barella-swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 5px; }
  #product-1155246461 [data-option-id="402186904"] .s-product-options-multiple-options-wrapper { gap: 5px; }
  #product-1155246461 [data-option-id="402186904"] .barella-perfume-image { height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  body:has(#product-1155246461) .s-advertisement-content-main { animation: none; transform: none; will-change: auto; }
  #product-1155246461 .barella-option-toggle::after,
  #product-1155246461 [data-option-id="542306755"] textarea,
  #product-1155246461 [data-option-id="402186904"] .s-product-options-multiple-options-wrapper > label { transition: none; }
}

/* Feedback 17 Oct, 05:36: direct choices and a shorter product page. */
#product-1155246461 > .main-content { display: flex; flex-direction: column; }
#product-1155246461 > .main-content > h1 { order: 10; margin-bottom: 8px; }
#product-1155246461 > .main-content > .flex.whitespace-nowrap { order: 20; margin-bottom: 18px; }
#product-1155246461 > .main-content > form.product-form { order: 30; }
#product-1155246461 > .main-content > salla-installment { order: 40; margin-top: 18px; }
#product-1155246461 > .main-content > .product__description { display: none; }
#product-1155246461 > .main-content > .flex.rtl\:space-x-reverse { order: 50; margin-top: 14px; }
#product-1155246461 > .main-content > :is(salla-bought-together, salla-verified-review, salla-quick-order, section) { order: 60; }
#product-1155246461 [data-option-id="703580634"],
#product-1155246461 .barella-gift-total { display: none; }
#product-1155246461 .barella-option-toggle { min-height: 28px; cursor: default; }
#product-1155246461 .barella-option-toggle::after { display: none; }
#product-1155246461 .barella-swatches { padding-top: 12px; }
#product-1155246461 .barella-swatch { min-height: 62px; }
#product-1155246461 .barella-swatch-dot { width: 31px; height: 31px; }
#product-1155246461 .barella-swatch-name { font-size: 12px; }
#product-1155246461 .barella-color-reset { min-height: 32px; margin-top: 0; }
#product-1155246461 [data-option-id="542306755"] .s-product-options-option-label small { display: none; }
#product-1155246461 .barella-gallery-original { display: none !important; }
#product-1155246461 .barella-gallery { width: 100%; }
#product-1155246461 .barella-gallery-main { display: block; width: 100%; overflow: hidden; border-radius: 12px; background: #fff; touch-action: pan-y; }
#product-1155246461 .barella-gallery-photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
#product-1155246461 .barella-gallery-thumbs { display: flex; justify-content: center; gap: 10px; padding: 12px 0 0; }
#product-1155246461 .barella-gallery-thumb { width: 64px; height: 64px; padding: 3px; border: 1px solid #e8e2ee; border-radius: 9px; background: #fff; cursor: pointer; }
#product-1155246461 .barella-gallery-thumb[aria-pressed="true"] { border: 2px solid #64559a; padding: 2px; }
#product-1155246461 .barella-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
#product-1155246461 .barella-gallery :is(a, button):focus-visible { outline: 3px solid #b7a8d6; outline-offset: 3px; }
body:has(#product-1155246461) .s-advertisement-content { position: relative; justify-content: center; padding-inline: 40px; }
body:has(#product-1155246461) .barella-announcement-viewport { display: block; width: 100%; overflow: hidden; direction: ltr; }
body:has(#product-1155246461) .barella-announcement-track { display: flex; width: max-content; animation: barella-announcement-scroll 20s linear infinite; will-change: transform; }
body:has(#product-1155246461) .barella-announcement-track .s-advertisement-content-main { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; max-width: none; padding-inline: 40px; white-space: nowrap; direction: rtl; animation: none; transform: none; will-change: auto; }
body:has(#product-1155246461) .barella-announcement-track:focus-within { animation-play-state: paused; }
@keyframes barella-announcement-scroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 359px) {
  #product-1155246461 .barella-swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  #product-1155246461 .barella-swatch-name { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  body:has(#product-1155246461) .barella-announcement-track { width: 100%; animation: none; transform: none; will-change: auto; }
  body:has(#product-1155246461) .barella-announcement-track .s-advertisement-content-main { width: 100%; padding-inline: 0; white-space: normal; }
  body:has(#product-1155246461) .barella-announcement-track [aria-hidden="true"] { display: none; }
}
#product-1155246461 > .main-content > div:has(> div > i.sicon-fire) { display: none; }
body:has(#product-1155246461) .barella-announcement-track .s-advertisement-content-main { min-width: calc(100vw - 80px); }
@media (prefers-reduced-motion: reduce) {
  body:has(#product-1155246461) .barella-announcement-track .s-advertisement-content-main { min-width: 0; }
}