@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #141214;
  --muted: #685d61;
  --line: #f0d9dc;
  --pink: #efa2b5;
  --rose: #ffe9ee;
  --lilac: #f7c5d0;
  --violet: #d95f7b;
  --mint: #f5eadf;
  --cream: #fff9f5;
  --white: #ffffff;
  --danger: #b94256;
  --ok: #8a6a32;
  --coral: #e56f88;
  --copper: #b66a32;
  --gold: #c89a4d;
  --soft-card: rgba(255, 246, 248, .9);
  --shadow: 0 18px 42px rgba(104, 61, 69, .13);
}

body {
  background:
    radial-gradient(circle at 12% 12%, rgba(239, 162, 181, .18), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(200, 154, 77, .12), transparent 30%),
    linear-gradient(135deg, #fffaf7 0%, #fff3f6 48%, #fffdfb 100%);
  color: var(--ink);
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.promo-strip {
  align-items: center;
  background: linear-gradient(90deg, #e98297, #ef9dac);
  border-radius: 8px 8px 0 0;
  color: #fff;
  display: grid;
  font-size: .82rem;
  font-weight: 700;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  padding: 9px 14px;
}

.site-header {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(240, 217, 220, .9);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 38px rgba(104, 61, 69, .1);
  margin-bottom: 18px;
  overflow: hidden;
}

.header-main {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(220px, .85fr) minmax(280px, 1.25fr) auto;
  padding: 16px 22px;
}

.topbar {
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(240, 217, 220, .9);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(104, 61, 69, .09);
  margin-bottom: 18px;
  padding: 12px 14px;
}

.header-search {
  margin: 0;
  padding: 8px;
}

.header-search .input {
  flex: 1 1 220px;
}

.header-search .select {
  max-width: 180px;
}

.featured-toggle {
  color: var(--muted);
  font-size: .86rem;
  white-space: nowrap;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.icon-action {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  display: grid;
  font-size: 1.35rem;
  justify-items: center;
  min-width: 48px;
  position: relative;
  text-decoration: none;
}

.icon-action span {
  color: var(--ink);
  font-size: .72rem;
  font-weight: 600;
  margin-top: 2px;
}

.icon-action b {
  align-items: center;
  background: var(--coral);
  border-radius: 999px;
  color: #fff;
  display: grid;
  font-size: .68rem;
  height: 20px;
  min-width: 20px;
  padding: 0 5px;
  position: absolute;
  right: 2px;
  top: -6px;
}

.main-nav {
  align-items: center;
  background: linear-gradient(90deg, #ef9dac, #e98297);
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 0 16px;
}

.main-nav a,
.main-nav button {
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 13px 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav button:hover {
  background: rgba(255, 255, 255, .18);
}

.nav-category {
  border-radius: 999px 999px 0 0;
}

.brand {
  min-width: 0;
}

.brand strong,
.hero h1,
.mission-vision h2,
.panel h1,
.panel h2,
.panel h3,
.product-body h3 {
  font-family: "Playfair Display", Georgia, serif;
}

.brand strong {
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: 0;
}

.brand span span {
  color: var(--muted);
}

.logo {
  background: #fff;
  border: 1px solid rgba(240, 217, 220, .9);
  box-shadow: 0 12px 30px rgba(104, 61, 69, .12);
}

.logo-image {
  height: 58px;
  overflow: hidden;
  padding: 4px;
  width: 58px;
}

.logo-image img {
  border-radius: 7px;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 75% 55%, rgba(255, 255, 255, .92) 0 19%, transparent 20%),
    linear-gradient(105deg, #fff5f7 0%, #ffdce5 48%, #fff4ef 100%);
  box-shadow: 0 22px 60px rgba(104, 61, 69, .16);
  color: var(--ink);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr);
  isolation: isolate;
  min-height: 420px;
  overflow: hidden;
}

.hero::before {
  animation: none;
  background: url("/assets/logo-cjstore-official.jpeg") center / contain no-repeat;
  content: "";
  inset: -86px -56px;
  opacity: .14;
  pointer-events: none;
  position: absolute;
  transform: rotate(-2deg) scale(1.08);
  z-index: 0;
}

.hero::after {
  animation: none;
  background:
    linear-gradient(90deg, rgba(255, 249, 245, .72), rgba(255, 249, 245, .22) 48%, rgba(255, 249, 245, .46)),
    radial-gradient(circle at 30% 48%, rgba(255, 255, 255, .7), transparent 42%),
    radial-gradient(circle at 74% 54%, rgba(255, 255, 255, .42), transparent 34%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero h1 {
  color: var(--ink);
  letter-spacing: 0;
  max-width: 520px;
  text-shadow: none;
}

.hero p {
  color: var(--muted);
  max-width: 460px;
}

.hero-copy {
  min-height: 310px;
  padding: 52px 0 42px;
  position: relative;
  z-index: 2;
}

.hero-copy::before,
.hero-copy::after {
  content: none;
}

.hero-title-lockup {
  display: block;
  max-width: 700px;
}

.hero-kicker {
  color: var(--coral);
  display: inline-flex;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-showcase {
  min-height: 320px;
  position: relative;
  z-index: 2;
}

.showcase-stage {
  background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 228, 234, .65));
  border-radius: 50%;
  bottom: 0;
  box-shadow: inset 0 -18px 40px rgba(229, 111, 136, .12), 0 24px 58px rgba(104, 61, 69, .16);
  height: min(350px, 72vw);
  margin-left: auto;
  position: relative;
  width: min(520px, 92vw);
}

.showcase-stage img {
  border: 8px solid rgba(255, 255, 255, .86);
  box-shadow: 0 18px 40px rgba(104, 61, 69, .17);
  object-fit: cover;
  position: absolute;
}

.showcase-main {
  border-radius: 28px;
  height: 230px;
  left: 38%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 250px;
}

.showcase-float {
  border-radius: 22px;
  height: 132px;
  width: 132px;
}

.showcase-bag {
  right: 46px;
  top: 42px;
}

.showcase-perfume {
  bottom: 34px;
  right: 88px;
}

.filters,
.panel,
.sidebar,
.mission-vision article,
.card,
.stat,
.drawer,
.modal-box,
.notice {
  background: rgba(255, 255, 255, .9);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.benefit-row {
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 22px;
}

.benefit-row article {
  align-items: center;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 2px 12px;
  grid-template-columns: auto 1fr;
  padding: 18px;
}

.benefit-row article:last-child {
  border-right: 0;
}

.benefit-row span {
  color: var(--coral);
  font-size: 1.7rem;
  grid-row: span 2;
}

.benefit-row strong {
  font-size: .92rem;
}

.benefit-row small {
  color: var(--muted);
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 24px 2px 14px;
}

.section-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0;
}

.section-heading span {
  color: var(--muted);
}

.link-button {
  background: transparent;
  border: 0;
  color: var(--coral);
  cursor: pointer;
  font-weight: 800;
}

.category-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
}

.category-strip button {
  background: linear-gradient(180deg, #fff, #fff0f4);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font-weight: 700;
  gap: 10px;
  min-height: 132px;
  padding: 18px 10px;
  place-items: center;
  transition: box-shadow .2s ease, transform .2s ease;
}

.category-strip button:hover {
  box-shadow: 0 20px 48px rgba(229, 111, 136, .2);
  transform: translateY(-3px);
}

.category-strip span {
  align-items: center;
  background: #ffe8ee;
  border-radius: 8px;
  color: var(--coral);
  display: grid;
  font-size: 2rem;
  height: 70px;
  overflow: hidden;
  place-items: center;
  width: 80px;
}

.category-strip .category-thumb img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

#categoryIcon {
  display: none;
}

.category-image-field {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
}

.form-label {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.category-image-preview {
  align-items: center;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  padding: 12px;
}

.category-image-preview img,
.category-admin-thumb {
  background: #fff9f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.category-image-preview img {
  height: 86px;
  width: 86px;
}

.category-image-preview span {
  display: block;
  word-break: break-word;
}

.category-image-gallery {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  max-height: 330px;
  overflow: auto;
  padding-right: 2px;
}

.category-image-option {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  gap: 8px;
  min-height: 128px;
  padding: 8px;
  text-align: center;
}

.category-image-option img {
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  width: 72px;
  justify-self: center;
}

.category-image-option.selected {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(229, 111, 136, .16);
}

.category-upload-button {
  cursor: pointer;
  display: inline-flex;
  overflow: hidden;
  position: relative;
}

.category-upload-button input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.category-admin-thumb {
  height: 48px;
  width: 48px;
}

.header-actions > .icon-action:not(.wishlist-action):first-of-type {
  display: none;
}

.experience-highlights {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0;
}

.experience-card {
  background:
    radial-gradient(circle at 90% 18%, rgba(255, 255, 255, .9), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 232, 238, .9));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  min-height: 250px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.experience-card::before,
.experience-card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.adoption-highlight::before {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(229, 111, 136, .18);
  border-radius: 50%;
  box-shadow: 58px 0 0 rgba(255, 255, 255, .86);
  height: 34px;
  right: 82px;
  top: 18px;
  width: 34px;
}

.adoption-highlight::after {
  animation: experienceIconFloat 4.8s ease-in-out infinite;
  background:
    radial-gradient(circle at 34% 42%, rgba(229, 111, 136, .72) 0 5px, transparent 6px),
    radial-gradient(circle at 66% 42%, rgba(229, 111, 136, .72) 0 5px, transparent 6px),
    radial-gradient(ellipse at 50% 66%, rgba(200, 154, 77, .58) 0 15px, transparent 16px),
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 235, 241, .82));
  border: 1px solid rgba(229, 111, 136, .2);
  border-radius: 45% 45% 42% 42%;
  box-shadow: 0 18px 38px rgba(104, 61, 69, .1);
  height: 72px;
  right: 42px;
  top: 34px;
  width: 86px;
}

.business-highlight::before {
  animation: experienceSpark 3.8s ease-in-out infinite;
  background: rgba(229, 111, 136, .26);
  border-radius: 999px;
  box-shadow:
    20px -12px 0 rgba(200, 154, 77, .28),
    42px 10px 0 rgba(229, 111, 136, .18);
  height: 12px;
  right: 112px;
  top: 34px;
  width: 12px;
}

.business-highlight::after {
  animation: experienceIconFloat 5.2s ease-in-out infinite;
  background:
    linear-gradient(90deg, transparent 20%, rgba(229, 111, 136, .2) 20% 80%, transparent 80%),
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 232, 238, .86));
  border: 1px solid rgba(229, 111, 136, .22);
  border-radius: 10px 10px 28px 28px;
  box-shadow: 0 18px 38px rgba(104, 61, 69, .1);
  height: 78px;
  right: 46px;
  top: 42px;
  width: 76px;
}

.experience-card h2,
.suggestions-panel h2,
.entrepreneur-panel h2 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0;
}

.experience-card h2 {
  position: relative;
  z-index: 1;
}

.experience-card p {
  color: var(--muted);
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.experience-card .actions,
.experience-card .badge {
  position: relative;
  z-index: 1;
}

@keyframes experienceIconFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-9px) rotate(3deg); }
}

