/* ===== Extra Services — Product Page ===== */
.extra-services { margin: 12px 0 16px; }

.extra-services__item {
  padding: 10px 16px;
  background: #f8f8f8;
  border-radius: 12px;
  margin-bottom: 8px;
}

.extra-services__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.extra-services__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
  user-select: none;
  flex: 1;
  min-width: 0;
}

.extra-services__checkbox { display: none; }

.extra-services__slider {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 24px;
  transition: background .2s;
}

.extra-services__slider::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}

.extra-services__checkbox:checked + .extra-services__slider {
  background: #13D154;
}

.extra-services__checkbox:checked + .extra-services__slider::after {
  transform: translateX(20px);
}

.extra-services__label {
  flex: 1;
  font-size: 14px;
  color: #333;
}

.extra-services__price {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Gift Wrap */
.extra-services__gift-wrap-body {
  margin-top: 10px;
}

.extra-services__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 10px;
}

.extra-services__tab-btn {
  background: none;
  border: none;
  padding: 6px 16px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}

.extra-services__tab-btn.active {
  color: #333;
  font-weight: 500;
  border-bottom-color: #333;
}

.extra-services__tab-content { display: none; }
.extra-services__tab-content.active { display: block; }

.extra-services__images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.extra-services__image-item {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: border-color .2s;
}

.extra-services__image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.extra-services__image-item.selected {
  border-color: #13D154;
}

.extra-services__image-check {
  display: none;
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #13D154;
}

.extra-services__image-check::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  top: 3px;
  left: 3px;
  background: #13D154;
  border-radius: 50%;
}

.extra-services__image-item.selected .extra-services__image-check {
  display: block;
}

/* Info icon & tooltip — Product Page */
.extra-services__info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.extra-services__info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 14px;
  color: #999;
  cursor: pointer;
  border-radius: 50%;
  transition: color .2s;
  line-height: 1;
  font-style: normal;
}

.extra-services__info-icon:hover { color: #666; }

.extra-services__info-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 12px;
  border-radius: 8px;
  min-width: 200px;
  max-width: 280px;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  font-weight: 400;
  white-space: normal;
}

.extra-services__info-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
}

.extra-services__info-tooltip.active { display: block; }

/* ===== Extra Services — Cart ===== */
.cart__item-extras {
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.015);
  margin-top: 8px;
  margin-bottom: 4px;
}

@media (max-width: 1199px) {
  .cart__item-extras {
    margin-bottom: 14px;
  }
}

@media (min-width: 1200px) {
  .cart__item-extras {
    margin-left: 14rem;
    margin-right: 2rem;
  }
}

.extra-services-cart__item {
  padding: 6px 0;
}

.extra-services-cart__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.extra-services-cart__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
  user-select: none;
  flex: 1;
  min-width: 0;
}

.extra-services-cart__checkbox { display: none; }

.extra-services-cart__slider {
  position: relative;
  width: 36px;
  min-width: 36px;
  height: 20px;
  background: #ccc;
  border-radius: 20px;
  transition: background .2s;
}

.extra-services-cart__slider::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}

.extra-services-cart__checkbox:checked + .extra-services-cart__slider {
  background: #13D154;
}

.extra-services-cart__checkbox:checked + .extra-services-cart__slider::after {
  transform: translateX(16px);
}

.extra-services-cart__label {
  flex: 1;
  font-size: 12px;
  color: #555;
}

.extra-services-cart__price {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Cart Gift Wrap */
.extra-services-cart__gift-wrap-body { margin-top: 8px; }

.extra-services-cart__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}

.extra-services-cart__tab-btn {
  background: none;
  border: none;
  padding: 4px 12px;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.extra-services-cart__tab-btn.active {
  color: #333;
  border-bottom-color: #333;
}

.extra-services-cart__tab-content { display: none; }
.extra-services-cart__tab-content.active { display: block; }

.extra-services-cart__images {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.extra-services-cart__image-item {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
}

.extra-services-cart__image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.extra-services-cart__image-item.selected { border-color: #13D154; }

.extra-services-cart__image-check {
  display: none;
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #13D154;
}

.extra-services-cart__image-check::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  top: 2px;
  left: 2px;
  background: #13D154;
  border-radius: 50%;
}

.extra-services-cart__image-item.selected .extra-services-cart__image-check { display: block; }

/* Info icon & tooltip — Cart */
.extra-services-cart__info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.extra-services-cart__info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 12px;
  color: #aaa;
  cursor: pointer;
  border-radius: 50%;
  transition: color .2s;
  line-height: 1;
  font-style: normal;
}

.extra-services-cart__info-icon:hover { color: #666; }

.extra-services-cart__info-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 6px;
  min-width: 180px;
  max-width: 240px;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  font-weight: 400;
  white-space: normal;
}

.extra-services-cart__info-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
}

.extra-services-cart__info-tooltip.active { display: block; }
