@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 100; font-display: swap; src: url('/assets/font/pretendard/Pretendard-Thin.ttf') format('truetype'); }
@font-face { font-family: bootstrap-icons; font-display: block; src: url('/assets/admin/fonts/bootstrap-icons.woff2') format('woff2'), url('/assets/admin/fonts/bootstrap-icons.woff') format('woff'); }

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-variant: normal;
  font-weight: 400 !important;
  line-height: 1;
  text-transform: none;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bi-clock::before { content: "\f293"; }
.bi-check-circle-fill::before { content: "\f26a"; }
.bi-x-circle::before { content: "\f623"; }
.bi-receipt::before { content: "\f50f"; }
.bi-box-seam::before { content: "\f1c7"; }

@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 200; font-display: swap; src: url('/assets/font/pretendard/Pretendard-ExtraLight.ttf') format('truetype'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/font/pretendard/Pretendard-Light.ttf') format('truetype'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/font/pretendard/Pretendard-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/font/pretendard/Pretendard-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/font/pretendard/Pretendard-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/font/pretendard/Pretendard-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/font/pretendard/Pretendard-ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/font/pretendard/Pretendard-Black.ttf') format('truetype'); }

:root {
  --bs-font-sans-serif: 'Pretendard' !important;
  --bs-body-font-family: 'Pretendard' !important;
}

html,
body,
button,
input,
select,
textarea,
table,
.tooltip,
.popover,
.dropdown-menu,
.modal,
.offcanvas,
.card,
.btn,
.form-control,
.form-select {
  font-family: 'Pretendard' !important;
}

.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }

:root {
    /*--bs-body-color:#ffc824 !important;*/
    --bs-body-color:black !important;
    --bs-body-color2:#ffc824 !important;
}

.fc-black { color:black !important; }
.bold { font-weight:bold; }

/* User login screen */
.user-login-container {
  height: calc(var(--vh) * 100);
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
  --login-side-gap: clamp(14px, 4vw, 22px);
}

body:has(.user-login-container) {
  background: #f3f6fb;
}

.user-login-container .logo-img {
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 220px;
  height: auto;
}

.user-login-container .login-action-panel {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - (var(--login-side-gap) * 2));
}

.user-login-container .login-service-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 280px);
  margin: 0 auto 12px;
  text-align: center;
}

.user-login-container .login-service-brand::before,
.user-login-container .login-service-brand::after {
  content: "";
  display: block;
  flex: 1 1 0;
  min-width: 72px;
  height: 1px;
  background: #d7dce5;
}

.user-login-container .login-service-logo {
  display: block;
  width: auto;
  max-width: 70px;
  height: auto;
  margin: 0 auto;
}

.user-login-container .phone-login-toggle {
  position: relative;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.user-login-container .phone-login-toggle .fa {
  position: absolute;
  left: 23px;
  font-size: 19px;
  font-weight: 400;
}

.user-login-container .phone-login-toggle:active {
  background: #1f2937;
}

.user-login-container #kakao-btn {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 10px;
  background: #FEE500;
  color: #191919;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.user-login-container #kakao-btn .fa {
  position: absolute;
  left: 20px;
  font-size: 18px;
}

.user-login-container #kakao-btn:active {
  background: #f7dc00;
}

.user-login-container .login-partnership-section {
  padding-top: 14px;
}

.user-login-container .partnership-inquiry-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 8px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.user-login-container .partnership-inquiry-card:active {
  opacity: 0.72;
}

.user-login-container .partnership-inquiry-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.user-login-container .partnership-inquiry-copy strong {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.user-login-container .partnership-inquiry-phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d7afc;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.user-login-container .partnership-inquiry-phone .fa {
  font-size: 12px;
}


.user-login-container .login-policy-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  height: auto;
  margin-top: 8px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #98a2b3;
  font-size: 11px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.user-login-container .login-policy-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b8494;
  font: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.user-login-container .login-policy-link:active,
.user-login-container .login-policy-link.is-active {
  color: #111827;
}

.user-login-container .bottom-bar {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: auto;
  opacity: 0.9;
}

/* Phone login flow */
.phone-login-page {
  min-height: calc(var(--vh, 1vh) * 100);
  width: 100% !important;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
  --login-side-gap: clamp(14px, 4vw, 22px);
}

body:has(.phone-login-page) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow-x: hidden;
  background: #f3f6fb;
}

.phone-login-header {
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
}

.phone-login-back {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #111827;
  font-size: 26px;
  text-decoration: none;
}

.phone-login-back:active {
  background: #f3f4f6;
}

.phone-login-content {
  flex: 1;
  padding: 34px var(--login-side-gap) 120px;
}

.phone-login-eyebrow {
  margin-bottom: 12px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.phone-login-content h1 {
  color: #111827;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.055em;
}

.phone-login-desc {
  margin-top: 10px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.phone-flow-form {
  margin-top: 32px;
}

.phone-flow-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}

.phone-flow-field {
  display: block;
  margin: 0;
  padding: 16px 0 14px;
  border-bottom: 1px solid #f1f3f5;
}

.phone-flow-field > span {
  display: block;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

.phone-flow-required {
  color: #ef4444;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.phone-flow-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-flow-row input {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #111827;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.04em;
  outline: none;
}

.phone-flow-row input::placeholder {
  color: #c3cad4;
  font-weight: 600;
}

.phone-flow-row button {
  flex: 0 0 auto;
  height: 34px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
}

.phone-flow-row button:active {
  background: #e5e7eb;
}

.phone-flow-help {
  margin-top: 8px;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.35;
}

.phone-auth-meta {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
}

.phone-login-page.is-auth-sent .phone-auth-meta {
  display: flex;
}

.phone-auth-timer {
  color: #ef4444;
  font-size: 13px;
  font-weight: 700;
}

.phone-auth-resend {
  border: 0;
  background: transparent;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.phone-flow-error {
  display: none;
  margin-top: 8px;
  color: #ef4444;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.phone-login-page.is-auth-error .phone-flow-error {
  display: block;
}

.phone-login-page.is-auth-error .phone-flow-field:nth-of-type(2) {
  border-bottom-color: rgba(239, 68, 68, 0.35);
}

.phone-login-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px var(--login-side-gap) calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 24%);
}

.phone-flow-submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.phone-flow-submit:active {
  background: #1f2937;
}

.phone-flow-row.is-single input {
  width: 100%;
}

.phone-signup-page .phone-login-content {
  padding-bottom: 150px;
}

.phone-signup-page .phone-flow-form {
  margin-top: 34px;
}

.signup-agree-card {
  margin-top: 24px;
  padding-top: 2px;
}

.signup-agree-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 8px 0;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.signup-agree-row input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #111827;
}

.signup-agree-row span {
  min-width: 0;
  line-height: 1.35;
}

.signup-agree-row b {
  color: #111827;
  font-weight: 600;
}

.signup-agree-row.is-all {
  padding-bottom: 11px;
  border-bottom: 1px solid #eef1f5;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.signup-agree-list {
  padding-top: 7px;
}


