/* WooCommerce 마이페이지 스타일 오버라이드 */

/* 전체 컨테이너 설정 - 일관된 너비 */
.woocommerce-MyAccount-content,
.sts-myaccount-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 모든 컨텐츠 영역 통일 */
.sts-myaccount-content {
  width: 100%;
}

/* 네비게이션 숨김 처리 (탭 형태로 변경) */
.woocommerce-MyAccount-navigation {
  display: none;
}

/* 전체 마이페이지 래퍼 */
.woocommerce-account .woocommerce {
  display: flex;
  flex-direction: column;
}

/* 공통 컨테이너 스타일 - 모든 탭에서 동일한 너비 */
.sts-content-wrapper {
  width: 1160px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 탭 네비게이션 스타일 */
.sts-myaccount-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  width: 1160px;
  margin: 0 auto 40px auto;
  padding: 15px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sts-myaccount-tabs a {
  padding: 15px 0;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: all 0.2s ease;
  background: none;
  border: none;
  box-shadow: none;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-icon {
  display: inline-flex;
  align-items: center;
}

.tab-icon svg {
  transition: all 0.3s ease;
}

.sts-myaccount-tabs a:last-child {
  border-right: none;
}

.sts-myaccount-tabs a:hover {
  background: #f8f9fa;
  color: #333;
}

.sts-myaccount-tabs a:hover {
  color: #333;
}

.sts-myaccount-tabs a.active {
  color: #333;
  font-weight: 600;
  border-bottom-color: #333;
}

/* Custom Dashboard Styles */
.sts-custom-dashboard {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  margin: 0 auto;
}

.dashboard-header {
  margin-bottom: 40px;
  text-align: center;
}

.dashboard-header h2 {
  color: #333;
  font-size: 28px;
  margin-bottom: 10px;
}

.dashboard-header p {
  color: #666;
  font-size: 16px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.stat-box {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-box .stat-icon {
  display: block;
  margin-bottom: 15px;
  color: #666;
}

.stat-box .stat-icon svg {
  width: 40px;
  height: 40px;
}

.stat-box h3 {
  color: #111;
  font-size: 32px;
  margin: 0 0 10px 0;
  font-weight: 700;
}

.stat-box p {
  color: #666;
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

.recent-orders {
  margin-top: 40px;
}

.recent-orders h3 {
  color: #333;
  font-size: 20px;
  margin-bottom: 20px;
}

.recent-orders table {
  width: 100%;
  border-collapse: collapse;
}

.recent-orders th {
  background: #f9fafb;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
}

.recent-orders td {
  padding: 15px 12px;
  border-bottom: 1px solid #f3f4f6;
}

.recent-orders tr:hover {
  background: #f9fafb;
}

.view-all-orders {
  display: inline-block;
  margin-top: 20px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.view-all-orders:hover {
  color: #000;
  border-bottom-color: #333;
}
.woocommerce-MyAccount-navigation {
  float: left;
  width: 25%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 0;
  overflow: hidden;
  margin-right: 30px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation-link {
  border-bottom: 1px solid #f3f4f6;
}

.woocommerce-MyAccount-navigation-link:last-child {
  border-bottom: none;
}

.woocommerce-MyAccount-navigation-link a {
  display: block;
  padding: 20px 25px;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.woocommerce-MyAccount-navigation-link a:hover {
  background: #f9fafb;
  color: #6b46c1;
  padding-left: 30px;
}

.woocommerce-MyAccount-navigation-link.is-active a {
  background: #f5f5f5;
  color: #333;
  font-weight: 600;
}

.woocommerce-MyAccount-navigation-link.is-active a:after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.woocommerce-MyAccount-content {
  float: right;
  width: calc(75% - 30px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 40px;
}

/* 대시보드 스타일 */
.woocommerce-MyAccount-content > p:first-child {
  font-size: 18px;
  color: #1f2937;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f3f4f6;
}

.woocommerce-MyAccount-content strong {
  color: #6b46c1;
  font-weight: 600;
}

/* 마이페이지 공통 스타일 */
.sts-myaccount-login {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 20px;
}

.sts-myaccount-login h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #333;
}

.sts-login-divider {
  text-align: center;
  margin: 30px 0;
  position: relative;
}

.sts-login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #e0e0e0;
}

.sts-login-divider span {
  background: #fff;
  padding: 0 20px;
  position: relative;
  color: #666;
  font-size: 14px;
}

/* 주문 조회 페이지 스타일 */
.sts-order-tracking,
.sts-order-tracking-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.sts-order-tracking h2,
.sts-order-tracking-page h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.sts-tracking-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.sts-tracking-info p {
  margin: 0;
  color: #666;
}

.sts-tracking-form {
  background: #fff;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 30px;
}

.sts-tracking-form .form-group {
  margin-bottom: 20px;
}

.sts-tracking-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.sts-tracking-form label .required {
  color: #e74c3c;
}

.sts-tracking-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.sts-tracking-form input:focus {
  outline: none;
  border-color: #3498db;
}

.sts-tracking-form small {
  display: block;
  margin-top: 5px;
  color: #777;
  font-size: 13px;
}

.sts-button,
.sts-track-button {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.sts-button:hover,
.sts-track-button:hover {
  background: #2980b9;
}

/* 주문 조회 결과 */
.sts-order-result {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin-top: 30px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  animation: slideUp 0.5s ease;
}

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

.sts-order-result.loading {
  text-align: center;
  color: #6b7280;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sts-order-result.loading:before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #6b46c1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 15px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.sts-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f3f4f6;
  padding-bottom: 25px;
  margin-bottom: 30px;
}

.sts-order-header h3 {
  margin: 0;
  font-size: 24px;
  color: #1f2937;
  font-weight: 600;
}

.sts-order-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.sts-order-info-item {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.sts-order-info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sts-order-info-item label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sts-order-info-item span {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

/* 주문 상품 목록 */
.sts-order-items {
  margin-top: 40px;
}

.sts-order-items h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
}

.sts-order-items-table {
  width: 100%;
  border-collapse: collapse;
}

.sts-order-items-table tr {
  border-bottom: 1px solid #f3f4f6;
}

.sts-order-items-table tr:last-child {
  border-bottom: none;
}

.sts-order-items-table td {
  padding: 20px 10px;
  vertical-align: middle;
}

.sts-order-items-table .item-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.sts-order-items-table .item-name {
  font-weight: 500;
  color: #374151;
}

.sts-order-items-table .item-quantity {
  color: #6b7280;
  font-size: 14px;
}

.sts-order-items-table .item-subtotal {
  font-weight: 600;
  color: #1f2937;
  text-align: right;
}

.sts-order-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.sts-order-status.processing {
  background: #3498db;
  color: #fff;
}

.sts-order-status.completed {
  background: #27ae60;
  color: #fff;
}

.sts-order-status.on-hold {
  background: #f39c12;
  color: #fff;
}

/* 프로필 페이지 스타일 */
.sts-profile-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.sts-profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.sts-profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e0e0e0;
}

.sts-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sts-profile-info h3 {
  margin: 0 0 10px 0;
  font-size: 24px;
  color: #333;
}

.sts-profile-info .email {
  margin: 0 0 10px 0;
  color: #666;
}

.sts-profile-info .kakao-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fee500;
  color: #000;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* 통계 박스 */
.sts-profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-box {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}

.stat-box h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.stat-box .stat-value {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

/* 프로필 상세 정보 */
.sts-profile-details {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
}

.sts-profile-details h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
  color: #333;
}

.sts-profile-table {
  width: 100%;
  border-collapse: collapse;
}

.sts-profile-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.sts-profile-table tr:last-child {
  border-bottom: none;
}

.sts-profile-table th,
.sts-profile-table td {
  padding: 15px 0;
  text-align: left;
}

.sts-profile-table th {
  width: 30%;
  color: #666;
  font-weight: 400;
}

.sts-profile-table td {
  color: #333;
  font-weight: 600;
}

/* 프로필 액션 버튼 */
.sts-profile-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.sts-profile-actions .button {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.sts-profile-actions .button:hover {
  background: #2980b9;
}

/* 도움말 섹션 */
.sts-tracking-help {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
}

.sts-tracking-help h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  color: #333;
}

.sts-tracking-help ul {
  margin: 0;
  padding-left: 20px;
}

.sts-tracking-help li {
  margin-bottom: 10px;
  color: #666;
}

.sts-tracking-help a {
  color: #3498db;
  text-decoration: none;
}

.sts-tracking-help a:hover {
  text-decoration: underline;
}

/* 주문 내역 컨테이너 */
.sts-order-tracking {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif !important;
}

.sts-order-tracking.logged-in {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
}

.sts-order-tracking.logged-in h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.sts-order-tracking.logged-in h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #6b46c1;
  border-radius: 2px;
}

/* 주문 내역 테이블 */
.sts-orders-list {
  margin-bottom: 60px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.sts-orders-table {
  width: 100%;
  border-collapse: collapse;
}

.sts-orders-table thead {
  background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 100%);
}

.sts-orders-table th {
  padding: 20px;
  text-align: left;
  font-weight: 600;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sts-orders-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #f5f5f5;
  color: #4a4a4a;
  font-size: 15px;
}

.sts-orders-table tbody tr {
  transition: all 0.3s ease;
}

.sts-orders-table tbody tr:hover {
  background: #fafafa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sts-orders-table tbody tr:last-child td {
  border-bottom: none;
}

/* 주문 번호 스타일 */
.sts-orders-table td:first-child {
  font-weight: 600;
  color: #6b46c1;
}

/* 주문 상태 배지 */
.sts-order-status {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.sts-order-status.processing {
  background: #e0e7ff;
  color: #4338ca;
}

.sts-order-status.completed {
  background: #d1fae5;
  color: #065f46;
}

.sts-order-status.on-hold {
  background: #fef3c7;
  color: #92400e;
}

.sts-order-status.pending {
  background: #fee2e2;
  color: #991b1b;
}

.sts-order-status.cancelled,
.sts-order-status.refunded,
.sts-order-status.failed {
  background: #f3f4f6;
  color: #6b7280;
}

/* 상세보기 버튼 */
.sts-view-order {
  display: inline-block;
  padding: 8px 20px;
  background: #6b46c1;
  color: #fff !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.sts-view-order:hover {
  background: #553c9a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
  text-decoration: none;
}

/* 주문 없음 메시지 */
.sts-no-orders {
  text-align: center;
  padding: 80px 40px;
  background: #f9fafb;
  border-radius: 16px;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
}

.sts-no-orders:before {
  content: "📦";
  display: block;
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.5;
}

/* 비회원 주문 조회 섹션 */
.sts-guest-tracking {
  margin-top: 60px;
  padding: 40px;
  background: #f9fafb;
  border-radius: 16px;
  border: 2px dashed #e5e7eb;
}

.sts-guest-tracking h3 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #374151;
  font-weight: 600;
}

.sts-guest-tracking p {
  color: #6b7280;
  margin-bottom: 30px;
}

.sts-guest-tracking .sts-tracking-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sts-login-prompt {
  margin-top: 20px;
  padding: 20px;
  background: #e3f2fd;
  border-radius: 8px;
  text-align: center;
}

.sts-login-prompt p {
  margin: 0;
  color: #1976d2;
}

.sts-login-prompt a {
  color: #1565c0;
  font-weight: 600;
}

/* 알림 메시지 */
.sts-alert {
  padding: 15px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.sts-alert-error {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
}

.sts-alert-success {
  background: #efe;
  border: 1px solid #cfc;
  color: #3c3;
}

/* WooCommerce 주문 테이블 스타일 */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.woocommerce-orders-table thead {
  background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 100%);
}

.woocommerce-orders-table th {
  padding: 15px;
  color: #fff;
  font-weight: 600;
  text-align: left;
}

.woocommerce-orders-table td {
  padding: 15px;
  border-bottom: 1px solid #f3f4f6;
}

.woocommerce-orders-table tbody tr:hover {
  background: #f9fafb;
}

/* WooCommerce 버튼 스타일 */
.woocommerce .button,
.woocommerce button.button {
  background: #6b46c1;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: #553c9a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

/* Clear float for layout */
.woocommerce:after,
.woocommerce-MyAccount-content:after {
  content: "";
  display: table;
  clear: both;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  /* WooCommerce 마이페이지 반응형 */
  .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
    margin-bottom: 30px;
    margin-right: 0;
  }

  .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
  }

  .woocommerce-MyAccount-navigation-link a {
    padding: 15px 20px;
  }
  .sts-profile-header {
    flex-direction: column;
    text-align: center;
  }

  .sts-profile-stats {
    grid-template-columns: 1fr;
  }

  .sts-profile-actions {
    flex-direction: column;
  }

  .sts-profile-actions .button {
    width: 100%;
    text-align: center;
  }

  /* 주문 테이블 반응형 */
  .sts-orders-list {
    border-radius: 12px;
    overflow: visible;
    box-shadow: none;
  }

  .sts-orders-table thead {
    display: none;
  }

  .sts-orders-table tbody tr {
    display: block;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
  }

  .sts-orders-table tbody tr:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .sts-orders-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border: none;
    text-align: left;
  }

  .sts-orders-table td:before {
    content: attr(data-label);
    font-weight: 600;
    color: #6b7280;
    font-size: 13px;
  }

  .sts-orders-table td:first-child {
    font-size: 18px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
  }

  .sts-view-order {
    padding: 10px 20px;
    width: auto;
    font-size: 14px;
  }

  /* 주문 조회 결과 반응형 */
  .sts-order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .sts-order-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sts-order-result {
    padding: 20px;
  }

  /* Custom Dashboard Mobile Styles */
  .sts-custom-dashboard {
    padding: 20px;
  }

  .dashboard-header h2 {
    font-size: 24px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-box {
    padding: 20px;
  }

  .stat-box .stat-icon {
    font-size: 32px;
  }

  .stat-box h3 {
    font-size: 24px;
  }

  .recent-orders table {
    font-size: 14px;
  }

  .recent-orders th,
  .recent-orders td {
    padding: 10px 8px;
  }
}

/* 새로운 프로필 페이지 스타일 */
.sts-profile-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.sts-profile-header {
  text-align: center;
  margin-bottom: 40px;
}

.sts-profile-title {
  font-size: 32px;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 700;
}

.sts-profile-subtitle {
  font-size: 16px;
  color: #666;
}

.sts-profile-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
}

.sts-profile-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.sts-profile-image-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.sts-profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.sts-profile-image-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.sts-kakao-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 8px 16px;
  background: #fee500;
  color: #000;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.sts-member-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sts-info-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.sts-info-item:last-child {
  border-bottom: none;
}

.sts-info-label {
  color: #666;
  font-size: 14px;
}

.sts-info-value {
  color: #1a1a1a;
  font-weight: 600;
}

.sts-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 25px;
  font-weight: 600;
}

.sts-card-title svg {
  color: #666;
}

.sts-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sts-form-group {
  display: flex;
  flex-direction: column;
}

.sts-form-full {
  grid-column: 1 / -1;
}

.sts-form-group label {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}

.sts-form-input {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.sts-form-input:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.sts-form-hint {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
}

.sts-form-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.sts-input-group {
  display: flex;
  gap: 10px;
}

.sts-input-group .sts-form-input {
  flex: 1;
}

.sts-btn-secondary {
  padding: 12px 20px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sts-btn-secondary:hover {
  background: #e9e9e9;
}

.sts-form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
}

.sts-btn-primary {
  padding: 16px 40px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sts-btn-primary:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sts-btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.sts-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.sts-form-message {
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  display: none;
}

.sts-form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.sts-form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.required {
  color: #ff4444;
}

/* 주문 테이블 스타일 */
.sts-orders-container {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.sts-orders-container h2 {
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 30px;
  font-weight: 600;
}

.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.woocommerce-orders-table thead {
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}

.woocommerce-orders-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: #495057;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.woocommerce-orders-table td {
  padding: 20px 15px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.woocommerce-orders-table tbody tr:hover {
  background: #f8f9fa;
}

.woocommerce-orders-table a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.woocommerce-orders-table a:hover {
  color: #000;
  text-decoration: underline;
}

.order-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.order-status.status-completed {
  background: #d4edda;
  color: #155724;
}

.order-status.status-processing {
  background: #cce5ff;
  color: #004085;
}

.order-status.status-on-hold {
  background: #fff3cd;
  color: #856404;
}

.order-status.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

.order-status.status-refunded {
  background: #e2e3e5;
  color: #383d41;
}

.woocommerce-button {
  display: inline-block;
  padding: 8px 16px;
  background: #555;
  color: #fff !important;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.3s ease;
  margin-right: 8px;
}

.woocommerce-button:hover {
  background: #333;
  transform: translateY(-1px);
}

.woocommerce-button.view {
  background: #6c757d;
}

.woocommerce-button.view:hover {
  background: #545b62;
}

.woocommerce-message {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  color: #6c757d;
  font-size: 16px;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
  .sts-content-wrapper,
  .sts-myaccount-tabs {
    width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .sts-profile-grid {
    grid-template-columns: 1fr;
  }

  .sts-profile-sidebar {
    order: -1;
  }

  .sts-form-grid {
    grid-template-columns: 1fr;
  }

  .sts-profile-card {
    padding: 20px;
  }

  .sts-btn-primary {
    width: 100%;
    justify-content: center;
  }

  .sts-form-actions {
    flex-direction: column;
  }

  .sts-form-message {
    width: 100%;
    text-align: center;
  }

  /* 주문 테이블 모바일 */
  .woocommerce-orders-table {
    font-size: 14px;
  }

  .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-orders-table tr {
    display: block;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
  }

  .woocommerce-orders-table td {
    display: block;
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #f0f0f0;
  }

  .woocommerce-orders-table td:last-child {
    border-bottom: none;
  }

  .woocommerce-orders-table td:before {
    content: attr(data-title);
    float: left;
    font-weight: 600;
    color: #495057;
  }

  .sts-orders-container {
    padding: 20px;
  }
}

/* 주문 상세 페이지 스타일 */
.sts-order-detail-wrapper {
  width: 1160px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.sts-order-header {
  margin-bottom: 30px;
}

.sts-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.sts-back-link:hover {
  color: #374151;
}

.sts-order-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.sts-order-info-section {
  margin-bottom: 40px;
}

.sts-order-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: #f9fafb;
  border-radius: 12px;
  margin-bottom: 30px;
}

.sts-order-number {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sts-order-number h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.sts-order-date {
  color: #6b7280;
  font-size: 16px;
}

.sts-order-status {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.order-status-pending {
  background: #fef3c7;
  color: #92400e;
}

.order-status-processing {
  background: #dbeafe;
  color: #1e40af;
}

.order-status-completed {
  background: #d1fae5;
  color: #065f46;
}

.order-status-failed {
  background: #fee2e2;
  color: #991b1b;
}

.order-status-refunded {
  background: #e5e7eb;
  color: #374151;
}

.order-status-cancelled {
  background: #f3f4f6;
  color: #6b7280;
}

.sts-order-details-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.sts-order-products h3,
.sts-order-shipping h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
}

.sts-products-list {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.sts-product-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.sts-product-item:last-child {
  border-bottom: none;
}

.sts-product-image {
  flex-shrink: 0;
}

.sts-product-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.sts-product-info {
  flex: 1;
}

.sts-product-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px;
}

.sts-product-sku {
  font-size: 13px;
  color: #6b7280;
  display: block;
  margin-bottom: 4px;
}

.sts-product-quantity {
  font-size: 14px;
  color: #6b7280;
}

.sts-product-price {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.sts-order-totals {
  margin-top: 24px;
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
}

.sts-order-totals table {
  width: 100%;
}

.sts-order-totals tr {
  line-height: 2;
}

.sts-order-totals th {
  text-align: left;
  font-weight: 400;
  color: #6b7280;
}

.sts-order-totals td {
  text-align: right;
  font-weight: 500;
  color: #1f2937;
}

.sts-order-totals .order-total th,
.sts-order-totals .order-total td {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  padding-top: 12px;
  border-top: 2px solid #e5e7eb;
}

.sts-shipping-info,
.sts-payment-info {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.sts-info-row {
  display: flex;
  margin-bottom: 16px;
}

.sts-info-row:last-child {
  margin-bottom: 0;
}

.sts-info-row .label {
  flex: 0 0 100px;
  font-weight: 500;
  color: #6b7280;
}

.sts-info-row .value {
  flex: 1;
  color: #1f2937;
}

.sts-notice-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}

.sts-notice-box h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0369a1;
  margin: 0 0 12px;
}

.sts-notice-box ul {
  margin: 0;
  padding-left: 20px;
}

.sts-notice-box li {
  color: #0c4a6e;
  margin-bottom: 8px;
}

.sts-notice-box li:last-child {
  margin-bottom: 0;
}

.sts-order-timeline {
  position: relative;
  padding-left: 24px;
}

.sts-timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.sts-timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #6b7280;
  border-radius: 50%;
}

.sts-timeline-item::after {
  content: "";
  position: absolute;
  left: -20px;
  top: 16px;
  bottom: 0;
  width: 1px;
  background: #e5e7eb;
}

.sts-timeline-item:last-child::after {
  display: none;
}

.sts-timeline-date {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

.sts-timeline-content {
  font-size: 14px;
  color: #1f2937;
}

.sts-order-actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

/* 주문 완료 페이지 스타일 */
.sts-thankyou-header {
  text-align: center;
  margin-bottom: 40px;
}

.sts-thankyou-header.failed {
  margin-bottom: 20px;
}

.sts-success-icon,
.sts-fail-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: #d1fae5;
  border-radius: 50%;
  margin-bottom: 24px;
}

.sts-success-icon svg {
  color: #059669;
}

.sts-fail-icon {
  background: #fee2e2;
}

.sts-fail-icon svg {
  color: #dc2626;
}

.sts-thankyou-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 12px;
}

.sts-thankyou-message {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
}

.sts-thankyou-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.sts-thankyou-notice {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

/* 개선된 반응형 디자인 */
@media (max-width: 1200px) {
  .sts-content-wrapper,
  .sts-order-detail-wrapper {
    width: 100%;
    max-width: 1160px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  /* 컨테이너 */
  .sts-content-wrapper,
  .sts-myaccount-wrapper,
  .sts-order-detail-wrapper {
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 20px;
    box-shadow: none;
  }

  /* 탭 네비게이션 - 태블릿 */
  .sts-myaccount-tabs {
    width: calc(100% - 40px);
    padding: 15px 20px;
    margin: 20px auto 30px;
    box-sizing: border-box;
  }

  .sts-myaccount-tabs a .tab-icon {
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
  }

  .sts-myaccount-tabs a .tab-title {
    display: inline;
    vertical-align: middle;
  }

  /* 대시보드 */
  .sts-custom-dashboard {
    padding: 0;
  }

  .dashboard-header {
    padding: 0 0 20px;
  }

  .dashboard-header h2 {
    font-size: 24px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-box {
    padding: 20px;
  }

  /* 최근 주문 테이블 - 카드 형식으로 변경 */
  .recent-orders {
    width: 100%;
  }

  .recent-orders .woocommerce-orders-table {
    display: block;
    width: 100%;
  }

  .recent-orders .woocommerce-orders-table thead {
    display: none;
  }

  .recent-orders .woocommerce-orders-table tbody {
    display: block;
  }

  .recent-orders .woocommerce-orders-table tr {
    display: block;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    position: relative;
  }

  .recent-orders .woocommerce-orders-table td {
    display: block;
    border: none;
    padding: 5px 0;
    text-align: left;
  }

  .recent-orders .woocommerce-orders-table td:nth-child(1) {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .recent-orders .woocommerce-orders-table td:nth-child(2)::before {
    content: "주문일: ";
    font-weight: 500;
    color: #6b7280;
  }

  .recent-orders .woocommerce-orders-table td:nth-child(3)::before {
    content: "상품: ";
    font-weight: 500;
    color: #6b7280;
  }

  .recent-orders .woocommerce-orders-table td:nth-child(4)::before {
    content: "상태: ";
    font-weight: 500;
    color: #6b7280;
  }

  .recent-orders .woocommerce-orders-table td:nth-child(5) {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    text-align: right;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
  }

  /* 주문 상세 페이지 - 태블릿 */
  .sts-order-detail-wrapper {
    padding: 20px;
  }

  .sts-order-header h1 {
    font-size: 24px;
  }

  .sts-order-summary {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .sts-order-number h2 {
    font-size: 20px;
  }

  .sts-order-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sts-products-list {
    border-radius: 8px;
  }

  .sts-product-item {
    padding: 15px;
    gap: 12px;
  }

  .sts-product-image img {
    width: 60px;
    height: 60px;
  }

  .sts-product-info h4 {
    font-size: 15px;
  }

  .sts-product-price {
    font-size: 16px;
  }

  .sts-order-totals table {
    font-size: 14px;
  }

  .sts-order-totals .order-total th,
  .sts-order-totals .order-total td {
    font-size: 16px;
  }

  .sts-shipping-info,
  .sts-payment-info {
    padding: 20px;
  }

  .sts-info-row {
    flex-direction: row;
    gap: 10px;
  }

  .sts-info-row .label {
    flex: 0 0 80px;
    font-size: 14px;
  }

  .sts-info-row .value {
    font-size: 14px;
  }

  .sts-notice-box {
    padding: 15px;
  }

  .sts-notice-box h4 {
    font-size: 15px;
  }

  .sts-notice-box ul {
    font-size: 14px;
  }

  .sts-order-actions,
  .sts-thankyou-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    margin-top: 20px;
  }

  .sts-order-actions a,
  .sts-order-actions button,
  .sts-thankyou-actions a {
    flex: 1 1 auto;
    min-width: 140px;
  }

  /* 주문 완료 페이지 */
  .sts-thankyou-header h1 {
    font-size: 26px;
  }

  .sts-thankyou-message {
    font-size: 16px;
  }

  .sts-success-icon,
  .sts-fail-icon {
    width: 60px;
    height: 60px;
  }

  .sts-success-icon svg,
  .sts-fail-icon svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  /* 모바일 화면 */
  .sts-content-wrapper,
  .sts-myaccount-wrapper,
  .sts-order-detail-wrapper {
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  /* 탭 네비게이션 - 모바일 전용 */
  .sts-myaccount-tabs {
    width: 100%;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 15px !important;
    margin: 20px 0 !important;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    position: sticky;
    top: 10px;
    z-index: 100;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .sts-myaccount-tabs::-webkit-scrollbar {
    display: none;
  }

  .sts-myaccount-tabs a {
    flex: 0 0 auto;
    padding: 8px 16px;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s;
  }

  .sts-myaccount-tabs a:hover {
    background: #e5e5e5;
  }

  .sts-myaccount-tabs a .tab-icon {
    display: none;
  }

  .sts-myaccount-tabs a .tab-title {
    display: inline;
  }

  /* 대시보드 컨텐츠 - 모바일 */
  .sts-custom-dashboard {
    background: #fff;
    padding: 15px;
    margin: 0;
    width: 100%;
  }

  .dashboard-header {
    padding-bottom: 15px;
  }

  .dashboard-header h2 {
    font-size: 20px;
  }

  .dashboard-header p {
    font-size: 14px;
  }

  .dashboard-stats {
    gap: 10px;
  }

  .stat-box {
    padding: 15px;
    background: #f8f9fa;
    border: none;
    box-shadow: none;
  }

  .stat-box h3 {
    font-size: 18px;
  }

  .stat-box .stat-icon svg {
    width: 30px;
    height: 30px;
  }

  /* 주문내역 탭 - 모바일 */
  .sts-orders-container {
    background: #fff;
    padding: 15px;
    margin: 0;
    width: 100%;
  }

  /* 회원정보 탭 - 모바일 */
  .sts-profile-container {
    background: #fff;
    margin: 0;
    width: 100%;
  }

  .sts-profile-header {
    padding-bottom: 15px;
  }

  .sts-profile-title {
    font-size: 20px;
  }

  .sts-profile-subtitle {
    font-size: 14px;
  }

  .sts-profile-grid {
    gap: 15px;
  }

  .sts-profile-card {
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: none;
    border: 1px solid #e5e5e5;
  }

  .sts-card-title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  /* 모바일 주문 상세 */
  .sts-order-detail-wrapper {
    background: #f5f5f5;
    padding: 0;
    width: 100%;
    max-width: 100%;
  }

  .sts-order-header {
    padding: 15px;
    background: #fff;
    margin: 0 0 10px 0;
    width: 100%;
    box-sizing: border-box;
  }

  .sts-back-link {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .sts-order-header h1 {
    font-size: 20px;
    margin: 0;
  }

  .sts-order-info-section {
    background: transparent;
    padding: 0;
    margin: 0;
  }

  .sts-order-summary {
    background: #fff;
    margin: 0 0 10px;
    padding: 15px;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .sts-order-number {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .sts-order-number h2 {
    font-size: 18px;
    margin: 0;
  }

  .sts-order-date {
    font-size: 13px;
  }

  .sts-order-status {
    font-size: 12px;
    padding: 4px 12px;
  }

  .sts-order-details-grid {
    gap: 0;
  }

  /* 상품 정보 - 모바일 */
  .sts-order-products {
    background: #fff;
    padding: 15px;
    margin: 0 0 10px 0;
    width: 100%;
    box-sizing: border-box;
  }

  .sts-order-products h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
  }

  .sts-products-list {
    border: none;
    box-shadow: none;
  }

  .sts-product-item {
    flex-direction: row;
    align-items: flex-start;
    padding: 12px 0;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
  }

  .sts-product-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .sts-product-image img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
  }

  .sts-product-info {
    flex: 1;
    margin: 0;
  }

  .sts-product-info h4 {
    font-size: 14px;
    margin: 0 0 4px;
    line-height: 1.3;
  }

  .sts-product-sku {
    font-size: 11px;
  }

  .sts-product-quantity {
    font-size: 12px;
  }

  .sts-product-price {
    font-size: 15px;
    margin-left: auto;
    text-align: right;
  }

  /* 주문 총계 - 모바일 */
  .sts-order-totals {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
  }

  .sts-order-totals table {
    font-size: 13px;
  }

  .sts-order-totals tr {
    line-height: 1.8;
  }

  .sts-order-totals th {
    font-weight: 400;
    padding-right: 10px;
  }

  .sts-order-totals td {
    font-weight: 500;
  }

  .sts-order-totals .order-total {
    margin-top: 8px;
  }

  .sts-order-totals .order-total th,
  .sts-order-totals .order-total td {
    font-size: 15px;
    padding-top: 8px;
  }

  /* 배송/결제 정보 - 모바일 */
  .sts-order-shipping {
    background: #fff;
    padding: 15px;
    margin: 0 0 10px 0;
    width: 100%;
    box-sizing: border-box;
  }

  .sts-order-shipping h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
  }

  .sts-shipping-info,
  .sts-payment-info {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
  }

  .sts-info-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 10px;
    font-size: 13px;
  }

  .sts-info-row:last-child {
    margin-bottom: 0;
  }

  .sts-info-row .label {
    flex: 0 0 70px;
    font-weight: 500;
    color: #666;
    font-size: 12px;
  }

  .sts-info-row .value {
    flex: 1;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
  }

  /* 안내사항 - 모바일 */
  .sts-notice-box {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
  }

  .sts-notice-box h4 {
    font-size: 14px;
    color: #1565c0;
    margin: 0 0 8px;
  }

  .sts-notice-box ul {
    margin: 0;
    padding-left: 18px;
  }

  .sts-notice-box li {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 5px;
    color: #0d47a1;
  }

  /* 액션 버튼 - 모바일 */
  .sts-order-actions {
    background: #fff;
    padding: 15px;
    margin: 10px 0 0;
    border-top: none;
    position: sticky;
    bottom: 0;
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  .sts-order-actions a,
  .sts-order-actions button {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border-radius: 6px;
  }
}
