/* ============================================================================
   KORBI CART PANEL
   ============================================================================ */

.korbi-cart-panel,
.korbi-cart-panel * {
  box-sizing: border-box;
}

.korbi-cart-panel {
  position: fixed;
  inset: 0;
  z-index: 10005;
  pointer-events: none;
  font-family: var(--font-family, Gilroy, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  color: var(--c-text, #282c3f);
  letter-spacing: -0.2px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.korbi-cart-panel.is-open {
  pointer-events: auto;
}

.korbi-cart-panel button {
  font-family: inherit;
  cursor: pointer;
}

.korbi-cart-panel img {
  display: block;
  max-width: 100%;
}

/* Honor the HTML `hidden` attribute inside the cart panel.
   Multiple cart-panel sections have explicit `display: grid/flex/block`
   rules that override the user-agent default of `[hidden] { display: none }`.
   This rule restores the expected behavior, scoped so it can't affect
   anything outside the cart panel. */
.korbi-cart-panel [hidden] {
  display: none !important;
}

.korbi-cart__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 300ms ease;
  z-index: 1;
}

.korbi-cart-panel.is-open .korbi-cart__backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.korbi-cart__sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--c-surface-subtle, #f4f5f7);
  z-index: 2;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  box-shadow: -18px 0 55px rgba(0, 0, 0, 0.18);
}

.korbi-cart-panel.is-open .korbi-cart__sheet {
  transform: translateX(0);
}

@media (max-width: 420px) {
  .korbi-cart__sheet {
    max-width: 100%;
  }
}

.korbi-cart__loading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-surface-subtle, #f4f5f7);
}

.korbi-cart__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(33, 58, 131, 0.18);
  border-top-color: var(--c-blue, #213a83);
  border-radius: 50%;
  animation: korbi-cart-spin 760ms linear infinite;
}

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

.korbi-cart-panel.is-syncing .korbi-cart__sheet::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(33, 58, 131, 0.85) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: korbi-cart-sync-bar 1200ms linear infinite;
  z-index: 100;
  pointer-events: none;
}

@keyframes korbi-cart-sync-bar {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.korbi-cart__header {
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: var(--sp-3, 12px);
  height: var(--h-nav, 62px);
  padding: 0 var(--side, 16px);
  background: #fff;
  box-shadow: var(--sh-nav, 0 2px 8px rgba(27, 30, 36, 0.06));
}

.korbi-cart__close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(2, 6, 12, 0.82);
  flex-shrink: 0;
}

.korbi-cart__close-btn svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.korbi-cart__title {
  margin: 0;
  font: var(--t-h4, 600 16px/20px var(--font-family));
  color: var(--c-heading, #33343a);
  letter-spacing: -0.3px;
}

.korbi-cart__header-actions {
  position: relative;
  margin-left: auto;
}

.korbi-cart__kebab-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.korbi-cart__kebab-btn svg {
  width: 20px;
  height: 20px;
  color: #333;
}

.korbi-cart__kebab-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  min-width: 140px;
  z-index: 10;
  overflow: hidden;
}

.korbi-cart__kebab-menu[hidden] {
  display: none !important;
}

.korbi-cart__kebab-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #d32f2f;
  cursor: pointer;
}

.korbi-cart__kebab-item:active {
  background: #f5f5f5;
}

.korbi-cart__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  padding: var(--sp-4, 16px) var(--side, 16px) var(--sp-6, 24px);
}

.korbi-cart__body::-webkit-scrollbar {
  display: none;
}

.korbi-cart__card {
  background: #fff;
  border-radius: var(--r-xl, 16px);
  margin-bottom: var(--sp-4, 16px);
  overflow: hidden;
}

.korbi-cart__card-pad {
  padding: 12px;
}

