.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.narrative {
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.narrative .title {
  max-width: 900px;
  margin: 0 auto 20px;
}

.narrative p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}

.vis-block {
  min-height: 420px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: var(--off);
}

.vis-pause {
  background:
    radial-gradient(circle at 72% 28%, #7acbd6 0 14%, transparent 15%),
    linear-gradient(180deg, #111, #2c2c2c);
}

.vis-clarity {
  background:
    url("../assets/decor/orbs.svg") 58% 42% / 145% no-repeat,
    linear-gradient(135deg, #bbe0d7, #f6f4f1);
}

.vis-voice {
  background:
    url("../assets/decor/orbs.svg") 42% 58% / 150% no-repeat,
    linear-gradient(135deg, #7acbd6, #f5d4c4);
}

.word-cloud {
  min-height: 280px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 40%, #bbe0d7 0 20%, transparent 46%),
    radial-gradient(circle at 82% 58%, #f5d4c4 0 18%, transparent 48%),
    radial-gradient(circle at 50% 90%, #bedebd 0 14%, transparent 40%),
    #f6f4f1;
  border-radius: 20px;
}

.word-cloud span {
  letter-spacing: 0.04em;
}

.word-cloud .w1 { font-size: 42px; color: var(--black); }
.word-cloud .w2 { font-size: 28px; color: var(--charcoal); }
.word-cloud .w3 { font-size: 18px; color: var(--muted); }

.color-picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.color-picks label {
  display: grid;
  place-items: center;
  min-height: 88px;
  border-radius: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.color-picks input { display: none; }
.color-picks label:has(input:checked) { border-color: var(--black); }
.c-red { background: #e26b5a; color: #fff; }
.c-yellow { background: #e7d27a; }
.c-green { background: #87caa4; }
.c-blue { background: #7acbd6; }

.form-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(122, 203, 214, 0.35) 0 18%, transparent 42%),
    radial-gradient(circle at 8% 90%, rgba(245, 212, 196, 0.45) 0 16%, transparent 40%),
    var(--off);
  padding: 32px;
  border-radius: 20px;
}

.notice {
  padding: 16px 18px;
  border-radius: 12px;
  background: #e8f6ea;
  display: none;
}

.notice.is-show {
  display: block;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.co-shell {
  padding-top: calc(var(--header-h) + var(--promo-h) + 24px);
  background:
    radial-gradient(circle at 12% 10%, rgba(122, 203, 214, 0.22) 0 18%, transparent 46%),
    radial-gradient(circle at 86% 22%, rgba(187, 224, 215, 0.28) 0 20%, transparent 50%),
    radial-gradient(circle at 44% 95%, rgba(245, 212, 196, 0.35) 0 18%, transparent 46%),
    var(--off);
  color: var(--black);
  min-height: 100vh;
}

body:has(.co-shell) .site-header {
  background: linear-gradient(90deg, #7acbd6 0%, #bbe0d7 38%, #87caa4 70%, #7acbd6 100%);
  color: var(--black);
}
body:has(.co-shell) .site-header .logo-white { display: block; }
body:has(.co-shell) .site-header .logo-dark { display: none; }

.co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch; /* Make column heights match */
}

.co-card {
  background:
    radial-gradient(circle at 88% 10%, rgba(122, 203, 214, 0.20) 0 18%, transparent 42%),
    radial-gradient(circle at 10% 92%, rgba(245, 212, 196, 0.30) 0 16%, transparent 40%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.co-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
}

.co-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.co-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.co-shell .form-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
  color: var(--muted);
}

.co-shell .form-field input,
.co-shell .form-field select,
.co-shell .form-field textarea {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--black);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  font-size: 14px;
}

.co-shell .form-field input::placeholder {
  color: var(--muted);
}

.co-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.co-ship-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-ship {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
  background: rgba(246, 244, 241, 0.55);
}

.co-ship.is-active,
.co-ship:has(input:checked) {
  border-color: var(--mint);
  background:
    radial-gradient(circle at 10% 10%, rgba(122, 203, 214, 0.18) 0 25%, transparent 55%),
    rgba(187, 224, 215, 0.45);
}

.co-ship-meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.co-ship-price {
  font-weight: 600;
  font-size: 14px;
}

.co-ship-price.free {
  color: var(--mint);
}

.co-pay-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-pay {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.2s;
  background: rgba(246, 244, 241, 0.55);
}

.co-pay.is-active,
.co-pay:has(input:checked) {
  border-color: var(--mint);
  background:
    radial-gradient(circle at 10% 10%, rgba(122, 203, 214, 0.18) 0 25%, transparent 55%),
    rgba(187, 224, 215, 0.45);
}

.co-summary {
  /* Keep layout consistent; avoid sticky that can break equal column height */
  position: relative;
  gap: 18px;
}

.co-order-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.co-order-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
}

.co-order-item img {
  width: 48px;
  height: 56px;
  object-fit: contain;
  background: var(--product-stage);
  border-radius: 8px;
}

.co-order-item .co-item-meta {
  font-size: 13px;
  color: var(--muted);
}

.co-order-item .co-item-price {
  font-weight: 600;
  white-space: nowrap;
}

.co-vouchers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.co-voucher {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
  background: rgba(246, 244, 241, 0.55);
}

.co-voucher.is-active,
.co-voucher:has(input:checked) {
  border-color: var(--mint);
  background:
    radial-gradient(circle at 10% 10%, rgba(122, 203, 214, 0.18) 0 25%, transparent 55%),
    rgba(187, 224, 215, 0.45);
}

.co-voucher span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.co-voucher strong {
  font-size: 14px;
}

.co-voucher-val {
  font-weight: 600;
  color: var(--mint);
}

.co-totals {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  gap: 12px;
}

.co-shell .summary-total {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 14px 0 18px;
}

.co-shell .btn-cart {
  background: var(--blue);
  color: var(--black);
  margin-top: 0;
}

.co-shell .btn-cart:hover {
  background: #f4b19a;
}

.co-shell .cart-continue a {
  color: var(--muted);
}

/* ── Account / Login ── */

.acct-shell {
  padding-top: calc(var(--header-h) + var(--promo-h) + 48px);
  padding-bottom: 80px;
  background:
    radial-gradient(circle at 12% 10%, rgba(122, 203, 214, 0.22) 0 18%, transparent 46%),
    radial-gradient(circle at 86% 22%, rgba(187, 224, 215, 0.28) 0 20%, transparent 50%),
    radial-gradient(circle at 44% 95%, rgba(245, 212, 196, 0.35) 0 18%, transparent 46%),
    var(--off);
  color: var(--black);
  min-height: 60vh;
}

body:has(.acct-shell) .site-header {
  background: linear-gradient(90deg, #7acbd6 0%, #bbe0d7 38%, #87caa4 70%, #7acbd6 100%);
  color: var(--black);
}
body:has(.acct-shell) .site-header .logo-white { display: block; }
body:has(.acct-shell) .site-header .logo-dark { display: none; }

.acct-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
}

.acct-sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 0;
  height: fit-content;
  align-self: start;
}

.acct-nav-item {
  display: block;
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.acct-nav-item:hover {
  color: var(--black);
  background: rgba(122, 203, 214, 0.08);
}

.acct-nav-item.is-active {
  color: var(--white);
  background: var(--blue);
  font-weight: 600;
  border-radius: 10px;
  margin: 2px 10px;
  padding: 13px 18px;
}

.acct-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 44px;
}

.acct-pane-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
}

.acct-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 32px;
}

.acct-tab {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.acct-tab:first-child {
  border-radius: 12px 0 0 12px;
}

.acct-tab:last-child {
  border-radius: 0 12px 12px 0;
}

.acct-tab.is-active {
  background: var(--blue);
  color: var(--black);
  border-color: var(--blue);
}

.acct-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.acct-shell .form-field label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
  color: var(--black);
}

.acct-shell .form-field input,
.acct-shell .form-field select,
.acct-shell .form-field textarea {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--black);
  border-radius: 10px;
  padding: 13px 16px;
  width: 100%;
  font-size: 14px;
}

.acct-shell .form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.acct-shell .form-field input::placeholder {
  color: var(--muted);
}

.acct-forgot {
  text-align: right;
  font-size: 13px;
  margin-top: -4px;
}

.acct-forgot a {
  color: var(--blue);
}

.acct-divider {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  margin: 12px 0;
}

.acct-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.acct-divider span {
  position: relative;
  background: var(--white);
  padding: 0 14px;
}

.acct-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.acct-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  transition: border-color 0.2s;
}

.acct-social-btn:hover {
  border-color: var(--blue);
}

/* ── Account table (Order History) ── */

.acct-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.acct-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.acct-table td {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.acct-table tr:last-child td {
  border-bottom: none;
}

.acct-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-block;
  white-space: nowrap;
}

.acct-delivered {
  background: rgba(135, 202, 164, 0.2);
  color: var(--mint);
}

.acct-shipped {
  background: rgba(122, 203, 214, 0.2);
  color: var(--blue);
}

.acct-processing {
  background: rgba(244, 177, 154, 0.2);
  color: #c4784a;
}

.acct-empty {
  color: var(--muted);
  font-size: 14px;
  padding: 20px 0;
}

.acct-empty a {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 800px) {
  .acct-grid {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
  .acct-sidebar {
    display: flex;
    overflow-x: auto;
    gap: 0;
    padding: 0;
  }
  .acct-nav-item {
    white-space: nowrap;
    padding: 12px 18px;
  }
  .acct-card {
    padding: 28px 24px;
  }
}

.co-summary .btn-cart.btn-full {
  width: 100%;
}

.co-summary .btn-full {
  margin: 0;
}

.co-summary .cart-continue {
  margin-top: 6px;
  text-align: center;
}

.cart-page-shell {
  padding-top: calc(var(--header-h) + var(--promo-h) + 24px);
}

body:has(.cart-page-shell) .site-header {
  background: linear-gradient(90deg, #7acbd6 0%, #bbe0d7 38%, #87caa4 70%, #7acbd6 100%);
  color: var(--black);
}
body:has(.cart-page-shell) .site-header .logo-white { display: block; }
body:has(.cart-page-shell) .site-header .logo-dark { display: none; }

.cart-crumbs {
  text-align: center;
  margin-bottom: 8px;
}

.cart-page-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.cart-page-head .title {
  margin-bottom: 12px;
}

.cart-page-head p {
  color: var(--muted);
}

.cart-expire-note {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 34px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff2ef;
  color: #6b5852;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.cart-expire-note .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f4b19a;
  flex: 0 0 auto;
}

.cart-layout {
  align-items: start;
}

.cart-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 120px 140px 140px;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  font-weight: 600;
}

.cart-page-list .cart-line {
  grid-template-columns: 72px minmax(0, 1fr) 120px 140px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}

.cart-page-list .cart-line-info {
  gap: 6px;
}

.cart-page-list .cart-line-info .product-name {
  font-size: 15px;
}

.cart-page-list .cart-line-meta {
  line-height: 1.45;
}

.cart-page-list .qty {
  width: 96px;
  min-height: 40px;
  justify-self: center;
}

.cart-page-list .cart-remove {
  display: inline-block;
  margin-top: 6px;
}

.cart-page-list .cart-line-price {
  text-align: right;
  font-weight: 600;
  color: #d07a79;
}

.cart-coupon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 24px;
}

.cart-coupon input {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0 18px;
  background: var(--white);
}

.cart-coupon .btn {
  min-height: 52px;
  padding-inline: 24px;
}

.cart-summary-card {
  top: calc(var(--header-h) + var(--promo-h) + 20px);
}

.summary-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 22px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-ship {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  display: grid;
  gap: 12px;
}

.summary-ship label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.summary-ship label span:last-child {
  margin-left: auto;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 16px;
  font-size: 18px;
}

.summary-total strong {
  font-size: 28px;
}

.summary-card {
  background: var(--off);
  padding: 24px;
  border-radius: 18px;
  position: sticky;
  top: 100px;
}

.pay-options {
  display: grid;
  gap: 10px;
}

.pay-options label {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.pay-hint {
  margin-top: 16px;
  padding: 14px;
  background: var(--white);
  border-radius: 12px;
  font-size: 14px;
  color: var(--charcoal);
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.account-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 48px 0 80px;
}

.account-nav a {
  display: block;
  padding: 10px 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.account-nav a.is-active,
.account-nav a:hover {
  color: var(--black);
}

.auth-box {
  width: min(440px, 100%);
  margin: 48px auto 80px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.legal {
  max-width: 760px;
  margin: 0 auto 80px;
}

.legal h2 {
  margin: 32px 0 12px;
}

.legal p,
.legal li {
  color: var(--charcoal);
  margin-bottom: 12px;
}

.map-frame {
  min-height: 280px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(122,203,214,.25) 1px, transparent 1px),
    linear-gradient(rgba(122,203,214,.25) 1px, transparent 1px);
  background-size: 28px 28px;
  background-color: #eef6f6;
}

@media (max-width: 1080px) {
  .co-grid {
    grid-template-columns: 1fr;
  }
  .co-summary {
    position: static;
  }
}

@media (max-width: 900px) {
  .split,
  .split.reverse,
  .checkout-grid,
  .account-layout,
  .color-picks {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .summary-card {
    position: static;
  }

  .cart-table-head {
    display: none;
  }

  .cart-page-list .cart-line {
    grid-template-columns: 72px 1fr;
  }

  .cart-page-list .cart-line > :last-child {
    grid-column: 2;
  }

  .cart-coupon {
    grid-template-columns: 1fr;
  }
}
