@charset "UTF-8";
/* 제품 옵션 선택 (js/option.js) */

/* 고른 옵션 표시 (Apple CSS에 선택 스타일이 없을 때를 대비) */
label.agn-option-checked,
.agn-option-checked {
  box-shadow: 0 0 0 2px #0071e3;
  border-radius: 12px;
}

/* colornav(색상 동그라미)는 동그랗게 */
.colornav-link.agn-option-checked {
  border-radius: 50%;
}

/* 지금 고른 조합으로는 살 수 없는 옵션 */
.agn-option-unavailable {
  opacity: 0.35;
}

.agn-option-unavailable::after {
  content: "";
}

/* 크롤링 화면에 없어서 option.js가 만든 단계 (예: Apple Watch 케이스 색상) */
.agn-option-made {
  margin: 32px 0;
  font-family: "SF Pro KR", "SF Pro Text", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: #1d1d1f;
}

.agn-option-made-title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
}

.agn-option-made-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.agn-option-made-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #86868b;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
}

.agn-option-made-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.agn-option-made-item img {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.agn-option-made-item.agn-option-checked {
  border-color: transparent;
}

/* 화면 아래 요약 막대 */
.agn-option-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.6, 1);
  background: rgba(250, 250, 252, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid #d2d2d7;
  font-family: "SF Pro KR", "SF Pro Text", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: #1d1d1f;
}

.agn-option-bar.is-visible {
  transform: none;
}

.agn-option-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 22px;
}

.agn-option-bar-text {
  flex: 1;
  min-width: 0;
}

.agn-option-bar-label {
  display: block;
  font-size: 12px;
  color: #6e6e73;
}

.agn-option-bar-values {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 600;
}

.agn-option-bar-price {
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.agn-option-bar-button {
  flex: none;
  padding: 10px 22px;
  border-radius: 980px;
  background: #0071e3;
  color: #fff !important;
  font-size: 15px;
  text-decoration: none !important;
  white-space: nowrap;
}

.agn-option-bar-button.is-disabled {
  background: #d2d2d7;
  color: #86868b !important;
  cursor: default;
}

@media (max-width: 734px) {
  .agn-option-bar-inner {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .agn-option-bar-text {
    flex-basis: 100%;
  }
}