.korbi-cart__empty {
  min-height: calc(100dvh - var(--h-nav, 62px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 16px;
  text-align: center;
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
  font: var(--t-card, 600 13px/16px var(--font-family));
}

.korbi-cart__empty p {
  margin: 0;
  font: var(--t-h4, 600 16px/20px var(--font-family));
  color: var(--c-heading, #33343a);
}

.korbi-cart__continue-btn,
.korbi-cart__proceed-btn,
.korbi-cart__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--h-btn-lg, 48px);
  padding: 0 var(--sp-4, 16px);
  border: 0;
  border-radius: var(--r-md, 8px);
  background: var(--c-blue-grad, linear-gradient(180deg, #4060ac 0%, #213a83 100%));
  color: #fff;
  font: var(--t-h4, 600 16px/20px var(--font-family));
  letter-spacing: -0.2px;
  text-decoration: none;
  box-shadow: var(--sh-cta, 0 4px 12px rgba(33, 58, 131, 0.22));
  transition: filter 180ms, opacity 180ms;
}

.korbi-cart__continue-btn {
  width: auto;
  min-width: 160px;
}

.korbi-cart__btn-primary:disabled,
.korbi-cart__btn-primary--disabled {
  opacity: 0.5;
  box-shadow: none;
  cursor: not-allowed;
}

.korbi-cart__savings {
  padding: 13px var(--side, 16px);
  background: linear-gradient(93deg, #d7f9e7 26%, #b0ebd3 96%);
  color: var(--c-green, #009966);
  font: var(--t-card, 600 13px/16px var(--font-family));
  font-weight: 800;
  letter-spacing: -0.2px;
}

.korbi-cart__savings strong {
  color: var(--c-green, #009966);
  font-weight: 800;
}

.korbi-cart__coupon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3, 12px);
  padding: var(--sp-4, 16px);
  color: inherit;
  cursor: pointer;
}

.korbi-cart__coupon-title {
  font: var(--t-h4, 600 16px/20px var(--font-family));
  color: var(--c-text, #282c3f);
}

.korbi-cart__coupon-sub {
  margin-top: 2px;
  font: var(--t-caption, 400 12px/16px var(--font-family));
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
}

.korbi-cart__coupon-chev {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
}

.korbi-cart__coupon-form {
  display: flex;
  gap: 8px;
  padding: 8px 12px 12px;
}

.korbi-cart__coupon-form[hidden] {
  display: none !important;
}

.korbi-cart__coupon-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.korbi-cart__coupon-apply {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--c-green, #318616);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.korbi-cart__coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 10px;
  font-size: 13px;
  color: var(--c-green, #318616);
  font-weight: 600;
}

.korbi-cart__coupon-remove {
  border: 0;
  background: transparent;
  font-size: 18px;
  color: #999;
  cursor: pointer;
}

.korbi-cart__items-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4, 16px) var(--side, 16px) 13px;
}

.korbi-cart__items-count {
  font: var(--t-caption, 400 12px/16px var(--font-family));
  color: rgba(2, 6, 12, 0.48);
}

.korbi-cart__line {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 84px 60px;
  gap: var(--sp-3, 12px);
  align-items: center;
  padding: var(--sp-3, 12px) var(--side, 16px) 14px;
}

.korbi-cart__line::before {
  content: "";
  position: absolute;
  left: var(--side, 16px);
  right: var(--side, 16px);
  top: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(2, 6, 12, 0.18) 50%, transparent 0);
  background-size: 6px 1px;
}

.korbi-cart__line-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md, 8px);
  background: var(--c-surface-image, #f7f7f8);
  overflow: hidden;
}

.korbi-cart__line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.korbi-cart__line-info {
  min-width: 0;
}

.korbi-cart__line-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font: var(--t-caption, 400 12px/16px var(--font-family));
  font-weight: 800;
  color: rgba(2, 6, 12, 0.82);
  letter-spacing: -0.28px;
  overflow: hidden;
}

.korbi-cart__line-weight {
  margin-top: 3px;
  font: var(--t-caption, 400 12px/16px var(--font-family));
  color: var(--c-text-muted, rgba(2, 6, 12, 0.52));
}

.korbi-cart__qty-line {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  width: 80px;
  height: 32px;
  padding: 0 4px;
  border: 1px solid var(--c-border, #e9e9eb);
  border-radius: var(--r-md, 8px);
  background: #fff;
  box-shadow: 0 2px 8px rgba(27, 30, 36, 0.08);
}

.korbi-cart__qty-line.is-error {
  border-color: var(--c-accent-text);
}

.korbi-cart__qbtn {
  width: 24px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-blue, #213a83);
  display: flex;
  align-items: center;
  justify-content: center;
  font: var(--t-h2, 700 18px/22px var(--font-family));
  line-height: 1;
}

.korbi-cart__qbtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.korbi-cart__qval {
  font: var(--t-card, 600 13px/16px var(--font-family));
  font-weight: 800;
  color: var(--c-blue, #213a83);
  text-align: center;
}

.korbi-cart__price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.korbi-cart__price-old {
  position: relative;
  font: var(--t-micro, 600 10px/12px var(--font-family));
  color: var(--c-text-muted, rgba(2, 6, 12, 0.52));
}

.korbi-cart__price-old::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: rgba(2, 6, 12, 0.3);
}

.korbi-cart__price-new {
  font: var(--t-h4, 600 16px/20px var(--font-family));
  color: var(--c-text-strong, rgba(2, 6, 12, 0.86));
}

.korbi-cart__add-more {
  padding: 3px var(--side, 16px) var(--sp-4, 16px);
}

.korbi-cart__add-more button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2, 8px);
  height: 35px;
  padding: 0 var(--sp-3, 12px);
  border: 1px solid var(--c-border, #e9e9eb);
  border-radius: var(--r-md, 8px);
  background: #fff;
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
  font: var(--t-label, 500 11px/14px var(--font-family));
}

.korbi-cart__bill {
  padding: var(--sp-4, 16px);
}

.korbi-cart__bill-title {
  margin: 0 0 14px;
  font: var(--t-micro, 600 10px/12px var(--font-family));
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
  text-transform: uppercase;
}

.korbi-cart__bill-line {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3, 12px);
  font: var(--t-body, 500 14px/20px var(--font-family));
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
}