.signup-agree-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.signup-agree-line .signup-agree-row {
  min-width: 0;
}

.signup-agree-line .signup-agree-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signup-detail-button {
  flex: 0 0 auto;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.signup-detail-button.is-active {
  color: #111827;
}

.signup-terms-template {
  display: none !important;
}

.signup-terms-offcanvas {
  left: 50% !important;
  right: auto !important;
  width: min(calc(100vw - 24px), 430px);
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  height: auto;
  max-height: 78vh;
  margin: 0;
  border-radius: 22px 22px 0 0;
  border: 0;
  overflow: hidden;
}

.signup-terms-offcanvas .offcanvas-header {
  align-items: center;
  padding: 18px 20px 10px;
}

.signup-terms-offcanvas .offcanvas-title {
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.signup-terms-offcanvas .btn-close {
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background-size: 12px;
}

.signup-terms-offcanvas .offcanvas-body {
  max-height: calc(78vh - 62px);
  padding: 6px 20px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
}

.signup-terms-panel ol,
.signup-terms-panel dl {
  margin: 0;
}

.signup-terms-panel ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
}

.signup-terms-panel li,
.signup-terms-panel dt,
.signup-terms-panel dd {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.signup-terms-panel dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.signup-terms-panel dt {
  margin: 0 0 4px;
  color: #111827;
  font-weight: 700;
}

.signup-terms-panel dd {
  margin: 0;
  font-weight: 500;
}

.signup-document-content {
  padding: 2px 0 0;
  color: #344054;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.signup-document-content ol,
.signup-document-content ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.signup-document-content li {
  margin: 0 0 8px;
  padding-left: 2px;
  color: #344054;
  font-size: 13px;
  line-height: 20px;
}

.signup-document-content p {
  margin: 0 0 12px;
  color: #344054;
  font-size: 13px;
  line-height: 20px;
}

.signup-document-content .privacy-policy-content {
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.signup-document-content .privacy-policy-header {
  margin: 0 0 14px;
  padding: 12px 13px;
  border: 1px solid #e9eef7;
  border-radius: 14px;
  background: #f8fbff;
}

.signup-document-content .privacy-policy-header h1 {
  display: none;
}

.signup-document-content .privacy-policy-header p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 17px;
  font-weight: 600;
}

.signup-document-content .privacy-policy-content section {
  margin: 0 0 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid #edf0f4;
}

.signup-document-content .privacy-policy-content section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.signup-document-content .privacy-policy-content h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 14px;
  line-height: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.signup-document-content .privacy-policy-content h3 {
  margin: 10px 0 5px;
  color: #475467;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.signup-document-content .privacy-policy-table-wrap {
  width: 100%;
  margin: 8px 0 12px;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.signup-document-content table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  color: #344054;
  font-size: 12px;
  line-height: 17px;
}

.signup-document-content th,
.signup-document-content td {
  padding: 9px 10px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
  vertical-align: top;
}

.signup-document-content th {
  background: #f8fafc;
  color: #111827;
  font-weight: 800;
}

.signup-document-content tr:last-child td {
  border-bottom: 0;
}

.signup-document-content .privacy-policy-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.signup-document-content .privacy-policy-contact-card {
  padding: 12px;
  border: 1px solid #e9eef7;
  border-radius: 12px;
  background: #f8fbff;
}

.signup-document-content .privacy-policy-contact-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 13px;
  line-height: 18px;
}

.signup-document-content .privacy-policy-contact-card dl,
.signup-document-content .privacy-policy-contact-card dd {
  margin: 0;
}

.signup-document-content .privacy-policy-contact-card div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 7px;
  margin-top: 5px;
}

.signup-document-content .privacy-policy-contact-card dt {
  color: #64748b;
  font-weight: 700;
}

.signup-document-content a {
  color: #2563eb;
  word-break: break-all;
}

.phone-flow-submit:disabled {
  background: #d1d5db;
  color: #fff;
}

.signup-terms-offcanvas.show {
  transform: translate(-50%, 0) !important;
}

.signup-terms-offcanvas:not(.show) {
  transform: translate(-50%, 100%) !important;
}

.phone-flow-submit:disabled,
.phone-flow-row button:disabled,
.phone-auth-resend:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

#phoneAuthStatus:empty {
  display: none;
}

#signupError {
  display: block;
}
#signupError:empty {
  display: none;
}

/* Login and customer header brand logo */
.login-brand-collab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin-right: 0 !important;
  line-height: 1;
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -55%);
  max-width: calc(100% - 48px);
}

.user-login-container .login-brand-collab .logo-img {
  position: static;
  transform: none;
  width: auto;
  max-width: 170px;
  height: auto;
  margin-right: 0 !important;
}

.www-registered-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin-right: 0 !important;
  line-height: 1;
}

.www-registered-brand .brand-registered-logo {
  display: block;
  width: auto;
  height: 36px;
  margin-right: 0 !important;
  object-fit: contain;
}

/* Customer main Figma-style product home */
.customer-home-main {
  background: #fff;
  color: #17191c;
  overflow-x: clip;
  overflow-y: visible;
}

.customer-home-content {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.customer-order-bottom .customer-order-bottom-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px;
  border-top: 1px solid #e9e9e9;
  border-radius: 8px 8px 0 0;
  background: #fff;
}

.customer-order-bottom .bottom-tabbar a:first-child,
.customer-order-bottom .bottom-tabbar a:last-child,
.customer-order-bottom .customer-order-bottom-inner a:first-child,
.customer-order-bottom .customer-order-bottom-inner a:last-child {
  margin: 0;
}

