/* ===== PAGES COMMON ===== */
.page_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 100px 0 20px;
  background: #000;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 11px;
  color: #555;
  letter-spacing: 1px;
}

.breadcrumb a:hover { color: #fff; opacity: 1; }
.breadcrumb .current { color: #999; }
.breadcrumb span { margin: 0 6px; }

/* ===== PAGE TITLE ===== */
.page_title {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 10px;
  color: #fff;
  text-align: center;
  padding: 120px 0 50px;
  background: #000;
}

/* ===== PRODUCT DETAIL ===== */
.product_detail {
  padding: 0 0 80px;
  background: #000;
}

.detail_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.main_image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #111;
}

.main_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb_list {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.thumb_item {
  width: 72px;
  height: 96px;
  overflow: hidden;
  border: 1px solid transparent;
  opacity: 0.5;
  transition: all 0.3s ease;
  padding: 0;
  cursor: pointer;
}

.thumb_item.active {
  border-color: #fff;
  opacity: 1;
}

.thumb_item:hover { opacity: 0.8; }

.thumb_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Detail Info */
.detail_info {
  padding-top: 10px;
}

.detail_name {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.detail_price_wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.detail_sale_per {
  font-size: 22px;
  font-weight: 700;
  color: #e74c3c;
}

.detail_sale_price {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.detail_origin_price {
  font-size: 14px;
  color: #555;
  text-decoration: line-through;
}

.detail_review_summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.detail_review_summary .stars {
  font-size: 13px;
  color: #c4a46c;
}

.detail_review_summary .count {
  font-size: 12px;
  color: #666;
}

.detail_divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 24px 0;
}

/* Options */
.option_group {
  margin-bottom: 24px;
}

.option_group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.option_colors {
  display: flex;
  gap: 10px;
}

.opt_color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s ease;
  outline: none;
}

.opt_color.active {
  border-color: #fff;
}

.option_sizes {
  display: flex;
  gap: 8px;
}

.opt_size {
  width: 48px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  color: #888;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.opt_size:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.opt_size.active {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* Quantity */
.qty_wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.15);
}

.qty_btn {
  width: 36px;
  height: 36px;
  color: #999;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.qty_btn:hover { color: #fff; }

.qty_input {
  width: 48px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.15);
  border-right: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  outline: none;
  -moz-appearance: textfield;
}

.qty_input::-webkit-inner-spin-button,
.qty_input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Total */
.detail_total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.detail_total span {
  font-size: 13px;
  color: #999;
  letter-spacing: 1px;
}

.detail_total strong {
  font-size: 22px;
  color: #fff;
  font-weight: 700;
}

/* Buttons */
.detail_buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.btn_buy {
  flex: 1;
  padding: 16px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: background 0.3s ease;
}

.btn_buy:hover { background: #e0e0e0; }

.btn_cart {
  flex: 1;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.btn_cart:hover {
  border-color: #fff;
}

.btn_wish {
  width: 52px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn_wish:hover { border-color: #fff; }

/* Meta */
.detail_meta {
  padding: 20px 0;
}

.meta_row {
  display: flex;
  gap: 20px;
  padding: 8px 0;
}

.meta_label {
  width: 80px;
  font-size: 12px;
  color: #666;
  letter-spacing: 0.5px;
}

.meta_value {
  font-size: 12px;
  color: #999;
}

/* ===== DETAIL TABS ===== */
.detail_tab_section {
  padding: 0 0 100px;
  background: #000;
}

.detail_tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 40px;
}

.detail_tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #666;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.detail_tab:hover { color: #fff; }

.detail_tab.active {
  color: #fff;
  border-bottom-color: #fff;
}

.tab_content {
  display: none;
}

.tab_content.active {
  display: block;
}

/* Size Table */
.size_table {
  margin-bottom: 60px;
}

.size_table h3 {
  font-size: 14px;
  color: #fff;
  letter-spacing: 3px;
  font-weight: 500;
  margin-bottom: 20px;
}

.size_table table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}

.size_table th,
.size_table td {
  padding: 12px 16px;
  text-align: center;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.size_table th {
  color: #999;
  font-weight: 500;
  letter-spacing: 1px;
}

.size_table td {
  color: #bbb;
}

/* Detail Content */
.detail_content_area {
  text-align: center;
}

.detail_content_area img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px;
}

.detail_text_block {
  max-width: 600px;
  margin: 40px auto 60px;
}

.detail_text_block h3 {
  font-size: 18px;
  color: #fff;
  font-weight: 300;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.detail_text_block p {
  font-size: 13px;
  color: #888;
  line-height: 2;
}

/* Review List */
.review_list {
  padding: 0;
}

.review_item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.review_header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review_rating {
  font-size: 12px;
  color: #c4a46c;
}

.reviewer {
  font-size: 12px;
  color: #999;
}

.review_date {
  font-size: 11px;
  color: #555;
}

.review_content {
  font-size: 13px;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 8px;
}

.review_option {
  font-size: 11px;
  color: #555;
}

/* QnA */
.qna_item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.qna_q, .qna_a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
}

.qna_badge {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #333;
  border-radius: 4px;
}

.qna_a_badge {
  background: #c4a46c;
  color: #000;
}

.qna_text {
  font-size: 13px;
  color: #bbb;
  line-height: 1.7;
  padding-top: 2px;
}

/* Shipping Info */
.shipping_info h4 {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.shipping_info ul {
  margin-bottom: 30px;
}

.shipping_info li {
  font-size: 13px;
  color: #888;
  line-height: 2;
  padding-left: 14px;
  position: relative;
}

.shipping_info li::before {
  content: '·';
  position: absolute;
  left: 0;
}

/* ===== AUTH PAGES ===== */
.auth_section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: #000;
}

.auth_container {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.auth_title {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 10px;
  color: #fff;
  margin-bottom: 12px;
}

.auth_subtitle {
  font-size: 13px;
  color: #666;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.auth_form {
  text-align: left;
}

.form_group {
  margin-bottom: 16px;
}

.form_label {
  display: block;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form_label .required {
  color: #e74c3c;
}

.form_input {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
  font-family: 'Pretendard', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

.form_input:focus {
  border-color: rgba(255,255,255,0.4);
}

.form_input::placeholder {
  color: #444;
}

.form_options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.checkbox_label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.checkbox_label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #fff;
}

.checkbox_label span {
  font-size: 12px;
  color: #888;
}

.find_link {
  font-size: 12px;
  color: #666;
}

.auth_submit {
  width: 100%;
  padding: 16px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth_submit:hover {
  background: #e0e0e0;
}

/* Social Login */
.social_login {
  margin-top: 30px;
}

.social_divider {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.social_divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.social_divider span {
  position: relative;
  background: #000;
  padding: 0 16px;
  font-size: 11px;
  color: #555;
  letter-spacing: 1px;
}

.social_btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social_btn {
  width: 100%;
  padding: 14px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Pretendard', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

.social_btn:hover { opacity: 0.85; }

.social_btn.kakao {
  background: #FEE500;
  color: #3C1E1E;
}

.social_btn.naver {
  background: #03C75A;
  color: #fff;
}

.auth_footer_links {
  margin-top: 30px;
  font-size: 13px;
  color: #666;
}

.signup_link {
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
  text-decoration: underline;
}

/* Agreement */
.agreement_section {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.agree_all {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 12px;
}

.agree_all span {
  font-weight: 600;
  color: #ccc;
}

.agree_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== CART PAGE ===== */
.cart_section {
  padding: 0 0 100px;
  background: #000;
}

.cart_layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.cart_header_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.cart_delete_selected {
  font-size: 12px;
  color: #666;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.cart_delete_selected:hover { color: #fff; }

.cart_item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cart_checkbox {
  flex-shrink: 0;
}

.cart_checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #fff;
}

.cart_item_img {
  width: 100px;
  height: 133px;
  flex-shrink: 0;
  overflow: hidden;
  background: #111;
}

.cart_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart_item_info {
  flex: 1;
}

.cart_item_name {
  font-size: 14px;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 400;
}

.cart_item_option {
  font-size: 12px;
  color: #666;
  margin-bottom: 14px;
}

.cart_item_price {
  text-align: right;
  flex-shrink: 0;
}

.cart_sale_price {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.cart_origin_price {
  font-size: 12px;
  color: #555;
  text-decoration: line-through;
}

.cart_item_remove {
  color: #555;
  padding: 8px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.cart_item_remove:hover { color: #fff; }

/* Cart Empty */
.cart_empty {
  text-align: center;
  padding: 80px 0;
  color: #555;
}

.cart_empty p {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.continue_shopping {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 32px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #999;
  font-size: 12px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.continue_shopping:hover {
  opacity: 1;
  border-color: #fff;
  color: #fff;
}

/* Cart Summary */
.cart_summary {
  position: sticky;
  top: 100px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 30px;
}

.summary_title {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.summary_row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: #999;
}

.summary_row .discount {
  color: #e74c3c;
}

.summary_divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 16px 0;
}

.summary_row.total {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}

.btn_checkout {
  width: 100%;
  padding: 16px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 24px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn_checkout:hover { background: #e0e0e0; }

.continue_link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: #666;
  letter-spacing: 1px;
}

.continue_link:hover { opacity: 1; color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .page_container { padding: 0 24px; }

  .detail_wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cart_layout {
    grid-template-columns: 1fr;
  }

  .cart_summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .page_container { padding: 0 16px; }
  .page_title { padding: 100px 0 30px; font-size: 22px; }

  .detail_buttons {
    flex-wrap: wrap;
  }

  .btn_buy, .btn_cart { flex: 1 1 calc(50% - 4px); }
  .btn_wish { width: 100%; }

  .cart_item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cart_item_img {
    width: 80px;
    height: 107px;
  }

  .cart_item_price {
    width: 100%;
    text-align: left;
    padding-left: 36px;
  }

  .detail_tabs { overflow-x: auto; }
  .detail_tab { white-space: nowrap; font-size: 12px; }

  .auth_container { max-width: 100%; }
}