@keyframes experienceSpark {
  0%, 100% { opacity: .45; transform: scale(.9); }
  50% { opacity: .95; transform: scale(1.15); }
}

.wishlist-item {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 86px 1fr;
  padding: 14px 0;
}

.wishlist-item img {
  aspect-ratio: 1;
  background: #fff2f5;
  border-radius: 8px;
  object-fit: cover;
  width: 86px;
}

.wishlist-qty {
  display: inline-block;
  margin-left: 6px;
  max-width: 74px;
  padding: 6px 8px;
}

.heart-button {
  min-width: 42px;
}

.heart-button.active {
  background: #ffe5eb;
  border-color: var(--coral);
  color: var(--coral);
}

.suggestions-panel,
.entrepreneur-panel {
  margin: 26px 0;
}

.suggestions-panel .section-heading,
.entrepreneur-panel .section-heading {
  margin-top: 0;
}

.entrepreneur-benefits {
  margin-bottom: 18px;
}

.tour-modal {
  align-items: end;
  background: rgba(20, 18, 20, .22);
  pointer-events: none;
}

.tour-box {
  border: 1px solid var(--line);
  max-width: 520px;
  pointer-events: auto;
}

.tour-box:focus-visible {
  outline: 3px solid rgba(229, 111, 136, .55);
  outline-offset: 3px;
}