.customer-order-bottom .customer-order-history-button,
.customer-order-bottom .customer-order-submit-button {
  width: auto;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.customer-order-bottom .customer-order-history-button {
  flex: 0 0 102px;
  border: 1px solid #dfe5ef;
  background: #fff;
  color: #4b5563;
  font-size: 14px;
  gap: 5px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.customer-order-history-icon {
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.customer-order-history-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}

.customer-order-bottom .customer-order-submit-button {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: space-between;
  gap: 10px;
  padding: 0 15px;
  border: 0;
  background: #4279ff;
  color: #fff;
}

.customer-order-bottom .customer-order-history-button span,
.customer-order-bottom .customer-order-submit-button span {
  display: inline-flex;
  margin: 0;
  color: inherit;
}

.customer-order-submit-summary {
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
}

.customer-order-submit-summary b,
.customer-order-submit-summary strong {
  color: #fff;
  font-weight: 700;
}

.customer-order-submit-summary em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-size: 11px;
  line-height: 14px;
  font-weight: 400;
}

.customer-order-submit-summary em b {
  font-weight: 400;
}

.customer-order-submit-summary strong {
  max-width: 102px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.customer-order-submit-label {
  flex: 0 0 auto;
  align-items: center;
  color: #fff;
  font-size: 15px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.customer-order-offcanvas.purchase-order-offcanvas {
  left: 50% !important;
  right: auto !important;
  width: min(100vw, 430px) !important;
  max-width: 430px !important;
  margin-left: calc(min(100vw, 430px) / -2) !important;
  height: min(78vh, 660px) !important;
  max-height: min(78vh, 660px);
  border: 0 !important;
  border-radius: 18px 18px 0 0;
  background: #fff;
  overflow: hidden;
}

.customer-order-offcanvas-backdrop {
  left: 50% !important;
  right: auto !important;
  width: min(100vw, 430px) !important;
  max-width: 430px !important;
  margin-left: calc(min(100vw, 430px) / -2) !important;
}

body.customer-order-offcanvas-open,
body.customer-order-offcanvas-open.modal-open {
  padding-right: 0 !important;
  overflow-y: auto !important;
}

.customer-order-offcanvas-header.purchase-order-offcanvas-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 8px;
  border: 0;
}

.custom-header-offcanva {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.customer-sheet-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.customer-sheet-title strong {
  color: #121212;
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.customer-sheet-title span {
  color: #8a8f98;
  font-size: 12px;
  line-height: 17px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.custom-header-offcanva .btn-close,
.customer-order-offcanvas .btn-close {
  width: 32px;
  height: 32px;
  margin: -4px -6px -4px auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-size: 12px;
  box-shadow: none;
  opacity: .7;
}

.custom-header-offcanva .btn-close:focus,
.custom-header-offcanva .btn-close:active,
.customer-order-offcanvas .btn-close:focus,
.customer-order-offcanvas .btn-close:active {
  outline: none;
  box-shadow: none;
}

.customer-order-offcanvas-body.purchase-order-offcanvas-body {
  padding: 0 18px 36px;
  overflow-y: auto;
}

.customer-order-offcanvas .purchase-selected-section {
  width: 100%;
  margin: 0 0 20px !important;
}

.customer-order-offcanvas .purchase-selected-section h2,
.customer-order-offcanvas .purchase-selected-summary-head h2 {
  margin: 0 0 8px !important;
  color: #292929 !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.customer-order-offcanvas .purchase-selected-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 0 !important;
}

.customer-order-offcanvas .purchase-selected-row {
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: 5px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.customer-order-offcanvas .purchase-selected-card {
  min-width: 0;
  min-height: 51px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 10px;
  border-radius: 8px;
  background: #f8fafc;
}

.customer-order-offcanvas .purchase-selected-info {
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
}

.customer-order-offcanvas .purchase-selected-name {
  min-width: 0;
  overflow: hidden;
  color: #444 !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  letter-spacing: -0.0357em !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-order-offcanvas .purchase-selected-qty {
  order: -1;
  min-height: 16px !important;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #000 !important;
  color: #fff !important;
  padding: 0 4px !important;
  font-size: 11px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  letter-spacing: .0769em !important;
}

.customer-order-offcanvas .purchase-selected-price {
  flex: 0 0 auto;
  color: #121212 !important;
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  letter-spacing: -0.0313em !important;
  white-space: nowrap;
}

.customer-order-offcanvas .purchase-selected-delete {
  width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.customer-order-offcanvas .purchase-selected-delete:hover,
.customer-order-offcanvas .purchase-selected-delete:focus,
.customer-order-offcanvas .purchase-selected-delete:active {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.customer-order-offcanvas .purchase-selected-delete img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.customer-order-offcanvas .purchase-selected-empty {
  padding: 16px 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: #8d96a3;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.customer-order-offcanvas .purchase-selected-summary {
  margin: 0;
}

.customer-order-offcanvas .purchase-selected-summary .purchase-summary-list {
  overflow: visible;
  border: 0 !important;
  border-radius: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
}

.customer-order-offcanvas .purchase-selected-summary .purchase-summary-row {
  min-height: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 9px 12px !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
}

.customer-order-offcanvas .purchase-selected-summary .purchase-summary-row:first-child {
  border: 1px solid #edf0f4 !important;
}

.customer-order-offcanvas .purchase-selected-summary .purchase-summary-row:not(:first-child):not(.is-total) {
  border-left: 1px solid #edf0f4 !important;
  border-right: 1px solid #edf0f4 !important;
}

.customer-order-offcanvas .purchase-selected-summary .purchase-summary-row span {
  flex: 0 0 auto;
  color: #555f6d;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.customer-order-offcanvas .purchase-selected-summary .purchase-summary-row strong {
  min-width: 0;
  color: #17191c;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  text-align: right;
  letter-spacing: -0.04em;
}

.customer-order-offcanvas .purchase-selected-summary .purchase-summary-row.is-total {
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  background: rgba(49, 130, 246, 0.05) !important;
}

.customer-order-offcanvas .purchase-selected-summary .purchase-summary-row.is-total span {
  color: #2563eb !important;
  font-weight: 600;
}

.customer-order-offcanvas .purchase-selected-summary .purchase-summary-row.is-total strong {
  color: #2563eb !important;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}


.customer-order-detail-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 0 20px;
}

.customer-order-field,
.customer-order-delivery-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-order-delivery-section {
  display: none;
  margin: 0 0 20px;
}

.customer-order-field > label,
.customer-order-address-fields label {
  margin: 0 !important;
  color: #292929 !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.customer-order-receive-options {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.customer-order-receive-option {
  min-width: 0;
  min-height: 40px;
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e4e9;
  border-radius: 8px;
  background: #fff;
  color: #000;
  padding: 10px 0;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.customer-order-receive-option.is-active {
  border-color: #4279ff;
  background: #4279ff;
  color: #fff;
  font-weight: 500;
}

.customer-order-receive-option.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}

.customer-order-receive-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.customer-order-input,
.customer-order-address-fields .form-select,
.customer-order-address-fields .form-control {
  width: 100%;
  min-height: 40px;
  border: 1px solid #e2e4e9;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: none;
}

.customer-order-input::placeholder,
.customer-order-address-fields .form-select::placeholder,
.customer-order-address-fields .form-control::placeholder {
  color: #999;
}

.customer-order-input:read-only {
  color: #555f6d;
}

.customer-order-address-fields {
  flex-direction: column;
  gap: 8px;
}

.customer-order-input:focus,
.customer-order-address-fields .form-select:focus,
.customer-order-address-fields .form-control:focus {
  outline: none;
  border-color: #4279ff;
  box-shadow: none;
}


.customer-order-offcanvas-actions.purchase-order-offcanvas-actions {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 41px;
  min-height: 41px;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: #fff;
}

.customer-order-offcanvas-actions button {
  display: flex;
  flex: 1 1 0;
  align-self: stretch;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 41px;
  min-height: 41px;
  padding: 12px 0 !important;
  gap: 10px;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 500 !important;
  text-align: center;
}

.customer-order-offcanvas-actions .customer-order-cancel-button {
  background: #f5f6f7 !important;
  color: #333 !important;
}

.customer-order-offcanvas-actions .purchase-selected-submit {
  background: #4279ff !important;
  color: #fff !important;
}

.customer-home-hero {
  width: 100%;
  margin: 0 0 15px 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.customer-home-hero-viewport {
  width: 100%;
  overflow: hidden;
}

.customer-home-hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.34s ease;
  will-change: transform;
}

.customer-home-hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.customer-home-hero-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.customer-home-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.customer-home-hero-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  pointer-events: auto;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.customer-home-hero-dots button.is-active {
  width: 18px;
  background: #1f6fff;
}

.customer-home-hero-all-link {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f6fff;
  font-family: 'Pretendard', sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.customer-home-hero-all-link:focus,
.customer-home-hero-all-link:active {
  color: #1f6fff;
  text-decoration: none;
}

.customer-banner-list-page,
.customer-banner-detail-page {
  padding: 18px 0 96px;
  background: #fff;
}

.customer-banner-list-page .container,
.customer-banner-detail-page .container {
  max-width: 430px;
  padding: 0 15px;
}

.customer-banner-page-intro {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
}

.customer-banner-page-intro span {
  color: #4279ff;
  font-family: 'Pretendard', sans-serif;
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.customer-banner-page-intro h1 {
  margin: 0;
  color: #17191c;
  font-family: 'Pretendard', sans-serif;
  font-size: 21px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.customer-banner-page-intro p {
  margin: 0;
  color: #777f8a;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  line-height: 19px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.customer-banner-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.customer-banner-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
}

.customer-banner-card-image,
.customer-banner-detail-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f4f7fb;
}

.customer-banner-card-image img,
.customer-banner-detail-image img {
  display: block;
  width: 100%;
  aspect-ratio: 25 / 8;
  object-fit: cover;
}

.customer-banner-source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: 'Pretendard', sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.customer-banner-card-image .customer-banner-source-badge {
  position: absolute;
  left: 10px;
  top: 10px;
}

.customer-banner-source-badge.is-master {
  background: #edf3ff;
  color: #1f6fff;
}

.customer-banner-source-badge.is-store {
  background: #eefaf6;
  color: #009b72;
}

.customer-banner-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 2px 0;
}

.customer-banner-period {
  color: #6c7682;
  font-family: 'Pretendard', sans-serif;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.customer-banner-card-body strong {
  color: #17191c;
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.customer-banner-card-body p {
  display: -webkit-box;
  margin: 0;
  color: #686f79;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  line-height: 19px;
  font-weight: 400;
  letter-spacing: -0.03em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.customer-banner-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 36px 20px;
  border-radius: 20px;
  background: #f7f9fc;
  text-align: center;
}

.customer-banner-empty strong {
  color: #17191c;
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
}

.customer-banner-empty p {
  margin: 8px 0 0;
  color: #7b8490;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.customer-banner-detail-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.customer-banner-detail-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-banner-detail-body h1 {
  margin: 0;
  color: #17191c;
  font-family: 'Pretendard', sans-serif;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.customer-banner-detail-period {
  margin: -4px 0 0;
  color: #6c7682;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.customer-banner-detail-content {
  margin-top: 8px;
  color: #343a42;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: -0.03em;
  white-space: normal;
}

.customer-banner-detail-content span {
  color: #7b8490;
}

.customer-banner-list-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 4px;
  border-radius: 14px;
  background: #4279ff;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.customer-banner-list-button:focus,
.customer-banner-list-button:active {
  color: #fff;
  text-decoration: none;
}

.customer-date-chip-row,
.customer-category-row {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.customer-date-chip-row::-webkit-scrollbar,
.customer-category-row::-webkit-scrollbar {
  display: none;
}

.customer-home-date-row {
  display: block;
  padding: 0 15px 15px;
}

.customer-month-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 5px;
}

.customer-month-picker {
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.customer-month-arrow {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2f6fff;
  display: inline-block;
  position: relative;
  flex: 0 0 18px;
}

.customer-month-arrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.customer-date-chip-row {
  gap: 10px;
  padding-bottom: 2px;
}

.customer-date-chip {
  width: 48px;
  min-width: 48px;
  height: 46px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  background: #fff;
  color: #888;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 0 4px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.customer-date-week,
.customer-date-chip strong {
  display: block;
  font-size: 13px;
}

.customer-date-week {
  font-weight: 700;
  line-height: 18px;
  position: relative;
  min-width: 22px;
}

.customer-date-week::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 30px;
  height: 1px;
  border-radius: 999px;
  background: #e1e5ec;
  transform: translateX(-50%);
}

.customer-date-chip strong {
  font-weight: 500;
  line-height: 14px;
  margin-top: 4px;
}

.customer-date-chip.is-active {
  border-color: #4279ff;
  background: #4279ff;
  color: #fff;
}

.customer-date-chip.is-active {
  background-image: linear-gradient(180deg, #568bff 0%, #4279ff 48%, #326cf4 100%);
}

.customer-date-chip.is-active .customer-date-week::after {
  background: rgba(255, 255, 255, 0.58);
}

.customer-date-chip.is-unavailable {
  border-color: #f0f1f3;
  background: #f7f8fa;
  color: #c2c7cf;
}

.customer-date-chip.is-unavailable .customer-date-week {
  color: #c8cdd4;
}

.dashboard-month-picker,
.admin-day-picker {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  width: 100dvw;
  max-width: 100dvw;
  box-sizing: border-box;
}

.dashboard-month-picker.is-open {
  display: flex;
}

.dashboard-month-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.28);
}

.dashboard-month-panel {
  position: relative;
  box-sizing: border-box;
  width: min(400px, calc(100dvw - 24px));
  max-width: calc(100dvw - 24px);
  margin: 0 auto calc(env(safe-area-inset-bottom) + 18px);
  padding: 16px 12px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  animation: monthPickerUp 0.18s ease-out;
}

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

.dashboard-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dashboard-month-title {
  color: #121314;
  font-size: 17px;
  font-weight: 800;
  line-height: 22px;
  letter-spacing: -0.5px;
}

.dashboard-month-nav {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #f2f4f6;
  color: #303441;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.dashboard-month-guide {
  margin: -2px 0 10px;
  color: #8b95a1;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.dashboard-month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.dashboard-month-option {
  width: 100%;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f7f8fa;
  color: #303441;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.dashboard-month-option.is-current:not(.is-selected) {
  border-color: #b8c2ff;
  color: #3182f6;
}

.dashboard-month-option.is-selected,
.dashboard-month-option.is-range-start,
.dashboard-month-option.is-range-end {
  border-color: #3182f6;
  background: #3182f6 !important;
  color: #fff !important;
}

.dashboard-month-option.is-in-range {
  background: #eaf2ff;
  color: #1f4fd5;
}

.dashboard-month-option.is-unavailable {
  background: #f2f3f5 !important;
  color: #c0c4cc !important;
}

.admin-day-weekdays,
.admin-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.admin-day-weekdays {
  margin-bottom: 7px;
}

.admin-day-weekdays span {
  height: 20px;
  color: #8b95a1;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-day-empty,
.admin-day-option,
.admin-day-weekdays span {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
}

.admin-day-empty,
.admin-day-option {
  height: 34px;
}

.admin-day-option {
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f7f8fa;
  color: #303441;
  font-size: 13px;
  font-weight: 700;
}

.admin-day-option.is-today:not(.is-selected) {
  border-color: #b8c2ff;
  color: #3182f6;
}

.admin-day-option.is-selected {
  border-color: #3182f6;
  background: #3182f6 !important;
  color: #fff !important;
}

.admin-day-option.is-unavailable {
  background: #f2f3f5 !important;
  color: #c0c4cc !important;
}

.dashboard-month-today {
  width: 100%;
  height: 40px;
  margin-top: 12px;
  border: 0;
  border-radius: 11px;
  background: #f2f4f6;
  color: #4e5968;
  font-size: 14px;
  font-weight: 700;
}

.customer-timesale-section {
  padding: 0;
  margin: 0 0 40px;
}

.customer-timesale-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0 15px;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.customer-timesale-title strong {
  font-weight: 700;
}

.customer-timesale-icon {
  width: 25px;
  height: 28px;
  flex: 0 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.customer-timesale-icon img {
  width: 25px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.customer-timesale-product-list {
  display: flex !important;
  flex-direction: column;
  gap: 10px !important;
  margin-top: 0;
  padding: 0;
  width: 100%;
  overflow: visible;
}

.customer-timesale-product-list .purchase-product-item {
  position: relative;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 104px !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 9px !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(49, 130, 246, 0.08);
}

.customer-timesale-product-thumb {
  position: relative;
  width: 86px !important;
  height: 86px !important;
  flex: 0 0 86px !important;
  border-radius: 11px !important;
  background: #f2f4f7;
  overflow: hidden;
}

.customer-timesale-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.customer-timesale-left-badge {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 5px;
  z-index: 2;
  width: 90%;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  padding: 0 6px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
  font-size: 9px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.customer-timesale-left-badge .bi {
  color: #111;
  font-size: 9px;
  line-height: 1;
}

.customer-timesale-product-list .purchase-product-main {
  flex: 1 1 0;
  width: auto;
  max-width: calc(100% - 96px);
  min-width: 0;
  gap: 5px;
}

.customer-timesale-product-list .purchase-product-meta-row {
  gap: 4px;
  min-height: 20px;
  padding-right: 88px;
}

.customer-timesale-product-list .purchase-product-main strong {
  min-height: 32px;
  -webkit-line-clamp: 2;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.customer-timesale-product-time {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  width: fit-content;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  border-radius: 999px;
  background: #ff0000;
  color: #fff;
  padding: 0 7px;
  font-size: 11px;
  line-height: 20px;
  letter-spacing: -0.03em;
}

.customer-timesale-product-time .bi {
  flex: 0 0 auto;
  color: inherit;
  font-size: 10px;
  line-height: 1;
}

.customer-timesale-product-time em {
  flex: 0 0 auto;
  color: inherit;
  font-style: normal;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.customer-timesale-product-list .purchase-product-price-meta {
  min-height: 14px;
}

.customer-timesale-product-list .purchase-product-price-stack b {
  font-size: 15px;
  line-height: 17px;
}

.customer-timesale-product-list .purchase-product-purchase-row {
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 1px;
}

.customer-timesale-product-list .customer-timesale-qty-control {
  width: 101px;
  height: 26px;
  flex: 0 0 auto;
  grid-template-columns: 36px 29px 36px;
  margin-top: 0;
}

.customer-product-section {
  padding: 0 15px;
}

#item-list.purchase-product-list {
  display: flex !important;
  flex-direction: column;
  gap: 10px !important;
  width: 100%;
}

#item-list.purchase-product-list .purchase-product-item {
  position: relative;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 104px !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 9px !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(49, 130, 246, 0.08);
}

#item-list.purchase-product-list .purchase-product-thumb {
  width: 86px !important;
  height: 86px !important;
  aspect-ratio: auto;
  flex: 0 0 86px !important;
  border-radius: 11px !important;
}

#item-list.purchase-product-list .purchase-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#item-list.purchase-product-list .purchase-product-main {
  flex: 1 1 0;
  width: auto;
  max-width: calc(100% - 96px);
  min-width: 0;
  gap: 5px;
}

#item-list.purchase-product-list .purchase-product-meta-row {
  gap: 4px;
  min-height: 20px;
}

#item-list.purchase-product-list .purchase-product-main strong {
  min-height: 32px;
  -webkit-line-clamp: 2;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#item-list.purchase-product-list .purchase-product-price-meta {
  min-height: 14px;
}

#item-list.purchase-product-list .purchase-product-price-stack b {
  font-size: 15px;
  line-height: 17px;
}

#item-list.purchase-product-list .purchase-product-purchase-row {
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 1px;
}

#item-list.purchase-product-list .purchase-card-qty-control {
  width: 101px;
  height: 26px;
  flex: 0 0 auto;
  grid-template-columns: 36px 29px 36px;
  margin-top: 0;
}

#item-list.purchase-product-list .customer-product-option {
  flex: 0 0 100%;
  margin: 0;
  gap: 5px;
}

#item-list.purchase-product-list .customer-product-option-row {
  padding: 8px 7px 8px 10px;
}

.customer-product-search {
  position: fixed;
  left: 50%;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  width: 50px;
  max-width: calc(100vw - 30px);
  height: 50px;
  margin: 0;
  border-radius: 25px;
  background: #17191c;
  overflow: hidden;
  pointer-events: auto;
  transform: translateX(calc(min(50vw, 215px) - 100% - 15px));
  transition: width 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.18s ease, border-radius 0.18s ease, background 0.18s ease;
}

.customer-product-search.is-open {
  width: min(400px, calc(100vw - 30px));
  height: 52px;
  border-radius: 16px;
  background: #fff;
}

.customer-product-search-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 25px;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  pointer-events: auto;
  transition: top 0.18s ease, right 0.18s ease, width 0.18s ease, height 0.18s ease, border-radius 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.customer-product-search.is-open .customer-product-search-toggle {
  top: 7px;
  right: 7px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f2f5ff;
  color: #4279ff;
}

.customer-product-search-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customer-product-search-toggle .customer-product-search-icon-close {
  display: none;
}

.customer-product-search.is-open .customer-product-search-toggle .customer-product-search-icon-search {
  display: none;
}

.customer-product-search.is-open .customer-product-search-toggle .customer-product-search-icon-close {
  display: block;
}

.customer-product-search-panel {
  position: absolute;
  top: 7px;
  right: 51px;
  bottom: 7px;
  left: 7px;
  min-width: 0;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(10px) scaleX(0.96);
  transform-origin: right center;
  transition: opacity 0.12s ease, transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.18s;
}

.customer-product-search.is-open .customer-product-search-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scaleX(1);
  transition-delay: 0.08s, 0.08s, 0s;
}

.customer-product-search input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 38px;
  border: 1px solid #e2e4e9;
  border-radius: 11px;
  background: #fff;
  color: #17191c;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.04em;
  padding: 0 12px;
  outline: none;
}

.customer-product-search input:focus {
  border-color: #4279ff;
  box-shadow: 0 0 0 3px rgba(66, 121, 255, 0.12);
}

.customer-product-search-panel button[type="submit"] {
  flex: 0 0 auto;
  min-width: 58px;
  min-height: 38px;
  border: 0;
  border-radius: 11px;
  background: #4279ff;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  padding: 0 12px;
}

.purchase-product-item.is-search-target {
  box-shadow: 0 0 0 3px rgba(66, 121, 255, 0.25), 0 8px 22px rgba(66, 121, 255, 0.18) !important;
}

.customer-date-empty,
.customer-filter-empty {
  width: 100%;
}

.customer-date-empty {
  min-height: 48px;
  border-radius: 12px;
  background: #f7f9fc;
  color: #6e7780;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: -0.04em;
}

.customer-product-option {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 6px 0 2px;
}

.customer-product-option-row {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 101px;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 8px;
  row-gap: 5px;
  border: 0;
  border-radius: 11px;
  background: #f7f8fb;
  padding: 8px 7px 8px 10px;
}

.customer-product-option-info {
  min-width: 0;
  display: contents;
}

.customer-product-option-head {
  min-width: 0;
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.customer-product-option-name {
  min-width: 0;
  grid-column: 1 / -1;
  flex: 1 1 auto;
  color: #303846;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.customer-product-option-limit-badge {
  min-height: 18px;
  margin-top: 0;
  padding: 0 6px;
  font-size: 10px !important;
  line-height: 16px !important;
}

.customer-product-option-limit-badge.purchase-product-box-unit {
  background-color: #fff;
}

.customer-product-option-limit-badge::before {
  font-size: 9px;
}

.customer-product-option-price {
  flex: 0 0 auto;
  color: #2d2d2d;
  font-size: 15px;
  line-height: 17px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.customer-product-option-price-stack {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: end;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  white-space: nowrap;
}

.customer-product-option-price-stack.is-single-price {
  align-self: center;
  justify-content: center;
}

.customer-product-option-price-meta {
  min-height: 16px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #8a93a3;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.0615em;
  white-space: nowrap;
}

.customer-product-option-price-current {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.customer-product-option-price-meta del {
  color: #bebebe;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.0615em;
  text-decoration-thickness: 1px;
}

.customer-product-option-row .purchase-card-qty-control {
  grid-column: 2;
  grid-row: 2;
  width: 101px;
  height: 26px;
  justify-self: end;
  align-self: center;
  flex: 0 0 auto;
  grid-template-columns: 36px 29px 36px;
  margin-top: 0;
}

.customer-timesale-product-list .customer-product-option {
  flex: 0 0 100%;
  margin: 0;
  gap: 5px;
}

.customer-timesale-product-list .customer-product-option-row {
  padding: 8px 7px 8px 10px;
}

.customer-category-row {
  gap: 18px;
  margin: 0 -15px 30px;
  padding: 0 15px 8px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

.customer-category-chip {
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #525661;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 2px 10px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.04em;
  position: relative;
}

.customer-category-chip::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.customer-category-chip em {
  color: #4279ff;
  font-style: normal;
}

.customer-category-chip.is-active {
  color: #17191c;
}

.customer-category-chip.is-active::after {
  background: #4279ff;
}

.customer-category-chip.is-active em {
  color: #4279ff;
}

/* Product-card layout is shared via /assets/shared/css/purchase-product-card.css. */

.customer-home-main .purchase-product-thumb .purchase-stock-badge {
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 0;
  z-index: 2;
  width: 100%;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 11px 11px;
  background: rgba(255, 105, 105, 0.94);
  padding: 0 6px;
  box-sizing: border-box;
  font-size: 10px;
  line-height: 22px;
  font-weight: 600;
  white-space: nowrap;
}

.customer-loading,
.customer-empty-state {
  grid-column: 1 / -1;
  min-height: 160px;
  border-radius: 16px;
  background: #f7f9fc;
  color: #6e7780;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  letter-spacing: -0.04em;
}

.customer-loading img {
  width: 72px;
  height: auto;
}

.customer-empty-state strong {
  color: #222;
  font-size: 15px;
  font-weight: 700;
}

.customer-product-detail-offcanvas.purchase-order-offcanvas {
  left: 50% !important;
  right: auto !important;
  width: min(100vw, 430px) !important;
  max-width: 430px !important;
  height: min(78vh, 660px) !important;
  max-height: min(78vh, 660px);
  margin-left: calc(min(100vw, 430px) / -2) !important;
  border: 0 !important;
  border-radius: 15px 15px 0 0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 -4px 8.1px rgba(0, 0, 0, 0.04);
  z-index: 1045;
}

.customer-detail-offcanvas-backdrop {
  left: 50% !important;
  right: auto !important;
  width: min(100vw, 430px) !important;
  max-width: 430px !important;
  margin-left: calc(min(100vw, 430px) / -2) !important;
  z-index: 1040;
}

body.customer-detail-offcanvas-open {
  padding-right: 0 !important;
  overflow-y: auto !important;
}

.customer-product-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 8px;
  border: 0;
}

.customer-product-detail-offcanvas .btn-close {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  margin: -4px -6px -4px auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-size: 12px;
  box-shadow: none;
  opacity: .52;
}

.customer-product-detail-offcanvas .btn-close:focus,
.customer-product-detail-offcanvas .btn-close:active {
  box-shadow: none;
  outline: none;
}

.customer-product-detail-tabs {
  position: relative;
  height: 57px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  padding: 0 15px;
}

.customer-product-detail-tabs::before {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 1px;
  background: #e9e9e9;
}

.customer-product-detail-tabs::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 0;
  width: calc((100% - 30px) / 2);
  height: 2px;
  background: #4279ff;
  transition: transform .16s ease;
}

.customer-product-detail-offcanvas[data-active-tab="review"] .customer-product-detail-tabs::after {
  transform: translateX(100%);
}

.customer-product-detail-tab {
  position: relative;
  z-index: 1;
  height: 57px;
  border: 0;
  background: transparent;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  letter-spacing: -0.0313em;
}

.customer-product-detail-tab.is-active {
  color: #4279ff;
  font-weight: 500;
}

.customer-product-detail-tab em {
  color: #4279ff;
  font-style: normal;
  font-weight: 400;
}

.customer-product-detail-offcanvas-body.purchase-order-offcanvas-body {
  padding: 26px 15px 18px;
  overflow-y: auto;
}

.customer-product-detail-panel {
  width: 100%;
  margin: 0 !important;
}

.customer-product-detail-body {
  min-height: 160px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: -0.0333em;
}

.customer-product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1f7;
}

.customer-product-detail-category {
  width: fit-content;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef5ff;
  color: #2f6dcb;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.customer-product-detail-name {
  display: block;
  color: #111827;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.customer-product-detail-content {
  color: inherit;
}

.customer-product-detail-empty {
  margin: 0;
  color: #8b95a1;
}

.customer-product-detail-body:empty::before {
  content: "등록된 상세내용이 없습니다.";
  color: #8b95a1;
}

.customer-product-detail-body img {
  max-width: 100%;
  height: auto;
}

.customer-product-detail-body p:last-child {
  margin-bottom: 0;
}

.customer-product-review-wrap {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.customer-product-review-summary {
  min-height: 80px;
  border-radius: 8px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(72px, 31vw, 135px);
  padding: 0 18px;
}

.customer-product-review-summary-col {
  min-width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #444;
  white-space: nowrap;
}

.customer-product-review-summary-col:first-child {
  min-width: 73px;
  gap: 2px;
}

.customer-product-review-summary-col > span {
  color: #444;
  font-size: 14px;
  line-height: 19px;
  font-weight: 400;
  letter-spacing: -0.0357em;
}

.customer-product-review-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #bdbdbd;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.0278em;
}

.customer-product-review-score-star,
.customer-product-review-score-star img {
  width: 20px;
  height: 19.5px;
  display: block;
  flex: 0 0 20px;
  object-fit: contain;
}

.customer-product-review-score strong {
  color: #4279ff;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

.customer-product-review-score em {
  color: #bdbdbd;
  font-style: normal;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

.customer-product-review-total {
  color: #444;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.0278em;
  text-align: center;
}

.customer-product-review-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.customer-product-review-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  border: 0;
}

.customer-product-review-content {
  width: min(351px, 100%);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.customer-product-review-head {
  width: 82px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-product-review-meta {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.customer-product-review-meta strong {
  color: #000;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: -0.0385em;
  white-space: nowrap;
}

.customer-product-review-meta time {
  color: #989898;
  font-size: 12px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: -0.0417em;
  white-space: nowrap;
}

.customer-product-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.customer-product-review-star,
.customer-product-review-star img {
  width: 14px;
  height: 13px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.customer-product-review-star.is-filled,
.customer-product-review-star.is-filled img {
  width: 13px;
  height: 13px;
}

.customer-product-review-content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  margin: 0;
  color: #2b2b2b;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: -0.0385em;
  white-space: pre-line;
}

.customer-product-review-row.is-expanded .customer-product-review-content p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.customer-product-review-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.customer-product-review-actions button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #9e9e9e;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: -0.0417em;
}

.customer-product-review-actions button.is-report {
  color: #ff7979;
}

.customer-product-review-report {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: -2px;
  padding: 13px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
}

.customer-product-review-report[hidden] {
  display: none;
}

.customer-product-review-report label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.customer-product-review-report label span {
  color: #4b5563;
  font-size: 12px;
  line-height: 15px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.customer-product-review-report select,
.customer-product-review-report textarea {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.customer-product-review-report select {
  height: 38px;
  padding: 0 32px 0 10px;
}

.customer-product-review-report textarea {
  min-height: 74px;
  padding: 10px;
  resize: vertical;
}

.customer-product-review-report select:focus,
.customer-product-review-report textarea:focus {
  outline: none;
  border-color: #8fb8ff;
}

.customer-product-review-report-submit {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.customer-product-review-divider {
  height: 1px;
  background: #e9e9e9;
}

.customer-product-review-empty {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f8fafc;
  color: #8b95a1;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.03em;
}

/* Customer header store dropdown */
.top-navbar .www-store-dropdown {
  flex: 0 0 auto;
}

.top-navbar #homeDropdown.btn.dropdown-toggle.www-store-dropdown-toggle {
  min-width: 0;
  max-width: 152px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px 5px 6px !important;
  border: 1px solid #e4ecf7;
  border-radius: 999px;
  background: #f7faff;
  color: #1f2937 !important;
  box-shadow: none !important;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.top-navbar #homeDropdown.btn.dropdown-toggle.www-store-dropdown-toggle::after {
  display: none;
}

.www-store-dropdown-toggle.show,
.www-store-dropdown-toggle:focus {
  border-color: #b8d2ff !important;
  background: #eef5ff !important;
}

.www-store-pin-icon,
.www-store-chevron,
.www-store-dropdown-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.www-store-pin-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e7f0ff;
  color: #4279ff;
}

.www-store-pin-icon svg {
  width: 14px;
  height: 14px;
}

.www-store-name {
  min-width: 0;
  max-width: 82px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.www-store-chevron {
  width: 14px;
  height: 14px;
  color: #6b7280;
  transition: transform 160ms ease;
}

.www-store-dropdown-toggle.show .www-store-chevron {
  transform: rotate(180deg);
}

.www-store-chevron svg {
  width: 14px;
  height: 14px;
}

.www-store-dropdown-menu {
  min-width: 152px;
  padding: 6px;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.www-store-dropdown-item {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 10px;
  color: #1f2937;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.www-store-dropdown-item:hover,
.www-store-dropdown-item:focus {
  background: #f3f7ff;
  color: #2563eb;
}

.www-store-dropdown-item-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5ff;
  color: #4279ff;
}

.www-store-dropdown-item-icon svg {
  width: 13px;
  height: 13px;
}

/* Customer header should scroll with the page, not stick to the viewport. */
#top-navbar.fixed,
.top-navbar.fixed {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  box-shadow: none !important;
  animation: none !important;
}

/* Customer store map modal */
.store-map-modal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 398px;
  margin-left: auto;
  margin-right: auto;
}

.store-map-modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.2);
}

.store-map-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
}

.store-map-modal-title-box {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-map-modal-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #eef5ff;
  color: #4279ff;
}

.store-map-modal-icon svg {
  width: 19px;
  height: 19px;
}

.store-map-modal-title-box p {
  margin: 0 0 2px;
  color: #8b95a1;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.store-map-modal-title-box strong {
  display: block;
  max-width: 250px;
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  line-height: 21px;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-map-modal-close {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: #f4f6f9;
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  padding: 0;
}

.store-map-modal-close span {
  display: block;
  transform: translateY(-1px);
}

.store-map-modal-body {
  padding: 0 18px 18px;
}

.store-map-frame {
  overflow: hidden;
  border: 1px solid #edf1f7;
  border-radius: 18px;
  background: #f5f7fb;
}

.store-map-canvas {
  width: 100%;
  height: 270px;
}

.store-map-address-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid #e9eef7;
  border-radius: 14px;
  background: #f8fbff;
}

.store-map-address-label {
  color: #4279ff;
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.store-map-address-card p {
  margin: 0;
  color: #263241;
  font-size: 13px;
  line-height: 19px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.store-map-infowindow {
  width: 140px;
  padding: 6px 8px;
  color: #111827;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-align: center;
}

/* Customer footer */
.customer-footer {
  width: 100%;
  margin-top: 0;
  padding: 0 18px 110px;
  background: #fff !important;
  color: #4b5563;
}

footer.customer-footer,
.site-content footer.customer-footer {
  background: #111827 !important;
}

.customer-footer .customer-footer-menu,
.customer-footer .customer-footer-menu-button,
.customer-footer .customer-footer-menu-button:focus,
.customer-footer .customer-footer-menu-button:active {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.customer-footer-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.customer-footer-action-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 0;
}

.customer-footer-menu {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-sizing: border-box;
  height: 42px;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-content: normal;
  gap: 8px;
  padding: 0;
  border-top: 0;
  border-bottom: 0;
  background: transparent !important;
}

.customer-footer-menu-button {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  flex: 1 1 0;
  box-sizing: border-box;
  height: 42px;
  min-height: 0;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  color: #f9fafb;
  font-size: 10.5px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
}

.customer-footer-menu-button > span:last-child {
  display: block;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 100%;
  line-height: 14px;
  white-space: nowrap;
}

.customer-footer-menu-button:active {
  background: rgba(255, 255, 255, 0.12) !important;
}

.customer-footer-menu-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.customer-footer-menu-icon svg {
  width: 16px;
  height: 16px;
}

.customer-footer-menu-icon.is-business {
  color: #93c5fd;
}

.customer-footer-menu-icon.is-privacy {
  color: #cbd5e1;
}

.customer-footer-menu-icon.is-terms {
  color: #bfdbfe;
}

.customer-footer-partnership {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.customer-footer-partnership-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 2px 0 0;
  color: #f9fafb;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.customer-footer-partnership-card:active {
  opacity: 0.72;
}

.customer-footer-partnership-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.customer-footer-partnership-copy strong {
  display: block;
  color: #f9fafb;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: -0.04em;
}

.customer-footer-partnership-phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.customer-footer-partnership-phone .fa {
  font-size: 12px;
}

.customer-footer-notice {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 10px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #aeb8c7;
  font-family: 'Pretendard', sans-serif;
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-align: left;
}

.customer-footer-notice p {
  margin: 0;
}

.customer-footer-copyright {
  color: #f9fafb;
  font-size: 12px;
  line-height: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.customer-footer-liability {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  flex-wrap: wrap;
}


.customer-footer-info {
  margin-top: 0;
  padding: 16px 14px 0;
  border-top: 0;
  color: #7a8492;
  font-size: 11px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-align: left;
}

.customer-footer-info p {
  margin: 0;
}

.customer-footer-info p + p {
  margin-top: 2px;
}

.customer-footer-info b,
.customer-footer-info-card b {
  color: #1f2937;
  font-weight: 700;
}

.customer-footer-modal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 398px;
}

.customer-footer-modal-content {
  max-height: min(76vh, 680px);
}

.customer-footer-modal-icon.is-business {
  background: #eef5ff;
  color: #3578f6;
}

.customer-footer-modal-icon.is-privacy {
  background: #f3f5f8;
  color: #5f6673;
}

.customer-footer-modal-icon.is-terms {
  background: #eef5ff;
  color: #2563eb;
}

.customer-footer-modal-icon.is-signout {
  background: #f4f6f9;
  color: #64748b;
}

.customer-footer-modal-icon svg {
  width: 19px;
  height: 19px;
}

.customer-footer-modal .store-map-modal-title-box strong:empty {
  display: none;
}

.customer-footer-modal-body {
  max-height: calc(min(76vh, 680px) - 86px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.customer-footer-info-card {
  padding: 14px 15px;
  border: 1px solid #e9eef7;
  border-radius: 16px;
  background: #f8fbff;
  color: #4b5563;
  font-size: 13px;
  line-height: 23px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.customer-footer-info-card p {
  margin: 0;
}

.customer-footer-policy-content {
  padding: 2px 2px 0;
  color: #344054;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.customer-footer-policy-content .privacy-policy-header {
  display: none;
}

.customer-footer-policy-content p {
  margin: 0 0 14px;
}

.customer-footer-policy-content .privacy-policy-content section {
  margin: 18px 0 0;
}

.customer-footer-policy-content .privacy-policy-content h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 14px;
  line-height: 19px;
  font-weight: 700;
}

.customer-footer-policy-content .privacy-policy-content h3 {
  margin: 12px 0 5px;
  color: #475467;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.customer-footer-policy-content .privacy-policy-content ul,
.customer-footer-policy-content .privacy-policy-content ol {
  margin: 0 0 14px;
  padding-left: 18px;
}

.customer-footer-policy-content .privacy-policy-table-wrap {
  margin: 8px 0 14px;
  overflow-x: auto;
  border: 1px solid #e9eef7;
  border-radius: 12px;
}

.customer-footer-policy-content .privacy-policy-content table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 12px;
}

.customer-footer-policy-content .privacy-policy-content th,
.customer-footer-policy-content .privacy-policy-content td {
  padding: 8px 9px;
  border-bottom: 1px solid #e9eef7;
  text-align: left;
  vertical-align: top;
}

.customer-footer-policy-content .privacy-policy-content th {
  background: #f8fbff;
  color: #111827;
  font-weight: 700;
}

.customer-footer-policy-content .privacy-policy-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 8px;
}

.customer-footer-policy-content .privacy-policy-contact-card {
  padding: 12px;
  border: 1px solid #e9eef7;
  border-radius: 12px;
  background: #f8fbff;
}

.customer-footer-policy-content .privacy-policy-contact-card dl,
.customer-footer-policy-content .privacy-policy-contact-card dd {
  margin: 0;
}

.customer-footer-policy-content .privacy-policy-contact-card div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 6px;
  margin-top: 5px;
}

.customer-footer-policy-content .privacy-policy-contact-card dt {
  color: #667085;
  font-weight: 700;
}

.customer-footer-policy-content .privacy-policy-content a {
  color: #2563eb;
  word-break: break-all;
}

.customer-footer-terms-content {
  padding: 2px 2px 0;
  color: #344054;
  font-size: 13px;
  line-height: 21px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.customer-footer-terms-content ol {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding-left: 19px;
}

.customer-footer-terms-content li {
  padding-left: 2px;
}

.customer-signout-guide {
  margin: 0;
  padding: 14px 15px;
  border: 1px solid #e9eef7;
  border-radius: 16px;
  background: #f8fbff;
  color: #344054;
  font-size: 13px;
  line-height: 21px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.customer-signout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.customer-signout-actions button {
  height: 42px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.customer-signout-cancel {
  background: #f1f4f8;
  color: #344054;
}

.customer-signout-submit {
  background: #1f2937;
  color: #fff;
}

@media (max-width: 380px) {
  .customer-footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .customer-footer-menu-button {
    height: 42px;
    min-height: 0;
    gap: 5px;
    font-size: 10.5px;
    line-height: 14px;
  }

  .customer-footer-menu-icon {
    width: 16px;
    height: 16px;
  }

  .customer-footer-menu-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Customer top navbar spacing */
.top-navbar > .container {
  padding-left: 12px;
  padding-right: 12px;
}


/* Customer history/detail header back link */
.top-navbar-title {
  min-width: 0;
  line-height: 0;
}

.www-header-back-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 !important;
  border: 0 !important;
  color: #292929 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.www-header-back-icon {
  display: block;
  width: 10px;
  height: 18px;
  object-fit: contain;
}

.www-header-back-title {
  color: #292929;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