.korbi-cart__bill-line strong {
  color: var(--c-text-strong, rgba(2, 6, 12, 0.86));
  font-weight: 800;
  text-align: right;
}

.korbi-cart__bill-values {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.korbi-cart__bill-strike {
  position: relative;
  color: var(--c-text-faint, rgba(2, 6, 12, 0.35));
}

.korbi-cart__bill-strike::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: rgba(2, 6, 12, 0.3);
}

.korbi-cart__bill-discount,
.korbi-cart__bill-line .korbi-cart__bill-discount {
  color: var(--c-green, #318616);
}

.korbi-cart__bill-total {
  margin-top: 11px;
  padding-top: 13px;
  border-top: 1px dashed var(--c-border, #e9e9eb);
  font-weight: 800;
}

.korbi-cart__policy {
  padding: 14px;
  font: var(--t-caption, 400 12px/16px var(--font-family));
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
  line-height: 16px;
}

.korbi-cart__policy strong {
  color: rgba(2, 6, 12, 0.82);
  font-weight: 800;
  margin-right: 3px;
}

.korbi-cart__footer {
  flex: 0 0 auto;
  background: #fff;
  box-shadow: var(--sh-sticky, 0 -2px 10px rgba(27, 30, 36, 0.08));
  padding-bottom: calc(var(--sp-4, 16px) + env(safe-area-inset-bottom));
}

.korbi-cart__footer-bill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 var(--side, 16px);
  background: var(--c-blue-soft, #e8edf8);
}

.korbi-cart__footer-total {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2, 8px);
  font: var(--t-card, 600 13px/16px var(--font-family));
  font-weight: 800;
  color: rgba(2, 6, 12, 0.85);
}

.korbi-cart__footer-login {
  padding: 18px var(--side, 16px) 0;
}

.korbi-cart__footer-login h2 {
  margin: 0;
  font: var(--t-h2, 700 18px/22px var(--font-family));
  color: var(--c-heading, #33343a);
}

.korbi-cart__footer-login p {
  margin: 4px 0 0;
  font: var(--t-caption, 400 12px/16px var(--font-family));
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
}

.korbi-cart__footer .korbi-cart__proceed-btn {
  width: calc(100% - (var(--side, 16px) * 2));
  margin: 18px var(--side, 16px) 0;
  border-radius: 11px;
}

.korbi-cart__footer-login .korbi-cart__proceed-btn {
  width: 100%;
  margin: 18px 0 0;
}

.korbi-cart__auth-backdrop {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(40, 44, 63, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.korbi-cart__auth-backdrop--open {
  opacity: 1;
  pointer-events: auto;
}

.korbi-cart__auth-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 21;
  width: 100%;
  height: 70dvh;
  background: #fff;
  border-radius: var(--r-2xl, 22px) var(--r-2xl, 22px) 0 0;
  box-shadow: var(--sh-sheet, 0 -10px 34px rgba(27, 30, 36, 0.22));
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
              height 320ms cubic-bezier(0.22, 1, 0.36, 1),
              border-radius 320ms ease;
  display: flex;
  flex-direction: column;
}

.korbi-cart__auth-sheet--open {
  transform: translateY(0);
}

.korbi-cart__auth-sheet--expanded {
  height: 100dvh;
  border-radius: 0;
}

.korbi-cart__auth-drag {
  flex: 0 0 auto;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
}

.korbi-cart__auth-drag:active {
  cursor: grabbing;
}

.korbi-cart__auth-handle {
  width: 38px;
  height: 4px;
  border-radius: var(--r-pill, 999px);
  background: #d8dbe3;
}

.korbi-cart__auth-screen {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.korbi-cart__auth-screen[hidden] {
  display: none !important;
}

.korbi-cart__auth-back {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 12px;
  left: var(--side, 16px);
  z-index: 10;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
}

.korbi-cart__auth-back svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.korbi-cart__auth-shell {
  flex: 1;
  min-height: 0;
  padding: 50px 18px 18px;
  overflow-y: auto;
  scrollbar-width: none;
}

.korbi-cart__auth-shell::-webkit-scrollbar {
  display: none;
}

.korbi-cart__auth-title {
  margin: 0;
  font: var(--t-h1, 800 22px/26px var(--font-family));
  color: var(--c-heading, #33343a);
}

.korbi-cart__auth-subtitle {
  margin: 6px 0 0;
  font: var(--t-caption, 400 12px/16px var(--font-family));
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
}

.korbi-cart__phone-entry-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 28px;
}

.korbi-cart__country-picker {
  display: flex;
  align-items: center;
  gap: var(--sp-2, 8px);
  flex: 0 0 88px;
  height: var(--h-input, 44px);
  padding: 0 0 var(--sp-2, 8px);
  border: 0;
  border-bottom: 1.5px solid var(--c-border-input, #dfe3ea);
  background: transparent;
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
}

.korbi-cart__country-flag {
  font-size: 18px;
  line-height: 1;
}

.korbi-cart__country-code {
  font: var(--t-h2, 700 18px/22px var(--font-family));
  line-height: 1;
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
}

.korbi-cart__country-chevron {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--c-text-muted, rgba(2, 6, 12, 0.52));
}

.korbi-cart__country-chevron svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2.3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.korbi-cart__phone-input-wrap {
  flex: 1;
  min-width: 0;
}

.korbi-cart__phone-label {
  display: block;
  margin: 0 0 10px;
  font: var(--t-card, 600 13px/16px var(--font-family));
  color: var(--c-text-muted, rgba(2, 6, 12, 0.52));
}

.korbi-cart__phone-input {
  width: 100%;
  height: 34px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 2px solid var(--c-blue, #213a83);
  border-radius: 0;
  background: transparent;
  color: var(--c-heading, #33343a);
  font: var(--t-h2, 700 18px/22px var(--font-family));
  line-height: 1;
  font-family: inherit;
  outline: none;
}

#korbiContinueBtn {
  margin-top: 30px;
}

.korbi-cart__auth-legal {
  margin: 18px 0 0;
  font: var(--t-label, 500 11px/14px var(--font-family));
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
  line-height: 16px;
}

.korbi-cart__auth-legal-link {
  color: var(--c-heading, #33343a);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 1px;
}

.korbi-cart__otp-hero {
  position: relative;
  flex-shrink: 0;
  height: 154px;
  padding: 14px 18px 12px;
  overflow: hidden;
  background: var(--c-border-soft, #eef0f5);
}

.korbi-cart__otp-back-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 9;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
}

.korbi-cart__otp-back-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.korbi-cart__otp-hero-copy {
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.korbi-cart__otp-title {
  margin: 0;
  font: var(--t-h1, 800 22px/26px var(--font-family));
  color: var(--c-heading, #33343a);
}

.korbi-cart__otp-subtitle {
  margin: 8px 0 0;
  font: var(--t-caption, 400 12px/16px var(--font-family));
  color: var(--c-text-soft, rgba(2, 6, 12, 0.62));
}

.korbi-cart__otp-illustration {
  position: absolute;
  right: 12px;
  top: 14px;
  width: 86px;
  height: 108px;
  pointer-events: none;
  transform: scale(0.88);
  transform-origin: top right;
}

.korbi-cart__otp-drink {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 86px;
  height: 108px;
}

.korbi-cart__otp-straw {
  position: absolute;
  right: 30px;
  top: 3px;
  width: 3px;
  height: 42px;
  border-radius: 4px;
  background: #d7b33b;
  transform: rotate(-40deg);
}

.korbi-cart__otp-straw::after {
  content: "";
  position: absolute;
  top: -18px;
  right: -1px;
  width: 3px;
  height: 22px;
  border-radius: 4px;
  background: #d7b33b;
  transform: rotate(-8deg);
}

.korbi-cart__otp-lemon {
  position: absolute;
  top: 14px;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #edd063;
  opacity: 0.95;
}

.korbi-cart__otp-cup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 9px;
  bottom: 3px;
  width: 38px;
  height: 80px;
  background: linear-gradient(180deg, #b7c9f3 0%, #a8bce8 100%);
  clip-path: polygon(16% 0, 84% 0, 72% 100%, 28% 100%);
}

.korbi-cart__otp-cup-mark {
  font-size: 18px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.88);
  transform: translateY(-4px);
}

.korbi-cart__otp-wave {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 8px;
  height: 5px;
  border-top: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--r-pill, 999px);
}

.korbi-cart__otp-body {
  flex: 1;
  min-height: 0;
  padding: var(--sp-6, 24px) 18px 18px;
  background: #fff;
  overflow-y: auto;
  scrollbar-width: none;
}

.korbi-cart__otp-body::-webkit-scrollbar {
  display: none;
}

.korbi-cart__otp-label {
  display: block;
  margin: 0;
  font: var(--t-card, 600 13px/16px var(--font-family));
  color: var(--c-text-muted, rgba(2, 6, 12, 0.52));
}

.korbi-cart__otp-slots {
  margin-top: 28px;
}

.korbi-cart__otp-field {
  position: relative;
  margin: 16px 0;
}

.korbi-cart__otp-real-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  font-size: 24px;
  letter-spacing: 2em;
  z-index: 2;
}

.korbi-cart__otp-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.korbi-cart__otp-box {
  width: 44px;
  height: 52px;
  border: 2px solid #d0d0d0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--c-text-strong, #1b1e24);
  background: #fff;
  transition: border-color 150ms ease;
}

.korbi-cart__otp-box.is-active {
  border-color: var(--c-blue, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.korbi-cart__otp-box.is-filled {
  border-color: var(--c-text-strong, #1b1e24);
}

.korbi-cart__otp-error {
  display: none;
  color: #d32f2f;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 6px 0 2px;
  line-height: 1.3;
}

.korbi-cart__otp-retry-block {
  margin-top: 28px;
}

.korbi-cart__otp-countdown {
  text-align: center;
  font-size: 13px;
  color: #888;
  font-weight: 500;
  padding: 12px 0;
  margin: 0;
}

.korbi-cart__otp-countdown span {
  font-weight: 700;
  color: #333;
}

.korbi-cart__otp-resend-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-green, #318616);
  cursor: pointer;
  text-align: center;
}

#korbiEnterOtpBtn {
  margin-top: 28px;
}