.tour-target {
  outline: 3px solid rgba(229, 111, 136, .45);
  outline-offset: 6px;
  position: relative;
  z-index: 5;
}

.tracking-progress {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  margin: 12px 0;
}

.tracking-progress span,
.tracking-details,
.tracking-history,
.order-logistics {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.tracking-progress span {
  color: var(--muted);
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.tracking-progress b {
  align-items: center;
  background: #ffe5eb;
  border-radius: 999px;
  color: #8d3b4d;
  display: grid;
  height: 28px;
  place-items: center;
  width: 28px;
}

.tracking-progress span.active {
  border-color: rgba(229, 111, 136, .45);
  color: var(--ink);
}

.tracking-progress span.active b {
  background: var(--coral);
  color: #fff;
}

.tracking-details,
.tracking-history,
.order-logistics {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.adoption-tracking {
  background: linear-gradient(180deg, #fff, #fff3f6);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
}

.adoption-tracking article {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 86px 1fr;
}

.adoption-tracking img {
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  width: 86px;
}

.adoption-tracking h3 {
  margin: 0 0 4px;
}

.adoption-tracking article div {
  display: grid;
  gap: 4px;
}

.entrepreneur-tracking {
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
}

.entrepreneur-tracking > div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.entrepreneur-tracking span {
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.tracking-products {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.order-logistics .textarea {
  min-height: 64px;
}

.tabs-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.experience-admin-view {
  display: grid;
  gap: 14px;
}

.experience-admin-view.hidden {
  display: none;
}

.experience-admin-view .panel {
  margin: 0;
}

.program-assignment-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
  max-height: 180px;
  overflow: auto;
  padding: 10px;
}

.program-assignment-list label {
  color: var(--muted);
  font-size: .84rem;
}

@media (prefers-reduced-motion: reduce) {
  .tour-target {
    scroll-behavior: auto;
  }
}

.filters {
  backdrop-filter: blur(10px);
}

.button {
  border-radius: 999px;
  font-weight: 700;
}

.button.pink,
.button:not(.secondary):not(.danger) {
  background: linear-gradient(135deg, var(--coral), #d95f7b);
  color: #fff;
}

.button.pink:hover,
.button:not(.secondary):not(.danger):hover {
  box-shadow: 0 14px 30px rgba(229, 111, 136, .28);
}

.button.secondary {
  background: rgba(255, 255, 255, .92);
  border: 1px solid #ebb4c1;
  color: #9d3f54;
}

.button.danger {
  background: var(--danger);
}

.input,
.select,
.textarea {
  border-color: var(--line);
  border-radius: 8px;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--coral);
  outline: 3px solid rgba(229, 111, 136, .18);
}

.badge {
  background: #ffe5eb;
  color: #8d3b4d;
}

.badge.ok {
  background: #f8eddc;
  color: #8a5c21;
}

.badge.warn {
  background: #fff2c9;
  color: #8a5c21;
}

.price {
  color: var(--coral);
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
}

.product-img {
  background: #fff2f5;
}

.card:hover {
  box-shadow: 0 24px 60px rgba(229, 111, 136, .2);
}

.mission-vision article {
  position: relative;
}

.mission-vision article::after {
  color: rgba(182, 106, 50, .2);
  content: "♡";
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  position: absolute;
  right: 18px;
  top: 10px;
}

.floating-bg span {
  color: rgba(229, 111, 136, .22);
}

.floating-bg span:nth-child(3n) {
  color: rgba(182, 106, 50, .18);
}

.floating-bg span:nth-child(4n) {
  color: rgba(20, 18, 20, .12);
}

.sparkles,
.charm {
  color: #fff0f4;
  z-index: 3;
}

.charm {
  background: rgba(255, 255, 255, .84);
  border-color: rgba(239, 162, 181, .9);
  color: var(--coral);
}

.tab {
  color: var(--ink);
}

.tab.active {
  background: #ffe5eb;
  color: #8d3b4d;
}

.admin-sidebar-logo {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-bottom: 8px;
  padding-bottom: 12px;
  text-align: center;
}

.admin-sidebar-logo img,
.login-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(104, 61, 69, .12);
  display: block;
  height: auto;
  object-fit: contain;
}

.admin-sidebar-logo img {
  max-width: 118px;
  width: 78%;
}

.login-logo {
  margin: 0 auto 14px;
  max-width: 150px;
  width: 42%;
}

.site-footer {
  align-items: center;
  background: rgba(255, 255, 255, .9);
  border-top: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.site-footer img {
  border-radius: 8px;
  height: 58px;
  object-fit: contain;
  width: 58px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: var(--muted);
  font-size: .9rem;
}

.site-footer a {
  color: var(--coral);
  display: inline-block;
  font-size: .86rem;
  font-weight: 800;
  margin-top: 6px;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.trust-center-page {
  box-sizing: border-box;
  padding-bottom: 8px;
  width: min(1180px, 100%);
  overflow-x: hidden;
}

.trust-center-page *,
.trust-center-page *::before,
.trust-center-page *::after {
  box-sizing: border-box;
}

.trust-site-header {
  border-radius: 8px;
}

.trust-header-main {
  grid-template-columns: minmax(220px, 1fr) auto;
}

.trust-header-main > * {
  min-width: 0;
}

.trust-top-nav {
  background: transparent;
  justify-content: flex-end;
  padding: 0;
}

.trust-top-nav a {
  border-radius: 999px;
  color: var(--ink);
  padding: 10px 14px;
}

.trust-top-nav a:hover {
  background: var(--rose);
}

.trust-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 245, 247, .96), rgba(255, 255, 255, .92)),
    url("/assets/logo-cjstore-official.jpeg") right -36px center / 360px auto no-repeat;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  max-width: 100%;
  overflow: hidden;
}

.trust-hero > * {
  min-width: 0;
}

.trust-hero h1 {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: 0;
  line-height: .98;
  margin: 10px 0 14px;
  max-width: 740px;
  overflow-wrap: anywhere;
  width: 100%;
}

.trust-hero p {
  color: var(--muted);
  max-width: 620px;
}

.trust-search-box {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(104, 61, 69, .09);
  max-width: 100%;
  padding: 16px;
}

.trust-search-box label {
  color: var(--ink);
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.trust-search-row {
  display: flex;
  gap: 8px;
}

.trust-search-row .input {
  min-width: 0;
}

.trust-search-count {
  color: var(--muted);
  display: block;
  font-size: .84rem;
  margin-top: 8px;
}

.trust-section {
  margin-top: 18px;
}

.trust-card-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-card-grid.moments {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-card {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
  padding: 18px;
}

.trust-card-action {
  justify-content: space-between;
}

.trust-card.compact {
  min-height: 130px;
}

.trust-card h3,
.trust-manual-item h3 {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
  letter-spacing: 0;
  margin: 0;
}

.trust-card p,
.trust-manual-item p {
  color: var(--muted);
  margin: 0;
}

.trust-step {
  align-items: center;
  background: var(--rose);
  border-radius: 999px;
  color: var(--coral);
  display: grid;
  font-weight: 800;
  height: 32px;
  width: 32px;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.trust-tags span {
  background: #fff3f6;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 9px;
}

.trust-manual {
  display: grid;
  gap: 12px;
}

.trust-manual-item {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.trust-manual-item ul {
  color: var(--muted);
  margin: 12px 0 0;
  padding-left: 20px;
}

.trust-manual-item li + li {
  margin-top: 6px;
}

.trust-hidden {
  display: none;
}

.order-tracking-page {
  padding-bottom: 8px;
}

.tracking-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 245, 247, .97), rgba(255, 255, 255, .92)),
    url("/assets/logo-cjstore-official.jpeg") right -42px center / 350px auto no-repeat;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  overflow: hidden;
}

.tracking-hero h1 {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
  line-height: .98;
  margin: 10px 0 14px;
  max-width: 740px;
}

.tracking-hero p,
.tracking-current p,
.tracking-step p,
.tracking-diary p {
  color: var(--muted);
}

.tracking-lookup {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(104, 61, 69, .09);
  display: grid;
  gap: 10px;
  padding: 16px;
}

.tracking-current {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  margin-top: 18px;
}

.tracking-current h2 {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0;
  margin: 10px 0;
}

.tracking-current aside {
  background: #fff3f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.tracking-current aside span,
.tracking-current aside small {
  color: var(--muted);
}

.tracking-current aside strong {
  color: var(--coral);
  font-size: 1.2rem;
}

.tracking-actions {
  margin-top: 14px;
}

.tracking-section {
  margin-top: 18px;
}

.tracking-timeline {
  display: grid;
  gap: 10px;
}

.tracking-step {
  align-items: start;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr;
  padding: 14px;
}

.tracking-step span {
  align-items: center;
  background: #fff3f6;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: grid;
  font-weight: 800;
  height: 34px;
  justify-items: center;
  width: 34px;
}

.tracking-step.done span,
.tracking-step.current span {
  background: var(--coral);
  color: #fff;
}

.tracking-step.current {
  border-color: var(--coral);
  box-shadow: 0 12px 30px rgba(104, 61, 69, .1);
}

.tracking-step strong,
.tracking-diary strong {
  color: var(--ink);
  display: block;
}

.tracking-step small,
.tracking-diary time {
  color: var(--muted);
  font-size: .82rem;
}

.tracking-diary {
  display: grid;
  gap: 10px;
}

.tracking-diary article {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.tracking-evidence {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
}

.tracking-evidence img {
  aspect-ratio: 16 / 9;
  background: #fff3f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  max-height: 320px;
  object-fit: contain;
  width: 100%;
}

.tracking-evidence figcaption {
  color: var(--muted);
  font-size: .82rem;
}

.tracking-summary-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tracking-summary-grid article {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.tracking-summary-grid span {
  color: var(--muted);
  display: block;
  font-size: .82rem;
}

.tracking-summary-grid strong {
  color: var(--ink);
}

.delivered-check {
  background: linear-gradient(135deg, #fff5f7, #fff);
}

@media (max-width: 780px) {
  .promo-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-main {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .header-actions {
    justify-content: space-between;
  }

  .header-search {
    order: 3;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-nav a,
  .main-nav button {
    flex: 0 0 auto;
  }

  .topbar {
    align-items: flex-start;
  }

  .brand {
    gap: 9px;
  }

  .logo-image {
    height: 48px;
    width: 48px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero::before {
    inset: -42px -78px;
    opacity: .12;
    transform: rotate(-2deg) scale(1.22);
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 249, 245, .76), rgba(255, 249, 245, .34) 56%, rgba(255, 249, 245, .56)),
      radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .68), transparent 45%);
  }

  .hero-copy {
    min-height: 240px;
    padding: 34px 0 24px;
  }

  .hero-showcase {
    min-height: 250px;
  }

  .showcase-stage {
    height: 260px;
  }

  .showcase-main {
    height: 165px;
    width: 190px;
  }

  .showcase-float {
    height: 94px;
    width: 94px;
  }

  .benefit-row,
  .category-strip,
  .experience-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-row article {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .site-footer {
    text-align: center;
  }

  .trust-header-main,
  .trust-hero,
  .tracking-hero,
  .tracking-current,
  .trust-card-grid,
  .trust-card-grid.moments {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .trust-top-nav {
    justify-content: flex-start;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
  }

  .trust-top-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .trust-center-page .panel,
  .trust-site-header,
  .trust-footer {
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .trust-center-page {
    padding-left: 14px;
    padding-right: 14px;
    width: 100vw;
  }

  .experience-highlights,
  .benefit-row,
  .category-strip {
    grid-template-columns: 1fr;
  }

  .experience-card {
    padding: 22px;
  }

  .wishlist-item {
    grid-template-columns: 70px 1fr;
  }

  .wishlist-item img {
    width: 70px;
  }

  .trust-search-row {
    flex-direction: column;
  }

  .trust-hero {
    background:
      linear-gradient(135deg, rgba(255, 245, 247, .96), rgba(255, 255, 255, .92)),
      url("/assets/logo-cjstore-official.jpeg") right -90px center / 260px auto no-repeat;
    padding-left: 16px;
    padding-right: 16px;
  }

  .trust-hero h1 {
    font-size: 1.82rem;
    line-height: 1.05;
    max-width: calc(100vw - 62px);
    white-space: normal;
    word-break: break-word;
  }

  .tracking-hero h1 {
    font-size: 2.05rem;
  }

  .tracking-hero,
  .tracking-current,
  .tracking-section {
    overflow: hidden;
  }

  .tracking-summary-grid {
    grid-template-columns: 1fr;
  }
}
