:root {
  --cw-font-heading: 'Playfair Display', serif;
  --cw-font-body: 'Inter', sans-serif;
  --cw-charcoal: #1C1916;
  --cw-gold: #B8922A;
  --cw-gold-soft: #D4B05A;
  --cw-cream: #FAF7F2;
  --cw-forest: #1A3A2A;
  --cw-white: #FEFDFB;
  --cw-border: rgba(28, 25, 22, 0.12);
  --cw-border-strong: rgba(28, 25, 22, 0.18);
  --cw-copy-soft: rgba(28, 25, 22, 0.68);
  --cw-copy-muted: rgba(28, 25, 22, 0.52);
  --cw-shadow: 0 24px 60px rgba(28, 25, 22, 0.08);
  --cw-shadow-soft: 0 18px 40px rgba(28, 25, 22, 0.06);
  --cw-radius-xl: 30px;
  --cw-radius-lg: 22px;
  --cw-radius-md: 16px;
  --cw-radius-sm: 12px;
  --cw-max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.cw-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(212, 176, 90, 0.12), transparent 26%),
    radial-gradient(circle at top left, rgba(26, 58, 42, 0.08), transparent 30%),
    var(--cw-cream);
  color: var(--cw-charcoal);
  font-family: var(--cw-font-body);
}

body.cw-body img {
  max-width: 100%;
  display: block;
}

body.cw-body a {
  color: inherit;
  text-decoration: none;
}

body.cw-body button,
body.cw-body input,
body.cw-body textarea,
body.cw-body select {
  font: inherit;
}

.cw-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cw-container {
  width: min(calc(100% - 2rem), var(--cw-max));
  margin: 0 auto;
}

.cw-topline {
  border-bottom: 1px solid rgba(184, 146, 42, 0.14);
  background: rgba(254, 253, 251, 0.72);
  backdrop-filter: blur(18px);
}

.cw-topline-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--cw-copy-soft);
}

.cw-topline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cw-topline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cw-copy-soft);
}

.cw-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(184, 146, 42, 0.12);
  background: rgba(254, 253, 251, 0.88);
  backdrop-filter: blur(22px);
}

.cw-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 96px;
}

.cw-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.cw-brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(184, 146, 42, 0.35);
  display: grid;
  place-items: center;
  color: var(--cw-gold);
  font-family: var(--cw-font-heading);
  font-size: 1.9rem;
  background: linear-gradient(145deg, rgba(212, 176, 90, 0.12), rgba(254, 253, 251, 0.96));
  box-shadow: inset 0 0 0 1px rgba(184, 146, 42, 0.08);
}

.cw-brand-copy {
  min-width: 0;
}

.cw-brand-name {
  display: block;
  font-family: var(--cw-font-heading);
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  line-height: 0.92;
  letter-spacing: 0.08em;
}

.cw-brand-name span:first-child {
  color: var(--cw-gold);
}

.cw-brand-wrap--wordmark {
  gap: 0;
}

.cw-brand-wrap--wordmark .cw-brand-name {
  font-family: var(--cw-font-heading);
  font-size: clamp(1.4rem, 1.8vw, 1.92rem);
  letter-spacing: 0.22em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--cw-charcoal);
}

.cw-brand-wrap--wordmark .cw-brand-name span:first-child {
  color: var(--cw-gold);
}

.cw-brand-wrap--wordmark .cw-brand-sub {
  margin-top: 0.24rem;
  color: var(--cw-gold);
  letter-spacing: 0.44em;
  font-size: 0.62rem;
  font-weight: 800;
}

.cw-brand-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  color: var(--cw-copy-muted);
  text-transform: uppercase;
}

.cw-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cw-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem;
  border: 1px solid rgba(184, 146, 42, 0.14);
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.78);
}

.cw-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--cw-copy-soft);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cw-nav-link:hover,
.cw-nav-link.active {
  background: rgba(184, 146, 42, 0.12);
  color: var(--cw-charcoal);
  transform: translateY(-1px);
}

.cw-header-tools {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cw-search {
  position: relative;
  width: min(320px, 100%);
}

.cw-search-input {
  width: 100%;
  padding: 0.95rem 3rem 0.95rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 146, 42, 0.18);
  background: rgba(250, 247, 242, 0.95);
  color: var(--cw-charcoal);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cw-search-input:focus,
.cw-input:focus,
.cw-select:focus,
.cw-textarea:focus {
  border-color: rgba(184, 146, 42, 0.5);
  box-shadow: 0 0 0 4px rgba(184, 146, 42, 0.14);
}

.cw-search-btn {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cw-gold), var(--cw-gold-soft));
  color: var(--cw-white);
  cursor: pointer;
}

.cw-search-results {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  right: 0;
  padding: 0.5rem;
  border: 1px solid rgba(184, 146, 42, 0.14);
  border-radius: 20px;
  background: var(--cw-white);
  box-shadow: var(--cw-shadow-soft);
  display: none;
}

.cw-search-results.show {
  display: block;
}

.cw-search-result {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 16px;
}

.cw-search-result:hover {
  background: rgba(184, 146, 42, 0.08);
}

.cw-search-result img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(250, 247, 242, 0.94);
  padding: 0.35rem;
}

.cw-search-result small {
  display: block;
  color: var(--cw-copy-muted);
  margin-top: 0.15rem;
}

.cw-header-actions,
.cw-auth-slot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cw-action-link,
.cw-auth-btn,
.cw-cart-link,
.cw-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 146, 42, 0.16);
  background: rgba(250, 247, 242, 0.9);
  color: var(--cw-charcoal);
  cursor: pointer;
}

.cw-action-icon,
.cw-auth-icon,
.cw-cart-icon {
  font-size: 1rem;
}

.cw-cart-link {
  position: relative;
}

.cw-cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 0.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  background: linear-gradient(145deg, var(--cw-gold), var(--cw-gold-soft));
  color: var(--cw-white);
}

.cw-mobile-toggle {
  display: none;
  width: 48px;
  padding: 0;
  font-size: 1.3rem;
}

.cw-mobile-menu {
  display: none;
  padding: 0 0 1rem;
}

.cw-mobile-menu.open {
  display: block;
}

.cw-mobile-panel {
  padding: 1rem;
  border-radius: var(--cw-radius-lg);
  border: 1px solid rgba(184, 146, 42, 0.14);
  background: rgba(254, 253, 251, 0.96);
  box-shadow: var(--cw-shadow-soft);
}

.cw-mobile-links {
  display: grid;
  gap: 0.55rem;
}

.cw-mobile-links a,
.cw-mobile-links button {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(184, 146, 42, 0.12);
  background: rgba(250, 247, 242, 0.85);
  text-align: left;
  color: var(--cw-charcoal);
}

.cw-main {
  flex: 1;
  padding: 2rem 0 4rem;
}

.cw-page-hero {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 146, 42, 0.22);
  background: rgba(254, 253, 251, 0.84);
  color: var(--cw-gold);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cw-page-title {
  margin: 0;
  font-family: var(--cw-font-heading);
  font-size: clamp(3rem, 5vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.cw-page-title .accent,
.cw-highlight {
  color: var(--cw-gold);
  font-style: italic;
}

.cw-page-copy {
  max-width: 720px;
  margin: 0;
  color: var(--cw-copy-soft);
  font-size: 1.04rem;
  line-height: 1.78;
}

.cw-grid {
  display: grid;
  gap: 1.5rem;
}

.cw-grid--cart,
.cw-grid--checkout,
.cw-grid--orders,
.cw-grid--shop,
.cw-grid--product {
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr);
  align-items: start;
}

.cw-card {
  padding: 1.5rem;
  border: 1px solid rgba(184, 146, 42, 0.14);
  border-radius: var(--cw-radius-xl);
  background: rgba(254, 253, 251, 0.92);
  box-shadow: var(--cw-shadow-soft);
}

.cw-card + .cw-card {
  margin-top: 1rem;
}

.cw-card-title {
  margin: 0 0 0.35rem;
  font-family: var(--cw-font-heading);
  font-size: 2rem;
  line-height: 1;
}

.cw-card-copy {
  color: var(--cw-copy-soft);
  line-height: 1.75;
}

.cw-divider {
  height: 1px;
  margin: 1.25rem 0;
  background: linear-gradient(90deg, rgba(184, 146, 42, 0.22), transparent 80%);
}

.cw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(184, 146, 42, 0.18);
  background: transparent;
  color: var(--cw-charcoal);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cw-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(28, 25, 22, 0.08);
}

.cw-button--primary {
  background: linear-gradient(145deg, var(--cw-gold), var(--cw-gold-soft));
  color: var(--cw-white);
  border-color: transparent;
}

.cw-button--dark {
  background: var(--cw-charcoal);
  color: var(--cw-white);
  border-color: transparent;
}

.cw-button--ghost {
  background: rgba(254, 253, 251, 0.92);
}

.cw-button--soft {
  background: rgba(184, 146, 42, 0.1);
  color: var(--cw-forest);
}

.cw-button[disabled] {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cw-pill,
.cw-badge,
.cw-status,
.cw-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  line-height: 1.1;
}

.cw-pill {
  background: rgba(184, 146, 42, 0.12);
  color: var(--cw-forest);
}

.cw-badge {
  background: rgba(26, 58, 42, 0.1);
  color: var(--cw-forest);
}

.cw-status[data-tone='paid'],
.cw-status[data-tone='delivered'],
.cw-status[data-tone='in_stock'] {
  background: rgba(26, 58, 42, 0.12);
  color: var(--cw-forest);
}

.cw-status[data-tone='processing'],
.cw-status[data-tone='pending'],
.cw-status[data-tone='low_stock'] {
  background: rgba(184, 146, 42, 0.14);
  color: #7a5800;
}

.cw-status[data-tone='failed'],
.cw-status[data-tone='cancelled'],
.cw-status[data-tone='out_of_stock'] {
  background: rgba(186, 66, 52, 0.12);
  color: #9b2f23;
}

.cw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--cw-copy-soft);
  font-size: 0.94rem;
}

.cw-cart-list {
  display: grid;
  gap: 1rem;
}

.cw-cart-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: start;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(254, 253, 251, 0.92), rgba(250, 247, 242, 0.92));
  border: 1px solid rgba(184, 146, 42, 0.12);
}

.cw-cart-thumb,
.cw-product-gallery-main,
.cw-order-thumb,
.cw-shop-thumb {
  border-radius: 24px;
  background: rgba(250, 247, 242, 0.95);
  display: grid;
  place-items: center;
  padding: 0.85rem;
  overflow: hidden;
}

.cw-cart-thumb img,
.cw-product-gallery-main img,
.cw-order-thumb img,
.cw-shop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cw-cart-thumb {
  height: 118px;
}

.cw-cart-main {
  display: grid;
  gap: 0.85rem;
}

.cw-cart-title,
.cw-product-name,
.cw-order-product-name,
.cw-shop-title {
  margin: 0;
  font-family: var(--cw-font-heading);
  font-size: 2rem;
  line-height: 0.95;
}

.cw-cart-copy,
.cw-shop-copy,
.cw-order-copy,
.cw-support-copy,
.cw-muted {
  color: var(--cw-copy-soft);
  line-height: 1.65;
}

.cw-cart-side {
  min-width: 180px;
  display: grid;
  gap: 0.8rem;
  justify-items: end;
}

.cw-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 146, 42, 0.16);
  background: rgba(254, 253, 251, 0.96);
}

.cw-qty button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(184, 146, 42, 0.14);
  color: var(--cw-charcoal);
  cursor: pointer;
}

.cw-qty-value {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
}

.cw-summary-card {
  position: sticky;
  top: 120px;
}

.cw-summary-list {
  display: grid;
  gap: 0.85rem;
}

.cw-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--cw-copy-soft);
}

.cw-summary-row strong,
.cw-summary-row .cw-total {
  color: var(--cw-charcoal);
}

.cw-summary-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 146, 42, 0.16);
}

.cw-summary-total .cw-total {
  font-family: var(--cw-font-heading);
  font-size: 2.5rem;
  line-height: 1;
}

.cw-coupon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.cw-input,
.cw-select,
.cw-textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(184, 146, 42, 0.16);
  background: rgba(254, 253, 251, 0.98);
  color: var(--cw-charcoal);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cw-field {
  display: grid;
  gap: 0.45rem;
}

.cw-field label {
  font-size: 0.9rem;
  color: var(--cw-copy-soft);
}

.cw-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cw-form-grid .full {
  grid-column: 1 / -1;
}

.cw-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cw-step {
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  border-radius: 22px;
  border: 1px solid rgba(184, 146, 42, 0.12);
  background: rgba(254, 253, 251, 0.92);
}

.cw-step::before {
  content: attr(data-step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(184, 146, 42, 0.15);
  color: var(--cw-gold);
}

.cw-step.is-active,
.cw-step.is-complete {
  border-color: rgba(184, 146, 42, 0.32);
}

.cw-step.is-active::before,
.cw-step.is-complete::before {
  background: linear-gradient(145deg, var(--cw-gold), var(--cw-gold-soft));
  color: var(--cw-white);
}

.cw-step strong {
  display: block;
  margin-bottom: 0.2rem;
}

.cw-payment-grid,
.cw-trust-grid,
.cw-recommend-grid,
.cw-related-grid,
.cw-shop-grid,
.cw-order-stat-grid {
  display: grid;
  gap: 1rem;
}

.cw-payment-grid,
.cw-trust-grid,
.cw-order-stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.cw-payment-option,
.cw-trust-card,
.cw-recommend-card,
.cw-related-card,
.cw-shop-card,
.cw-order-item,
.cw-help-card,
.cw-note-card,
.cw-status-card {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(184, 146, 42, 0.12);
  background: rgba(254, 253, 251, 0.96);
}

.cw-payment-option.is-active {
  border-color: rgba(184, 146, 42, 0.36);
  box-shadow: inset 0 0 0 1px rgba(184, 146, 42, 0.12);
}

.cw-payment-option strong,
.cw-trust-card strong,
.cw-help-card strong,
.cw-status-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.cw-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
}

.cw-product-gallery-main {
  height: 560px;
}

.cw-product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.cw-product-thumb-btn {
  padding: 0.35rem;
  border-radius: 18px;
  border: 1px solid rgba(184, 146, 42, 0.12);
  background: rgba(254, 253, 251, 0.92);
  cursor: pointer;
}

.cw-product-thumb-btn.is-active {
  border-color: rgba(184, 146, 42, 0.4);
  box-shadow: 0 0 0 3px rgba(184, 146, 42, 0.12);
}

.cw-product-thumb-btn img {
  width: 100%;
  height: 74px;
  object-fit: contain;
}

.cw-price-block {
  display: flex;
  align-items: end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cw-price-now {
  font-family: var(--cw-font-heading);
  font-size: 2.8rem;
  line-height: 1;
}

.cw-price-was {
  color: var(--cw-copy-muted);
  text-decoration: line-through;
}

.cw-price-save {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(26, 58, 42, 0.1);
  color: var(--cw-forest);
  font-size: 0.85rem;
}

.cw-accordion {
  display: grid;
  gap: 0.75rem;
}

.cw-accordion-item {
  border: 1px solid rgba(184, 146, 42, 0.12);
  border-radius: 20px;
  background: rgba(254, 253, 251, 0.92);
  overflow: hidden;
}

.cw-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.cw-accordion-panel {
  display: none;
  padding: 0 1.1rem 1.1rem;
  color: var(--cw-copy-soft);
  line-height: 1.72;
}

.cw-accordion-item.is-open .cw-accordion-panel {
  display: block;
}

.cw-confirm-layout {
  display: grid;
  gap: 1.5rem;
}

.cw-confirm-hero {
  text-align: center;
  padding: 2rem;
}

.cw-confirm-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(26, 58, 42, 0.1);
  color: var(--cw-forest);
  font-size: 2rem;
}

.cw-next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.cw-next-step {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 20px;
  background: rgba(250, 247, 242, 0.9);
  border: 1px solid rgba(184, 146, 42, 0.12);
}

.cw-next-step::before {
  content: attr(data-step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(184, 146, 42, 0.16);
  color: var(--cw-gold);
  font-size: 0.8rem;
  font-weight: 700;
}

.cw-orders-stack {
  display: grid;
  gap: 1rem;
}

.cw-order-card {
  display: grid;
  gap: 1rem;
}

.cw-order-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cw-order-items {
  display: grid;
  gap: 0.75rem;
}

.cw-order-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.cw-order-thumb {
  width: 88px;
  height: 88px;
}

.cw-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.cw-shop-grid,
.cw-recommend-grid,
.cw-related-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cw-shop-card,
.cw-recommend-card,
.cw-related-card {
  display: grid;
  gap: 0.9rem;
}

.cw-shop-thumb {
  height: 260px;
}

.cw-footer {
  border-top: 1px solid rgba(184, 146, 42, 0.12);
  background: rgba(254, 253, 251, 0.88);
  padding: 1.5rem 0 2rem;
}

.cw-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.cw-footer-copy,
.cw-footer-links {
  color: var(--cw-copy-soft);
}

.cw-footer-links {
  display: grid;
  gap: 0.5rem;
}

.cw-empty {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: 2rem;
}

.cw-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(184, 146, 42, 0.12);
  color: var(--cw-gold);
  font-size: 1.6rem;
}

.cw-hidden {
  display: none !important;
}

.cw-support-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cw-copy-soft);
}

.cw-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.cw-support-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 116, 144, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: #0F766E;
  font-size: 0.82rem;
  font-weight: 600;
}

.notice {
  border-radius: 16px;
}

.auth-overlay.show {
  display: flex !important;
}

.auth-box {
  max-width: 460px;
  border: 1px solid rgba(184, 146, 42, 0.16);
  border-radius: 28px;
  background: rgba(254, 253, 251, 0.98);
  box-shadow: var(--cw-shadow);
}

.cw-auth-labelline {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0E7490;
}

.cw-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cw-auth-optional {
  border: 1px solid rgba(14, 116, 144, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.55rem 0.65rem;
}

.cw-auth-optional summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--cw-copy-soft);
}

.input {
  border-radius: 14px;
}

.tab-btn.active {
  background: linear-gradient(145deg, var(--cw-gold), var(--cw-gold-soft));
  color: var(--cw-white);
}

@media (max-width: 1180px) {
  .cw-header-row {
    grid-template-columns: auto 1fr;
  }

  .cw-nav {
    display: none;
  }

  .cw-header-tools {
    justify-self: end;
  }

  .cw-mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 980px) {
  .cw-grid--cart,
  .cw-grid--checkout,
  .cw-grid--orders,
  .cw-grid--shop,
  .cw-grid--product,
  .cw-product-layout,
  .cw-footer-grid {
    grid-template-columns: 1fr;
  }

  .cw-summary-card {
    position: static;
  }

  .cw-page-title {
    font-size: clamp(2.6rem, 10vw, 3.6rem);
  }

  .cw-product-gallery-main {
    height: 420px;
  }
}

@media (max-width: 760px) {
  .cw-container {
    width: min(calc(100% - 1.25rem), var(--cw-max));
  }

  .cw-topline-row {
    min-height: 38px;
    font-size: 0.75rem;
    justify-content: center;
  }

  .cw-topline-meta {
    justify-content: center;
  }

  .cw-header-row {
    min-height: 82px;
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .cw-brand-mark {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }

  .cw-brand-name {
    font-size: 1.9rem;
  }

  .cw-brand-sub,
  .cw-topline-link--hide-mobile,
  .cw-search,
  .cw-action-label,
  .cw-auth-btn .cw-auth-label,
  .cw-cart-link .cw-action-label,
  .cw-header-actions > .cw-action-link:nth-child(1) {
    display: none;
  }

  .cw-header-actions,
  .cw-auth-slot {
    gap: 0.5rem;
  }

  .cw-action-link,
  .cw-auth-btn,
  .cw-cart-link,
  .cw-mobile-toggle {
    min-width: 46px;
    padding: 0;
  }

  .cw-main {
    padding-top: 1.3rem;
  }

  .cw-card {
    padding: 1.15rem;
    border-radius: 24px;
  }

  .cw-cart-item,
  .cw-order-item {
    grid-template-columns: 1fr;
  }

  .cw-cart-thumb {
    height: 210px;
  }

  .cw-cart-side {
    min-width: 0;
    justify-items: start;
  }

  .cw-stepper {
    grid-template-columns: 1fr;
  }

  .cw-form-grid {
    grid-template-columns: 1fr;
  }

  .cw-coupon {
    grid-template-columns: 1fr;
  }

  .cw-product-gallery-main {
    height: 320px;
  }

  .cw-shop-thumb {
    height: 220px;
  }

  .cw-actions {
    flex-direction: column;
  }

  .cw-actions > * {
    width: 100%;
  }
}

/* ===== Premium Wellness Refresh (2026-05-13) ===== */
:root {
  --cw-charcoal: #111827;
  --cw-gold: #C9A227;
  --cw-gold-soft: #D8B54A;
  --cw-cream: #F3FAFC;
  --cw-forest: #0F766E;
  --cw-white: #FFFFFF;
  --cw-border: rgba(17, 24, 39, 0.12);
  --cw-border-strong: rgba(17, 24, 39, 0.18);
  --cw-copy-soft: #4B5563;
  --cw-copy-muted: #6B7280;
  --cw-shadow: 0 28px 64px rgba(15, 118, 110, 0.12);
  --cw-shadow-soft: 0 16px 38px rgba(17, 24, 39, 0.08);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

body.cw-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(14, 116, 144, 0.08), transparent 24%),
    radial-gradient(circle at 92% 6%, rgba(201, 162, 39, 0.08), transparent 22%),
    var(--cw-cream);
  color: var(--cw-charcoal);
  font-family: var(--font-body);
}

.cw-page-title,
.cw-card-title,
.cw-brand-name,
.cw-shop-title,
.cw-cart-title,
.cw-product-name,
.cw-order-product-name,
.cw-price-now,
.cw-total,
.cw-product-title {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.cw-page-title .accent,
.cw-highlight {
  color: var(--cw-forest);
}

.cw-button,
.cw-auth-btn,
.cw-action-link,
.cw-cart-link,
.cw-mobile-toggle,
.cw-nav-link {
  font-family: var(--font-body);
  font-weight: 700;
}

.cw-button--primary {
  background: linear-gradient(135deg, #0E7490, #0F766E);
}

.cw-button--dark {
  background: #111827;
}

.cw-button--ghost {
  background: rgba(255, 255, 255, 0.92);
}

.cw-pill {
  background: rgba(14, 116, 144, 0.12);
  color: #0E7490;
}

.cw-status[data-tone='processing'],
.cw-status[data-tone='pending'],
.cw-status[data-tone='low_stock'] {
  background: rgba(201, 162, 39, 0.14);
  color: #8C6E11;
}

.cw-card,
.cw-payment-option,
.cw-trust-card,
.cw-recommend-card,
.cw-related-card,
.cw-shop-card,
.cw-order-item,
.cw-help-card,
.cw-note-card,
.cw-status-card,
.cw-accordion-item {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(14, 116, 144, 0.14);
}

.cw-search-btn {
  min-width: 60px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.cw-cart-icon {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cw-shop-thumb,
.cw-product-gallery-main,
.cw-cart-thumb,
.cw-order-thumb {
  background: linear-gradient(145deg, rgba(14, 116, 144, 0.08), rgba(243, 250, 252, 0.92));
}

.cw-product-title {
  margin: 0.85rem 0 0.35rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.cw-product-subtitle {
  margin: 0 0 1rem;
  color: var(--cw-copy-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.cw-discount-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: #0F766E;
  font-weight: 700;
  font-size: 0.8rem;
}

.cw-trust-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.55rem;
  color: var(--cw-copy-soft);
}

.cw-trust-list li::marker {
  color: #0F766E;
}

.cw-actions--purchase {
  align-items: center;
}

.cw-delivery-check {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.cw-delivery-check label {
  font-weight: 700;
  color: var(--cw-charcoal);
}

.cw-delivery-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

#deliveryCheckResult.ok {
  color: #0F766E;
}

.cw-payment-note {
  margin: 0.6rem 0 0;
  color: var(--cw-copy-soft);
  font-size: 0.9rem;
}

.cw-product-learn-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 2px;
}

.cw-product-learn-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 146, 42, 0.28);
  background: rgba(184, 146, 42, 0.08);
  color: var(--cw-teal);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.86rem;
}

.cw-product-learn-links a:hover {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.22);
}

.cw-gallery-dots {
  margin-top: 0.85rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.cw-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 118, 110, 0.22);
  cursor: pointer;
}

.cw-gallery-dot.is-active {
  width: 26px;
  background: #0F766E;
}

.cw-section-block {
  margin-top: 1.25rem;
}

.cw-trust-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cw-feature-grid,
.cw-ingredient-grid,
.cw-timeline-grid,
.cw-usage-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cw-ingredient-grid,
.cw-timeline-grid,
.cw-usage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cw-feature-card,
.cw-compare-card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(14, 116, 144, 0.14);
  background: rgba(255, 255, 255, 0.95);
}

.cw-feature-card h3,
.cw-compare-card strong {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.cw-feature-card p,
.cw-compare-card p {
  margin: 0;
  color: var(--cw-copy-soft);
  line-height: 1.7;
}

.cw-timeline-grid .cw-feature-card {
  position: relative;
  padding-top: 1.5rem;
}

.cw-timeline-grid .cw-feature-card::before {
  content: '';
  position: absolute;
  top: 0.65rem;
  left: 1rem;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0F766E, #0E7490);
}

.cw-compare-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid rgba(14, 116, 144, 0.14);
  border-radius: 16px;
}

.cw-compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.cw-compare-table th,
.cw-compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(14, 116, 144, 0.1);
  text-align: left;
}

.cw-compare-table th {
  background: rgba(14, 116, 144, 0.08);
  font-size: 0.9rem;
}

.cw-compare-cards {
  display: none;
  margin-top: 1rem;
  gap: 0.8rem;
}

.cw-compare-card span {
  font-weight: 700;
  color: var(--cw-charcoal);
}

.cw-sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(14, 116, 144, 0.18);
  box-shadow: 0 -12px 30px rgba(15, 118, 110, 0.14);
}

.cw-sticky-buy-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.cw-sticky-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.cw-sticky-product img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(14, 116, 144, 0.08);
  object-fit: contain;
  padding: 0.25rem;
}

.cw-sticky-product strong {
  display: block;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cw-sticky-product span {
  font-size: 0.85rem;
  color: var(--cw-copy-soft);
}

.cw-sticky-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cw-qty--compact {
  padding: 0.2rem;
}

.cw-qty--compact button {
  width: 32px;
  height: 32px;
}

body.cw-body.cw-page-product {
  padding-bottom: 96px;
}

@media (max-width: 980px) {
  .cw-trust-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-feature-grid,
  .cw-ingredient-grid,
  .cw-timeline-grid,
  .cw-usage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cw-container {
    width: min(calc(100% - 1rem), var(--cw-max));
  }

  .cw-main {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .cw-page-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .cw-search-btn {
    min-width: 56px;
  }

  .cw-product-layout {
    gap: 1rem;
  }

  .cw-product-gallery-main {
    height: min(62vw, 360px);
  }

  .cw-product-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cw-gallery-dots {
    display: flex;
  }

  .cw-product-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .cw-actions--purchase {
    flex-direction: column;
    align-items: stretch;
  }

  .cw-actions--purchase .cw-qty {
    align-self: flex-start;
  }

  .cw-delivery-row {
    grid-template-columns: 1fr;
  }

  .cw-trust-grid--compact,
  .cw-feature-grid,
  .cw-ingredient-grid,
  .cw-timeline-grid,
  .cw-usage-grid {
    grid-template-columns: 1fr;
  }

  .cw-compare-table-wrap {
    display: none;
  }

  .cw-compare-cards {
    display: grid;
  }

  .cw-sticky-buy-inner {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .cw-sticky-actions {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr 1fr;
  }

  .cw-sticky-actions .cw-button {
    min-height: 46px;
    padding: 0 0.85rem;
  }

  .cw-sticky-product {
    display: none;
  }

  body.cw-body.cw-page-product {
    padding-bottom: 112px;
  }
}
body.cw-body.cw-page-cart {
  padding-bottom: 96px;
}

.cw-sticky-actions--cart {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 760px) {
  .cw-sticky-actions--cart {
    grid-template-columns: 1fr 1fr;
  }

  body.cw-body.cw-page-cart {
    padding-bottom: 108px;
  }
}
.cw-mobile-toggle {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

/* ===== Premium Customer Pages Polish (2026-05-14) ===== */
body.cw-body {
  overflow-x: hidden;
}

.cw-main {
  padding: 1.6rem 0 3.2rem;
}

.cw-topline-row {
  min-height: 42px;
}

.cw-topline-meta {
  font-weight: 500;
}

.cw-topline-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.cw-header-row {
  min-height: 88px;
  gap: 1rem;
}

.cw-header-tools {
  gap: 0.65rem;
  min-width: 0;
}

.cw-search {
  width: clamp(196px, 24vw, 300px);
}

.cw-search-input {
  border-radius: 999px;
  padding-right: 4.35rem;
}

.cw-search-btn {
  width: auto;
  min-width: 56px;
  padding: 0 0.78rem;
  border-radius: 999px;
  font-weight: 700;
}

.cw-action-link,
.cw-auth-btn,
.cw-cart-link,
.cw-mobile-toggle,
.cw-nav-link {
  border-radius: 999px;
}

.cw-action-icon,
.cw-auth-icon,
.cw-cart-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.cw-cart-icon {
  letter-spacing: normal;
  text-transform: none;
}

.cw-page-hero {
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.cw-eyebrow {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(14, 116, 144, 0.24);
  color: #0E7490;
}

.cw-page-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.02;
}

.cw-page-copy {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.72;
}

.cw-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.cw-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.44rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 116, 144, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: #0F766E;
  font-size: 0.81rem;
  font-weight: 600;
  white-space: nowrap;
}

.cw-trust-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #C9A227;
  display: inline-block;
}

.cw-card {
  border-color: rgba(14, 116, 144, 0.12);
  border-radius: 24px;
  padding: 1.35rem;
}

.cw-card-title {
  line-height: 1.08;
}

.cw-shop-toolbar {
  align-items: stretch;
}

.cw-shop-toolbar .cw-actions {
  align-items: center;
}

.cw-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cw-chip-row .cw-button {
  min-height: 44px;
  padding: 0 1rem;
}

.cw-shop-grid {
  min-height: 280px;
}

.cw-shop-card,
.cw-recommend-card,
.cw-related-card {
  border-radius: 24px;
}

.cw-shop-title,
.cw-cart-title,
.cw-order-product-name {
  font-size: clamp(1.44rem, 2vw, 1.85rem);
  line-height: 1.05;
}

.cw-cart-list {
  min-height: 240px;
}

.cw-cart-item {
  border-radius: 22px;
}

.cw-cart-side .cw-button--ghost {
  min-height: 42px;
}

.cw-summary-card {
  border-radius: 24px;
}

.cw-summary-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.cw-summary-actions .cw-button {
  width: 100%;
}

.cw-summary-trust {
  margin-top: 0.95rem;
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px dashed rgba(14, 116, 144, 0.2);
  background: rgba(243, 250, 252, 0.88);
  color: #0F766E;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cw-stepper {
  margin-bottom: 1rem;
}

.cw-step {
  padding-right: 0.9rem;
}

.cw-orders-stack {
  min-height: 260px;
}

.cw-order-card {
  border-radius: 24px;
}

.cw-footer {
  margin-top: 1.6rem;
  padding: 2rem 0 2.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 250, 252, 0.92));
}

.cw-footer-grid {
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 1rem;
}

.cw-footer-links {
  align-content: start;
}

.cw-footer-links strong {
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0E7490;
}

.cw-footer-trust-list {
  display: grid;
  gap: 0.6rem;
}

.cw-footer-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cw-copy-soft);
}

.cw-footer-trust-list span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #C9A227;
  display: inline-block;
}

.cw-state-card {
  display: grid;
  justify-items: start;
  gap: 0.9rem;
  padding: 1.3rem;
  border-radius: 24px;
  border: 1px solid rgba(14, 116, 144, 0.16);
  background: rgba(255, 255, 255, 0.96);
}

.cw-state-card[data-tone='error'] {
  border-color: rgba(180, 83, 9, 0.25);
  background: rgba(255, 251, 245, 0.98);
}

.cw-state-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.28rem;
  font-weight: 800;
  color: #0F766E;
  background: rgba(14, 116, 144, 0.12);
}

.cw-state-card[data-tone='error'] .cw-state-icon {
  color: #9A3412;
  background: rgba(217, 119, 6, 0.14);
}

.cw-state-title {
  margin: 0;
  font-family: var(--cw-font-heading);
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.08;
}

.cw-state-copy {
  margin: 0;
  color: var(--cw-copy-soft);
  line-height: 1.7;
}

.cw-state-note {
  margin: 0;
  color: #0F766E;
  font-size: 0.9rem;
}

.cw-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: 100%;
}

.cw-state-actions .cw-button {
  min-height: 46px;
}

.cw-skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(14, 116, 144, 0.08);
  border-radius: 12px;
}

.cw-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  animation: cw-shimmer 1.35s infinite;
}

.cw-skeleton-line {
  height: 12px;
  margin-bottom: 0.45rem;
  border-radius: 8px;
}

.cw-skeleton-line:last-child {
  margin-bottom: 0;
}

.cw-skeleton-line.w-90 { width: 90%; }
.cw-skeleton-line.w-70 { width: 70%; }
.cw-skeleton-line.w-55 { width: 55%; }
.cw-skeleton-line.w-45 { width: 45%; }
.cw-skeleton-line.w-35 { width: 35%; }

.cw-skeleton-thumb {
  width: 100%;
  height: 220px;
  border-radius: 18px;
}

.cw-shop-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.cw-shop-skeleton-card,
.cw-order-skeleton-card,
.cw-cart-skeleton-item,
.cw-summary-skeleton {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(14, 116, 144, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.cw-cart-skeleton-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 170px;
  gap: 1rem;
  align-items: center;
}

.cw-summary-skeleton {
  display: grid;
  gap: 0.7rem;
}

.cw-orders-skeleton {
  display: grid;
  gap: 0.95rem;
}

.cw-order-skeleton-card {
  display: grid;
  gap: 0.8rem;
}

@keyframes cw-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1180px) {
  .cw-search {
    width: clamp(180px, 30vw, 240px);
  }
}

@media (max-width: 980px) {
  .cw-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cw-cart-skeleton-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .cw-main {
    padding-top: 0.95rem;
    padding-bottom: 1.4rem;
  }

  .cw-page-title {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .cw-page-copy {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .cw-hero-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }

  .cw-trust-chip {
    flex: 0 0 auto;
  }

  .cw-chip-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }

  .cw-chip-row .cw-button {
    flex: 0 0 auto;
  }

  .cw-shop-skeleton-grid {
    grid-template-columns: 1fr;
  }

  .cw-skeleton-thumb {
    height: 180px;
  }

  .cw-state-actions {
    flex-direction: column;
  }

  .cw-state-actions .cw-button {
    width: 100%;
  }

  .cw-footer-grid {
    grid-template-columns: 1fr;
  }

  .cw-footer {
    padding-bottom: 2.6rem;
  }

  .cw-auth-row {
    grid-template-columns: 1fr;
  }

  .cw-grid--checkout #checkoutForm .cw-actions {
    display: grid;
    gap: 0.55rem;
  }

  .cw-grid--checkout #checkoutForm .cw-actions .cw-button,
  .cw-grid--checkout #checkoutSubmitBtn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cw-container {
    width: min(calc(100% - 0.85rem), var(--cw-max));
  }

  .cw-card {
    padding: 1.05rem;
    border-radius: 20px;
  }

  .cw-page-title {
    font-size: clamp(1.75rem, 9.5vw, 2.2rem);
  }

  .cw-shop-title,
  .cw-cart-title,
  .cw-order-product-name {
    font-size: 1.35rem;
  }
}

/* ===== Smartphone app-like shell + OTP-first account flow ===== */
.cw-auth-subtitle {
  margin: 0.22rem 0 0;
  color: var(--cw-copy-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 34ch;
}

.tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 999px;
  background: rgba(243, 250, 252, 0.72);
  padding: 0.22rem;
  gap: 0.22rem;
  border-color: rgba(14, 116, 144, 0.14);
}

.tab-btn {
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cw-copy-soft);
  background: transparent;
}

.tab-btn.active {
  background: linear-gradient(135deg, #0E7490, #0F766E);
  color: #fff;
}

.cw-mobile-bottom-nav {
  display: none;
}

@media (max-width: 760px) {
  body.cw-body {
    padding-bottom: 78px;
  }

  .cw-topline {
    display: none;
  }

  .cw-header {
    background: rgba(255, 255, 255, 0.98);
  }

  .cw-header-row {
    position: relative;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .cw-brand-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 0;
    text-align: center;
  }

  .cw-brand-mark {
    display: none;
  }

  .cw-brand-name {
    font-size: 1.18rem;
    line-height: 1;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .cw-brand-sub {
    display: block;
    margin-top: 0.14rem;
    color: var(--cw-gold);
    font-size: 0.48rem;
    letter-spacing: 0.38em;
    text-align: center;
  }

  .cw-header-tools {
    width: 100%;
    justify-content: flex-end;
  }

  .cw-mobile-toggle {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0;
    color: var(--cw-charcoal);
  }

  .cw-mobile-toggle::before {
    content: '\2630';
    font-size: 1.65rem;
    line-height: 1;
  }

  .cw-auth-btn,
  .cw-cart-link,
  .cw-action-link {
    min-width: 42px;
    height: 42px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
  }

  .cw-auth-icon,
  .cw-cart-icon,
  .cw-action-icon {
    font-size: 1rem;
  }

  .auth-overlay.show {
    align-items: flex-end;
    padding: 0.75rem 0.75rem 0;
  }

  .auth-box {
    width: 100%;
    max-width: 460px;
    max-height: 92svh;
    overflow: auto;
    border-radius: 28px 28px 0 0;
    padding: 1.15rem;
  }

  .tabs {
    margin-top: 0.9rem !important;
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(112px, 1fr));
  }

  .cw-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.1rem;
    padding: 0.42rem 0.45rem calc(0.48rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(14, 116, 144, 0.14);
    box-shadow: 0 -10px 28px rgba(17, 24, 39, 0.08);
  }

  .cw-mobile-bottom-nav a,
  .cw-mobile-bottom-nav button {
    min-width: 0;
    min-height: 46px;
    border: none;
    border-radius: 16px;
    background: transparent;
    color: #4B5563;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
  }

  .cw-mobile-bottom-nav .cw-bottom-icon {
    font-size: 1.03rem;
    line-height: 1;
  }

  .cw-mobile-bottom-nav .is-active {
    color: #0F766E;
    background: rgba(15, 118, 110, 0.08);
  }

  .cw-footer {
    padding-bottom: 6.3rem;
  }
}

@media (max-width: 760px) {
  .cw-mobile-toggle {
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden;
  }

  .cw-mobile-toggle::before {
    content: '\2630' !important;
    display: block;
    color: #111827;
    font-size: 1.6rem;
    line-height: 1;
  }

  .cw-card,
  .cw-shop-toolbar,
  .cw-form-grid,
  .cw-grid--shop,
  .cw-grid--cart,
  .cw-grid--checkout,
  .cw-grid--orders {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .cw-search-input,
  .cw-input,
  .cw-select,
  .input {
    width: 100%;
    min-width: 0 !important;
  }

  .cw-shop-toolbar,
  .cw-shop-toolbar .cw-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    width: 100%;
  }

  .cw-field {
    width: 100%;
    min-width: 0;
  }
}

/* Mobile shop page polish matching the premium SereniK smartphone direction. */
.cw-mobile-shop-breadcrumb,
.cw-shop-mobile-subtitle,
.cw-mobile-shop-trust-strip {
  display: none;
}

@media (max-width: 760px) {
  body.cw-body {
    background:
      radial-gradient(circle at 18% 0%, rgba(201, 162, 39, 0.10), transparent 32%),
      linear-gradient(180deg, #fffdf9 0%, #fff8ef 100%);
  }

  .cw-topline {
    display: none;
  }

  .cw-header {
    background: rgba(255, 253, 249, 0.98);
  }

  .cw-header-row {
    min-height: 82px;
  }

  .cw-brand-mark {
    width: 54px;
    height: 54px;
  }

  .cw-page-hero {
    padding: 0.95rem 0 1.05rem;
    text-align: center;
    border-bottom: none;
  }

  .cw-mobile-shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 1rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(201, 162, 39, 0.28);
    color: #8b6f47;
    font-size: 0.95rem;
    text-align: left;
  }

  .cw-mobile-shop-breadcrumb span {
    color: #c48b1d;
    font-size: 1.35rem;
    line-height: 1;
  }

  .cw-page-hero .cw-eyebrow,
  .cw-page-hero .cw-hero-chips {
    display: none;
  }

  .cw-page-title {
    font-size: clamp(2.7rem, 13vw, 3.7rem) !important;
    line-height: 0.98;
    color: #0f3f35;
    letter-spacing: -0.055em;
  }

  .cw-page-title .accent {
    color: inherit;
  }

  .cw-page-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    margin: 0.9rem auto 0.75rem;
    border-radius: 999px;
    background: #c98516;
  }

  .cw-page-copy {
    margin: 0 auto;
    max-width: 30ch;
    font-size: 1rem;
    color: #5f676c;
  }

  .cw-card {
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .cw-shop-toolbar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 0 0 14px !important;
    overflow: visible !important;
  }

  .cw-shop-toolbar #shopMeta,
  .cw-shop-toolbar #shopInlineSearch,
  .cw-shop-toolbar label[for='shopInlineSearch'] {
    display: none !important;
  }

  .cw-shop-toolbar .cw-actions {
    display: contents !important;
  }

  .cw-shop-toolbar .cw-field {
    min-width: 0;
  }

  .cw-shop-toolbar .cw-field:first-child::before {
    content: 'Filter';
    min-height: 48px;
    border: 1px solid rgba(201, 133, 22, 0.34);
    border-radius: 16px;
    background: rgba(255,255,255,0.78);
    color: #b26e05;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(201, 133, 22, 0.07);
  }

  .cw-shop-toolbar label[for='shopSort'] {
    display: none;
  }

  .cw-shop-toolbar .cw-select {
    min-height: 48px;
    border: 1px solid rgba(201, 133, 22, 0.34);
    border-radius: 16px;
    background: rgba(255,255,255,0.78);
    color: #b26e05;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(201, 133, 22, 0.07);
  }

  .cw-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    margin-bottom: 1rem;
    scrollbar-width: none;
  }

  .cw-chip-row::-webkit-scrollbar {
    display: none;
  }

  .cw-chip-row .cw-button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 0.78rem;
    border-radius: 999px;
    font-size: 0.78rem;
  }

  .cw-summary-trust,
  #shopNotice {
    display: none !important;
  }

  .cw-shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
    min-height: 0;
  }

  .cw-shop-card {
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden;
    border-radius: 18px !important;
    border: 1px solid rgba(201, 133, 22, 0.24) !important;
    background: rgba(255,255,255,0.9) !important;
    box-shadow: 0 14px 30px rgba(91, 59, 20, 0.08);
  }

  .cw-shop-thumb {
    height: auto !important;
    aspect-ratio: 1 / 1.12;
    border-radius: 0 !important;
    overflow: hidden;
  }

  .cw-shop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: linear-gradient(135deg, #fffdf8 0%, #fbf0df 100%);
  }

  .cw-shop-card > .cw-meta,
  .cw-shop-copy,
  .cw-shop-card > .cw-muted,
  .cw-shop-card .cw-actions .cw-button--ghost,
  .cw-price-was,
  .cw-price-save {
    display: none !important;
  }

  .cw-shop-card > div:not(.cw-price-block):not(.cw-actions) {
    padding: 13px 12px 0;
  }

  .cw-shop-title {
    margin: 0 !important;
    color: #123d32;
    font-size: 1.2rem !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em;
  }

  .cw-shop-mobile-subtitle {
    display: block;
    min-height: 34px;
    margin: 0.38rem 0 0;
    color: #666;
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .cw-price-block {
    padding: 0.1rem 12px 0;
    margin: 0;
  }

  .cw-price-now {
    color: #123d32;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.035em;
  }

  .cw-shop-card .cw-actions {
    display: block;
    padding: 9px 12px 14px;
  }

  .cw-shop-card .cw-actions .cw-button--dark {
    width: 100%;
    min-height: 43px;
    border: 1.4px solid #c98516;
    border-radius: 14px;
    background: rgba(255,255,255,0.86);
    color: #c17706;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
  }

  .cw-mobile-shop-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(201, 133, 22, 0.22);
  }

  .cw-mobile-shop-trust-strip > div {
    padding: 0 8px;
    border-right: 1px solid rgba(201, 133, 22, 0.18);
  }

  .cw-mobile-shop-trust-strip > div:last-child {
    border-right: none;
  }

  .cw-mobile-shop-trust-strip strong {
    display: block;
    color: #173f34;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .cw-mobile-shop-trust-strip span {
    display: block;
    margin-top: 0.18rem;
    color: #68706f;
    font-size: 0.62rem;
    line-height: 1.25;
  }
}

@media (max-width: 380px) {
  .cw-shop-title {
    font-size: 1.08rem !important;
  }

  .cw-shop-mobile-subtitle {
    font-size: 0.72rem;
    min-height: 31px;
  }

  .cw-price-now {
    font-size: 1.06rem;
  }

  .cw-shop-card .cw-actions .cw-button--dark {
    min-height: 40px;
    font-size: 0.76rem;
  }
}


/* Premium smartphone header/footer for shop and customer pages. */
.cw-mobile-search-trigger {
  display: none;
}

@media (max-width: 760px) {
  .cw-header {
    background: rgba(255, 253, 249, 0.98) !important;
    border-bottom: 1px solid rgba(201, 162, 39, 0.18) !important;
    box-shadow: 0 10px 28px rgba(35, 25, 20, 0.06) !important;
  }

  .cw-header-row {
    min-height: 88px !important;
    justify-content: flex-end !important;
  }

  .cw-brand-wrap {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-decoration: none !important;
  }

  .cw-brand-copy {
    display: none !important;
  }

  .cw-brand-mark {
    display: inline-flex !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1.4px solid rgba(201, 133, 22, 0.78) !important;
    background:
      radial-gradient(circle at 50% 42%, rgba(255,255,255,0.98) 0%, rgba(255,250,241,0.96) 58%, rgba(247,234,211,0.92) 100%) !important;
    color: #b87508 !important;
    font-family: var(--cw-font-heading) !important;
    font-size: 2.35rem !important;
    line-height: 1 !important;
    box-shadow: 0 12px 28px rgba(201, 133, 22, 0.14) !important;
  }

  .cw-header-tools {
    width: 100% !important;
    justify-content: flex-end !important;
    gap: 0.62rem !important;
  }

  .cw-auth-slot {
    display: none !important;
  }

  .cw-mobile-search-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: #0f3028;
    position: relative;
  }

  .cw-mobile-search-trigger::before {
    content: '';
    width: 19px;
    height: 19px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
  }

  .cw-mobile-search-trigger::after {
    content: '';
    width: 9px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(45deg);
    position: absolute;
    right: 8px;
    bottom: 10px;
  }

  .cw-mobile-toggle {
    left: 2px !important;
    width: 46px !important;
    height: 46px !important;
    color: #0f3028 !important;
  }

  .cw-mobile-toggle::before {
    content: '' !important;
    width: 28px !important;
    height: 19px !important;
    background:
      linear-gradient(#0f3028,#0f3028) 0 0 / 28px 2px no-repeat,
      linear-gradient(#0f3028,#0f3028) 0 50% / 28px 2px no-repeat,
      linear-gradient(#0f3028,#0f3028) 0 100% / 28px 2px no-repeat !important;
  }

  .cw-cart-link {
    min-width: 42px !important;
    width: 42px !important;
    height: 42px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #0f3028 !important;
    position: relative;
  }

  .cw-cart-icon {
    font-size: 0 !important;
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-block;
  }

  .cw-cart-icon::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 16px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 3px 3px 6px 6px;
  }

  .cw-cart-icon::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 3px;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 999px 999px 0 0;
  }

  .cw-cart-count {
    right: -1px !important;
    top: 2px !important;
    background: #c98516 !important;
    color: #fff !important;
  }

  .cw-mobile-menu.open {
    display: block !important;
  }

  .cw-mobile-panel {
    margin-top: 0.35rem !important;
    border-radius: 24px !important;
    background: rgba(255, 253, 249, 0.98) !important;
    border: 1px solid rgba(201, 162, 39, 0.18) !important;
    box-shadow: 0 18px 42px rgba(35, 25, 20, 0.12) !important;
  }

  .cw-mobile-links a,
  .cw-mobile-links button {
    border-radius: 18px !important;
    border-color: rgba(201, 162, 39, 0.16) !important;
    background: rgba(255,255,255,0.72) !important;
    color: #173f34 !important;
    font-weight: 800 !important;
  }

  .cw-footer {
    background: #101010 !important;
    border-top: none !important;
    color: rgba(255,255,255,0.78) !important;
    padding: 2.4rem 0 calc(6.6rem + env(safe-area-inset-bottom)) !important;
  }

  .cw-footer-grid {
    gap: 1rem !important;
  }

  .cw-footer-grid > div {
    padding: 1rem !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.035) !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
  }

  .cw-footer-grid > div:first-child {
    background: transparent !important;
    border: none !important;
    padding: 0 0 0.4rem !important;
  }

  .cw-footer strong {
    color: #fff !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .cw-footer-copy,
  .cw-footer-links,
  .cw-footer-links a,
  .cw-footer-links span,
  .cw-footer-trust-list span {
    color: rgba(255,255,255,0.58) !important;
  }

  .cw-footer-links a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }

  .cw-footer-trust-list span::before {
    background: #c9a227 !important;
  }
}


@media (max-width: 760px) {
  .cw-header-tools {
    position: static !important;
  }

  .cw-mobile-search-trigger {
    position: absolute !important;
    right: 108px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 4 !important;
  }

  .cw-cart-link {
    position: absolute !important;
    right: 58px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 4 !important;
  }

  .cw-page-title {
    font-size: clamp(2.75rem, 11.4vw, 3.35rem) !important;
    line-height: 1.02 !important;
    white-space: normal !important;
  }
}


/* Restore the cleaner smartphone shop header: menu | KAIROTHOS | account | cart. */
@media (max-width: 760px) {
  .cw-header-row {
    min-height: 66px !important;
    justify-content: flex-end !important;
  }

  .cw-brand-wrap {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    gap: 0 !important;
    text-align: center !important;
  }

  .cw-brand-mark {
    display: none !important;
  }

  .cw-brand-copy {
    display: block !important;
  }

  .cw-brand-name {
    display: block !important;
    font-family: var(--cw-font-heading) !important;
    font-size: 1.24rem !important;
    line-height: 1 !important;
    letter-spacing: 0.24em !important;
    text-transform: uppercase !important;
    color: #151515 !important;
    white-space: nowrap !important;
  }

  .cw-brand-name span:first-child {
    color: #b87508 !important;
  }

  .cw-brand-sub {
    display: block !important;
    margin-top: 0.16rem !important;
    color: #b87508 !important;
    font-size: 0.48rem !important;
    letter-spacing: 0.42em !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  .cw-mobile-search-trigger {
    display: none !important;
  }

  .cw-auth-slot {
    display: flex !important;
    position: absolute !important;
    right: 54px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    width: 38px !important;
    height: 38px !important;
    overflow: hidden !important;
  }

  .cw-auth-slot .cw-pill,
  .cw-auth-label {
    display: none !important;
  }

  .cw-auth-btn {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111827 !important;
    position: relative !important;
  }

  .cw-auth-icon {
    width: 25px !important;
    height: 25px !important;
    font-size: 0 !important;
    position: relative !important;
    display: inline-block !important;
  }

  .cw-auth-icon::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 2px;
    width: 9px;
    height: 9px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
  }

  .cw-auth-icon::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 17px;
    height: 9px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 13px 13px 0 0;
    box-sizing: border-box;
  }

  .cw-cart-link {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111827 !important;
  }

  .cw-cart-icon {
    width: 25px !important;
    height: 25px !important;
    font-size: 0 !important;
    position: relative !important;
    display: inline-block !important;
  }

  .cw-cart-icon::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 7px;
    width: 18px;
    height: 11px;
    border: 2px solid currentColor;
    border-top: none;
    border-radius: 1px 1px 4px 4px;
    box-sizing: border-box;
    transform: skewX(-5deg);
  }

  .cw-cart-icon::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 11px 0 0 currentColor;
  }

  .cw-cart-link::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(14deg);
  }

  .cw-mobile-toggle {
    left: 8px !important;
    width: 38px !important;
    height: 38px !important;
  }

  .cw-mobile-toggle::before {
    width: 27px !important;
    height: 18px !important;
    background:
      linear-gradient(#111827,#111827) 0 0 / 27px 2px no-repeat,
      linear-gradient(#111827,#111827) 0 50% / 27px 2px no-repeat,
      linear-gradient(#111827,#111827) 0 100% / 27px 2px no-repeat !important;
  }
}


.cw-mobile-account-link {
  display: none;
}

@media (max-width: 760px) {
  .cw-auth-slot {
    display: none !important;
  }

  .cw-mobile-account-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    right: 62px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 6 !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #111827 !important;
  }

  .cw-mobile-account-link::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 8px;
    width: 9px;
    height: 9px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
  }

  .cw-mobile-account-link::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 20px;
    width: 17px;
    height: 9px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 13px 13px 0 0;
    box-sizing: border-box;
  }

  .cw-cart-link {
    right: 18px !important;
  }
}


/* Final scoped shop mobile header positioning, matching the cleaner wordmark header. */
@media (max-width: 760px) {
  .cw-shop-page .cw-header {
    min-height: 66px !important;
  }

  .cw-shop-page .cw-mobile-account-link {
    position: fixed !important;
    right: 58px !important;
    top: 14px !important;
    transform: none !important;
    z-index: 120 !important;
  }

  .cw-shop-page .cw-cart-link {
    position: fixed !important;
    right: 14px !important;
    top: 14px !important;
    transform: none !important;
    z-index: 120 !important;
  }

  .cw-shop-page .cw-mobile-toggle {
    position: fixed !important;
    left: 12px !important;
    top: 14px !important;
    transform: none !important;
    z-index: 120 !important;
  }

  .cw-shop-page .cw-brand-wrap {
    position: fixed !important;
    top: 18px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 119 !important;
  }
}

/* Safe shop mobile header: no inline SVG layer, so no oversized cart artwork can render. */
@media (max-width: 760px) {
  .cw-shop-page .cw-header-tools > .cw-mobile-account-link {
    display: inline-flex !important;
    position: fixed !important;
    top: 14px !important;
    right: max(58px, calc(100vw - 430px + 58px)) !important;
    left: auto !important;
    transform: none !important;
    z-index: 150 !important;
    width: 38px !important;
    height: 38px !important;
  }

  .cw-shop-page .cw-header-tools > .cw-cart-link {
    display: inline-flex !important;
    position: fixed !important;
    top: 14px !important;
    right: max(14px, calc(100vw - 430px + 14px)) !important;
    left: auto !important;
    transform: none !important;
    z-index: 150 !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #111827 !important;
    box-shadow: none !important;
  }
}

.cw-mobile-shop-tabs {
  display: none;
}

/* Premium smartphone shop grid inspired by the provided reference. */
@media (max-width: 760px) {
  .cw-shop-page .cw-main {
    padding: 0.75rem 0 5.4rem !important;
    background:
      radial-gradient(circle at 12% 0%, rgba(201, 162, 39, 0.08), transparent 28%),
      linear-gradient(180deg, #fbf7ef 0%, #fffaf2 54%, #fbf7ef 100%) !important;
  }

  .cw-shop-page .cw-shell {
    overflow-x: hidden;
  }

  .cw-shop-page .cw-container {
    width: min(calc(100% - 1.1rem), 430px) !important;
  }

  .cw-mobile-shop-tabs {
    display: flex;
    gap: 0.58rem;
    align-items: center;
    margin: 0 0 0.85rem;
    padding: 0.45rem 0.1rem 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .cw-mobile-shop-tabs::-webkit-scrollbar {
    display: none;
  }

  .cw-mobile-shop-tabs .cw-button {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 133, 22, 0.22);
    background: rgba(255, 252, 246, 0.92);
    box-shadow: 0 10px 24px rgba(62, 43, 22, 0.06);
    color: #7a5a39;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
  }

  .cw-mobile-shop-tabs .cw-button--soft {
    border-color: #075446;
    background: #075446;
    color: #fff;
    box-shadow: 0 14px 26px rgba(7, 84, 70, 0.2);
  }

  .cw-shop-products-only {
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .cw-shop-products-only .notice {
    margin-bottom: 0.7rem;
  }

  .cw-shop-page .cw-shop-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.82rem !important;
    align-items: start;
  }

  .cw-shop-page .cw-shop-grid > .cw-state-card,
  .cw-shop-page .cw-shop-grid > .cw-shop-skeleton-grid {
    grid-column: 1 / -1;
  }

  .cw-shop-page .cw-shop-card {
    min-width: 0;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid rgba(201, 133, 22, 0.22) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #fffdf8 0%, #fffaf2 100%) !important;
    box-shadow: 0 14px 32px rgba(76, 51, 22, 0.08) !important;
  }

  .cw-shop-page .cw-shop-thumb {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1.18;
    border: none !important;
    border-radius: 18px 18px 0 0 !important;
    background: #f8efe2 !important;
  }

  .cw-shop-page .cw-shop-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .cw-shop-page .cw-shop-card .cw-meta,
  .cw-shop-page .cw-shop-copy,
  .cw-shop-page .cw-muted,
  .cw-shop-page .cw-price-was,
  .cw-shop-page .cw-price-save,
  .cw-shop-page .cw-shop-card .cw-actions .cw-button--ghost {
    display: none !important;
  }

  .cw-shop-page .cw-shop-card > div:nth-of-type(2) {
    padding: 0.92rem 0.92rem 0;
  }

  .cw-shop-page .cw-shop-title {
    margin: 0;
    color: #123f34;
    font-family: var(--cw-font-heading);
    font-size: clamp(1.28rem, 6vw, 1.7rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .cw-shop-page .cw-shop-mobile-subtitle {
    display: block !important;
    min-height: 2.45em;
    margin: 0.35rem 0 0;
    color: #6f6a64;
    font-size: clamp(0.86rem, 3.7vw, 1rem);
    line-height: 1.22;
  }

  .cw-shop-page .cw-price-block {
    display: block !important;
    padding: 0 0.92rem;
    margin: 0.72rem 0 0;
  }

  .cw-shop-page .cw-price-now {
    color: #123f34;
    font-family: var(--cw-font-body);
    font-size: clamp(1.35rem, 6vw, 1.7rem);
    font-weight: 900;
    letter-spacing: -0.04em;
  }

  .cw-shop-page .cw-shop-card .cw-actions {
    display: block !important;
    padding: 0 0.92rem 0.92rem;
    margin-top: 0.86rem;
  }

  .cw-shop-page .cw-shop-card .cw-actions .cw-button--dark {
    position: relative;
    width: 100%;
    min-height: 50px;
    justify-content: center;
    gap: 0.55rem;
    border: 1.7px solid #c98516 !important;
    border-radius: 17px !important;
    background: rgba(255, 251, 244, 0.96) !important;
    color: #b87508 !important;
    box-shadow: none !important;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
  }

  .cw-shop-page .cw-shop-card .cw-actions .cw-button--dark::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 3px;
    box-sizing: border-box;
    transform: translateY(1px);
  }

  .cw-shop-page .cw-shop-card .cw-actions .cw-button--dark::after {
    content: '';
    position: absolute;
    left: calc(50% - 48px);
    top: 13px;
    width: 8px;
    height: 6px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    box-sizing: border-box;
  }
}

@media (max-width: 420px) {
  .cw-shop-page .cw-shop-grid {
    gap: 0.72rem !important;
  }

  .cw-shop-page .cw-shop-card > div:nth-of-type(2),
  .cw-shop-page .cw-price-block {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .cw-shop-page .cw-shop-card .cw-actions {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .cw-shop-page .cw-shop-card .cw-actions .cw-button--dark {
    min-height: 46px;
    font-size: 0.86rem;
  }
}

/* Premium shop footer, aligned with the index page luxury footer. */
.cw-shop-page .cw-footer--premium {
  margin-top: 0 !important;
  padding: clamp(3rem, 6vw, 4.5rem) 0 calc(2rem + env(safe-area-inset-bottom)) !important;
  border-top: 0 !important;
  background: #101010 !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.cw-shop-page .cw-footer--premium .cw-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.8fr) repeat(3, minmax(130px, 0.85fr)) minmax(220px, 1.35fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.cw-shop-page .cw-footer-logo {
  margin-bottom: 0.85rem;
  color: #fff;
  font-family: var(--cw-font-heading);
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.12;
  text-transform: uppercase;
}

.cw-shop-page .cw-footer-logo span {
  color: #c9a227;
}

.cw-shop-page .cw-footer-logo small {
  display: block;
  margin-top: 0.18rem;
  color: rgba(201, 162, 39, 0.78);
  font-family: var(--cw-font-body);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.48em;
}

.cw-shop-page .cw-footer--premium .cw-footer-copy {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.42) !important;
  font-size: 0.83rem;
  line-height: 1.75;
}

.cw-shop-page .cw-footer-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-top: 1.15rem;
}

.cw-shop-page .cw-footer-trust-pills span {
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 999px;
  color: rgba(201, 162, 39, 0.68);
  padding: 0.28rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cw-shop-page .cw-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cw-shop-page .cw-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-weight: 900;
  text-decoration: none;
}

.cw-shop-page .cw-footer--premium .cw-footer-links {
  display: grid;
  gap: 0.58rem;
}

.cw-shop-page .cw-footer--premium .cw-footer-links strong,
.cw-shop-page .cw-footer-connect strong {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cw-shop-page .cw-footer--premium .cw-footer-links a,
.cw-shop-page .cw-footer--premium .cw-footer-links button,
.cw-shop-page .cw-footer-connect p {
  color: rgba(255, 255, 255, 0.52) !important;
  font-family: var(--cw-font-body);
  font-size: 0.82rem;
  line-height: 1.55;
  text-decoration: none;
}

.cw-shop-page .cw-footer--premium .cw-footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.cw-shop-page .cw-footer--premium .cw-footer-links a:hover,
.cw-shop-page .cw-footer--premium .cw-footer-links button:hover {
  color: #d9b23f !important;
}

.cw-shop-page .cw-footer-connect {
  display: grid;
  gap: 0.85rem;
}

.cw-shop-page .cw-footer-connect p {
  margin: 0;
}

.cw-shop-page .cw-footer-fssai {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-top: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  padding: 0.7rem;
}

.cw-shop-page .cw-footer-fssai img {
  width: 68px;
  height: 34px;
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
  padding: 3px;
}

.cw-shop-page .cw-footer-fssai b {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cw-shop-page .cw-footer-fssai span {
  display: block;
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.64rem;
}

.cw-shop-page .cw-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.7rem;
  padding-top: 1.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.74rem;
}

@media (max-width: 1100px) {
  .cw-shop-page .cw-footer--premium .cw-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .cw-shop-page .cw-footer--premium {
    padding: 2.5rem 0 calc(6.9rem + env(safe-area-inset-bottom)) !important;
  }

  .cw-shop-page .cw-footer--premium .cw-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .cw-shop-page .cw-footer-brand-block,
  .cw-shop-page .cw-footer--premium .cw-footer-links,
  .cw-shop-page .cw-footer-connect {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
  }

  .cw-shop-page .cw-footer-brand-block {
    background: transparent;
    border: 0;
    padding: 0 0 0.35rem;
  }

  .cw-shop-page .cw-footer-bottom {
    display: grid;
    gap: 0.45rem;
    margin-top: 1.5rem;
    padding-bottom: 0.3rem;
  }
}

.cw-otp-only-auth {
  width: min(94vw, 460px);
  max-width: 460px;
  padding: clamp(1.15rem, 4vw, 1.6rem);
  border-radius: 26px;
}

.cw-auth-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.cw-auth-head > div {
  min-width: 0;
}

.cw-auth-head .cw-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding-inline: 1rem;
}

.cw-auth-head strong {
  display: block;
  color: var(--cw-text);
  font-family: var(--cw-font-heading);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.08;
}

.cw-auth-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--cw-gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cw-auth-step-form {
  display: grid;
  gap: 0.7rem;
}

.cw-auth-step-form .input {
  width: 100%;
  min-height: 48px;
}

.cw-auth-step-form .cw-button {
  width: 100%;
  min-height: 48px;
}

.cw-auth-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.cw-auth-row .cw-button {
  width: 100%;
  min-height: 46px;
}

.cw-msg91-captcha {
  width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cw-otp-input {
  letter-spacing: 0.22em;
  text-align: center;
}

.cw-auth-phone-note {
  margin: 0.65rem 0;
}

.cw-auth-step-form input[readonly] {
  background: rgba(15, 118, 110, 0.06);
  color: var(--cw-teal);
  font-weight: 800;
}

.hidden,
[hidden] {
  display: none !important;
}

.cw-otp-only-auth #otpSendStep.hidden,
.cw-otp-only-auth #otpVerifyStep.hidden,
.cw-otp-only-auth #otpSignupStep.hidden,
.cw-otp-only-auth #otpDebugHint.hidden,
.cw-otp-only-auth .hidden {
  display: none !important;
}

.cw-otp-only-auth #otpSendStep:not(.hidden),
.cw-otp-only-auth #otpVerifyStep:not(.hidden),
.cw-otp-only-auth #otpSignupStep:not(.hidden) {
  display: grid;
  gap: 0.8rem;
}

.cw-google-auth {
  width: min(92vw, 430px);
  max-width: 430px;
  padding: clamp(1.2rem, 4vw, 1.65rem);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(254, 253, 251, 0.98), rgba(250, 247, 242, 0.94)),
    var(--cw-white);
  border: 1px solid rgba(184, 146, 42, 0.2);
  box-shadow: 0 26px 70px rgba(28, 25, 22, 0.18);
}

.cw-google-auth-wrap {
  display: grid;
  gap: 1rem;
  padding-top: 0.25rem;
}

.cw-google-signin {
  min-height: 48px;
  display: grid;
  place-items: center;
}

.cw-google-signin > div {
  max-width: 100%;
}

.cw-google-loading,
.cw-google-fallback {
  width: 100%;
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(28, 25, 22, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--cw-forest);
  font-weight: 800;
}

.cw-google-helper {
  margin: 0;
  color: var(--cw-copy-soft);
  font-size: 0.93rem;
  line-height: 1.65;
  text-align: center;
}

.cw-google-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.cw-google-trust span {
  border: 1px solid rgba(26, 58, 42, 0.12);
  border-radius: 999px;
  background: rgba(26, 58, 42, 0.05);
  color: var(--cw-forest);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.42rem 0.65rem;
}

@media (max-width: 560px) {
  .cw-auth-head {
    display: grid;
    gap: 0.85rem;
  }

  .cw-auth-head .cw-button {
    justify-self: start;
  }

  .cw-auth-row {
    grid-template-columns: 1fr;
  }
}

/* Customer account and checkout polish */
.cw-account-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.35rem 0.8rem 0.35rem 0.42rem;
  border: 1px solid rgba(26, 58, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--cw-forest);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(28, 25, 22, 0.06);
}

.cw-account-avatar,
.cw-profile-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(26, 58, 42, 0.1), rgba(201, 162, 39, 0.16));
  color: var(--cw-forest);
  font-weight: 900;
}

.cw-account-avatar {
  width: 32px;
  height: 32px;
  font-size: 0.78rem;
}

.cw-account-avatar img,
.cw-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cw-account-copy {
  display: grid;
  line-height: 1.1;
}

.cw-account-copy strong {
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
}

.cw-account-copy small {
  color: var(--cw-copy-soft);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cw-page-hero--compact {
  padding-bottom: clamp(1.3rem, 3vw, 2.2rem);
}

.cw-account-page,
.cw-account-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.cw-account-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: start;
}

.cw-profile-card,
.cw-account-actions-card,
.cw-account-login-card {
  border-radius: 28px;
}

.cw-profile-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.35rem;
}

.cw-profile-avatar {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  font-family: var(--cw-heading);
  font-size: 1.45rem;
}

.cw-profile-head h2 {
  margin: 0.25rem 0 0.2rem;
  color: var(--cw-forest);
  font-family: var(--cw-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.04;
}

.cw-profile-head p {
  margin: 0;
  color: var(--cw-copy-soft);
}

.cw-profile-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.cw-profile-details div {
  padding: 1rem;
  border: 1px solid rgba(26, 58, 42, 0.11);
  border-radius: 18px;
  background: rgba(250, 247, 242, 0.64);
}

.cw-profile-details strong,
.cw-profile-details span {
  display: block;
}

.cw-profile-details strong {
  margin-bottom: 0.35rem;
  color: var(--cw-gold-strong);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cw-profile-details span {
  color: var(--cw-ink);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cw-account-action-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cw-checkout-status {
  margin: 1rem 0 1.15rem;
}

.cw-checkout-status-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(26, 58, 42, 0.12);
  border-radius: 20px;
  background: rgba(243, 250, 252, 0.72);
}

.cw-checkout-status-card[data-tone="warn"] {
  border-color: rgba(201, 162, 39, 0.32);
  background: rgba(255, 249, 232, 0.72);
}

.cw-checkout-status-card strong,
.cw-checkout-status-card span {
  display: block;
}

.cw-checkout-status-card strong {
  color: var(--cw-forest);
}

.cw-checkout-status-card span {
  color: var(--cw-copy-soft);
  line-height: 1.5;
}

.cw-checkout-status-card .cw-button {
  grid-row: 1 / span 2;
  grid-column: 2;
  white-space: nowrap;
}

.cw-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--cw-forest) 50%),
    linear-gradient(135deg, var(--cw-forest) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 52%,
    calc(100% - 12px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.35rem;
}

.cw-field-hint {
  display: block;
  margin-top: 0.5rem;
  color: var(--cw-copy-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.cw-field-hint.ok {
  color: var(--cw-teal);
  font-weight: 700;
}

.cw-field-hint.err {
  color: #9f2d3d;
  font-weight: 700;
}

.cw-locality-wrap.hidden {
  display: none;
}

.cw-input[readonly] {
  background: rgba(26, 58, 42, 0.045);
  color: var(--cw-forest);
  font-weight: 700;
}

.cw-profile-skeleton {
  min-height: 220px;
}

/* Lightweight scroll motion for customer pages. JS adds .cw-reveal only when active. */
@media (prefers-reduced-motion: no-preference) {
  .cw-reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
      opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 260ms ease,
      border-color 260ms ease;
    transition-delay: var(--cw-reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .cw-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .cw-page-hero.cw-reveal {
    transform: translate3d(0, 14px, 0);
  }

  .cw-shop-grid > .cw-reveal,
  .cw-grid > .cw-reveal,
  .cw-account-grid > .cw-reveal {
    transform: translate3d(0, 18px, 0) scale(0.985);
  }

  .cw-shop-grid > .cw-reveal.is-visible,
  .cw-grid > .cw-reveal.is-visible,
  .cw-account-grid > .cw-reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 960px) {
  .cw-account-grid {
    grid-template-columns: 1fr;
  }

  .cw-account-copy {
    display: none;
  }
}

@media (max-width: 640px) {
  .cw-profile-head {
    align-items: flex-start;
  }

  .cw-profile-avatar {
    width: 68px;
    height: 68px;
  }

  .cw-profile-details {
    grid-template-columns: 1fr;
  }

  .cw-checkout-status-card {
    grid-template-columns: 1fr;
  }

  .cw-checkout-status-card .cw-button {
    grid-row: auto;
    grid-column: auto;
    width: 100%;
  }
}

/* Production polish: shared non-homepage UI safety net. */
:root {
  --cw-heading: var(--cw-font-heading, 'Playfair Display', serif);
  --cw-ink: var(--cw-charcoal, #111827);
  --cw-text: var(--cw-charcoal, #111827);
  --cw-teal: var(--cw-forest, #0f766e);
  --cw-gold-strong: #8c6e11;
}

body.cw-body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.cw-body .cw-shell,
body.cw-body .cw-main,
body.cw-body .cw-page,
body.cw-body .cw-grid,
body.cw-body .cw-shop-grid,
body.cw-body .cw-account-grid,
body.cw-body .cw-checkout-grid,
body.cw-body .cw-cart-grid {
  min-width: 0;
}

body.cw-body .cw-card,
body.cw-body .cw-shop-card,
body.cw-body .cw-cart-item,
body.cw-body .cw-order-card,
body.cw-body .cw-order-item,
body.cw-body .cw-profile-card,
body.cw-body .cw-account-actions-card,
body.cw-body .cw-summary-card,
body.cw-body .cw-checkout-card {
  min-width: 0;
}

body.cw-body .cw-shop-thumb,
body.cw-body .cw-cart-thumb,
body.cw-body .cw-order-thumb,
body.cw-body .cw-product-gallery-main,
body.cw-body .premium-product-image {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.92), rgba(255, 250, 239, 0.72)),
    linear-gradient(135deg, rgba(250, 247, 242, 0.96), rgba(243, 250, 252, 0.74));
}

body.cw-body .cw-shop-thumb img,
body.cw-body .cw-product-gallery-main img,
body.cw-body #productMainImage,
body.cw-body .cw-product-thumb-btn img,
body.cw-body .cw-cart-thumb img,
body.cw-body .cw-order-thumb img,
body.cw-body .cw-search-result img,
body.cw-body .cw-recommend-card img,
body.cw-body .cw-related-card img,
body.cw-body .cw-sticky-product img,
body.cw-body .premium-product-image img {
  max-width: 100%;
  object-fit: contain !important;
  object-position: center !important;
}

body.cw-body .cw-product-gallery-main img,
body.cw-body #productMainImage {
  width: 100%;
  height: 100%;
}

body.cw-body .cw-input,
body.cw-body .cw-select,
body.cw-body .cw-textarea {
  color: var(--cw-ink);
  font-size: 0.98rem;
}

body.cw-body .cw-input:focus,
body.cw-body .cw-select:focus,
body.cw-body .cw-textarea:focus {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  outline: none;
}

body.cw-body .cw-button,
body.cw-body .cw-auth-btn,
body.cw-body .cw-action-link {
  min-height: 44px;
}

body.cw-body .notice,
body.cw-body .premium-alert,
body.cw-body .cw-field-hint {
  overflow-wrap: anywhere;
}

body.cw-body .cw-google-auth,
body.cw-body .cw-modal-card {
  max-width: min(92vw, 460px);
}

body.cw-body .cw-google-signin,
body.cw-body #googleSignInButton {
  min-height: 44px;
}

@media (max-width: 900px) {
  body.cw-body .cw-main {
    padding-left: clamp(14px, 4vw, 22px);
    padding-right: clamp(14px, 4vw, 22px);
  }

  body.cw-body .cw-page-title,
  body.cw-body .cw-page-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.35rem);
    line-height: 1.02;
  }

  body.cw-body .cw-page-copy,
  body.cw-body .cw-page-hero p {
    font-size: 0.98rem;
    line-height: 1.65;
  }
}

@media (max-width: 760px) {
  body.cw-body {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.cw-body .cw-shell,
  body.cw-body .cw-main {
    width: 100%;
    max-width: 100%;
  }

  body.cw-body .cw-card,
  body.cw-body .cw-summary-card,
  body.cw-body .cw-checkout-card,
  body.cw-body .cw-profile-card,
  body.cw-body .cw-account-actions-card,
  body.cw-body .cw-account-login-card {
    border-radius: 22px;
  }

  body.cw-body .cw-shop-page .cw-shop-thumb {
    aspect-ratio: 1 / 1.08;
    padding: 0.5rem !important;
  }

  body.cw-body .cw-shop-page .cw-shop-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  body.cw-body .cw-product-gallery-main {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    padding: 1rem !important;
  }

  body.cw-body .cw-product-gallery-main img,
  body.cw-body #productMainImage {
    max-height: 420px;
  }

  body.cw-body .cw-product-thumbs {
    grid-template-columns: repeat(4, minmax(74px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }

  body.cw-body .cw-product-thumb-btn {
    min-width: 74px;
  }

  body.cw-body .cw-cart-thumb,
  body.cw-body .cw-order-thumb {
    padding: 0.35rem;
  }

  body.cw-body .cw-input,
  body.cw-body .cw-select,
  body.cw-body .cw-textarea {
    min-height: 50px;
    width: 100%;
  }

  body.cw-body .cw-button {
    min-height: 48px;
  }

  body.cw-body .cw-footer-grid,
  body.cw-body .cw-profile-details,
  body.cw-body .cw-form-grid,
  body.cw-body .cw-form-row {
    grid-template-columns: 1fr !important;
  }

  body.cw-body .cw-checkout-status-card,
  body.cw-body .cw-profile-head {
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  body.cw-body .cw-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.cw-body .cw-shop-grid {
    gap: 0.9rem;
  }

  body.cw-body .cw-shop-card {
    border-radius: 20px;
  }

  body.cw-body .cw-shop-thumb {
    border-radius: 18px;
  }

  body.cw-body .cw-profile-head {
    display: grid;
    text-align: left;
  }
}

/* Final non-homepage UI polish: compact heroes, calm search, and premium footer. */
body.cw-body {
  background:
    radial-gradient(circle at 10% 8%, rgba(201, 162, 39, 0.08), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(15, 118, 110, 0.09), transparent 30rem),
    linear-gradient(180deg, #fffaf1 0%, #f7fbfa 48%, #fffdf7 100%);
}

body.cw-body .cw-main {
  padding-top: clamp(1.35rem, 3vw, 2.6rem);
}

body.cw-body .cw-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 clamp(1.35rem, 3vw, 2.2rem);
  padding: clamp(1.35rem, 3vw, 2.15rem);
  border: 1px solid rgba(15, 118, 110, 0.13);
  border-radius: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 92% 10%, rgba(201, 162, 39, 0.16), transparent 17rem),
    linear-gradient(135deg, rgba(255, 253, 248, 0.97), rgba(243, 250, 252, 0.88));
  box-shadow: 0 22px 65px rgba(15, 35, 32, 0.08);
}

body.cw-body .cw-page-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -62% auto;
  width: min(34vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
}

body.cw-body .cw-page-hero .cw-eyebrow,
body.cw-body .cw-page-hero > .cw-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.72rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #8a6a12;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

body.cw-body .cw-page-title,
body.cw-body .cw-page-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.25rem, 4.9vw, 4.15rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.038em;
}

body.cw-body .cw-page-title .accent,
body.cw-body .cw-page-hero h1 .accent {
  color: #0f766e;
  font-style: italic;
}

body.cw-body .cw-page-copy,
body.cw-body .cw-page-hero p {
  max-width: 760px;
  margin-top: 0.8rem;
  color: #53615c;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.65;
}

body.cw-body .cw-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
  max-width: 880px;
  margin-top: 1.05rem;
}

body.cw-body .cw-trust-chip,
body.cw-body .cw-hero-chip {
  min-height: 34px;
  padding: 0.48rem 0.82rem;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0f766e;
  box-shadow: 0 10px 24px rgba(15, 35, 32, 0.05);
  font-size: 0.82rem;
  font-weight: 800;
}

body.cw-body .cw-search {
  min-width: 220px;
  max-width: min(24vw, 315px);
  padding: 0.24rem;
  border: 1px solid rgba(15, 118, 110, 0.13);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 14px 34px rgba(15, 35, 32, 0.07);
}

body.cw-body .cw-search-input {
  min-height: 42px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #10241f;
  padding-left: 1rem;
}

body.cw-body .cw-search-input::placeholder {
  color: rgba(75, 85, 99, 0.7);
}

body.cw-body .cw-search-btn {
  min-height: 38px;
  padding: 0.54rem 0.96rem;
  border: 0;
  border-radius: 999px;
  background: #17130f;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(23, 19, 15, 0.16);
}

body.cw-body .cw-footer {
  margin-top: clamp(2.4rem, 6vw, 5rem) !important;
  padding: clamp(3rem, 6vw, 4.8rem) 0 calc(2.1rem + env(safe-area-inset-bottom)) !important;
  border-top: 0 !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(201, 162, 39, 0.16), transparent 18rem),
    radial-gradient(circle at 88% 18%, rgba(15, 118, 110, 0.12), transparent 20rem),
    linear-gradient(135deg, #0f100f 0%, #211812 62%, #111111 100%) !important;
  color: rgba(255, 255, 255, 0.68) !important;
}

body.cw-body .cw-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

body.cw-body .cw-footer-grid > div:first-child strong {
  display: block;
  color: #fff;
  font-family: var(--cw-font-heading, "Playfair Display", serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.cw-body .cw-footer-grid > div:first-child p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
}

body.cw-body .cw-footer-links strong,
body.cw-body .cw-footer-grid strong:not(:first-child) {
  color: rgba(201, 162, 39, 0.82);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.cw-body .cw-footer-links a,
body.cw-body .cw-footer-links button,
body.cw-body .cw-footer-links span,
body.cw-body .cw-footer small,
body.cw-body .cw-footer p {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.cw-body .cw-footer-links a,
body.cw-body .cw-footer-links button {
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

body.cw-body .cw-footer-links a:hover,
body.cw-body .cw-footer-links button:hover {
  color: #f5d57a !important;
  transform: translateX(2px);
}

body.cw-body .cw-footer-trust-list span,
body.cw-body .cw-footer-links span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

body.cw-body .cw-footer-trust-list span::before,
body.cw-body .cw-footer-links span::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #c9a227;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.13);
}

body.cw-body .cw-related-card .cw-shop-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  padding: 0.95rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(255, 250, 239, 0.72)),
    linear-gradient(135deg, rgba(250, 247, 242, 0.98), rgba(243, 250, 252, 0.78));
}

body.cw-body .cw-related-card .cw-shop-thumb img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}

body.cw-body .cw-help-card {
  overflow-wrap: anywhere;
}

body.cw-body .cw-support-line {
  display: grid;
  grid-template-columns: 4.7rem minmax(0, 1fr);
  align-items: start;
  gap: 0.35rem 0.75rem;
  margin-top: 0.55rem;
  color: var(--cw-copy-soft);
  line-height: 1.4;
}

body.cw-body .cw-support-label {
  color: #111827;
  font-weight: 800;
}

body.cw-body .cw-support-line a,
body.cw-body .cw-support-line span:not(.cw-support-label) {
  min-width: 0;
  color: var(--cw-copy-soft);
  text-decoration: none;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  body.cw-body .cw-search {
    display: none;
  }
}

@media (max-width: 760px) {
  body.cw-body .cw-main {
    padding-top: 1rem;
  }

  body.cw-body .cw-page-hero {
    padding: 1.2rem;
    border-radius: 24px;
  }

  body.cw-body .cw-page-title,
  body.cw-body .cw-page-hero h1 {
    font-size: clamp(2.05rem, 11vw, 3.2rem) !important;
  }

  body.cw-body .cw-hero-chips {
    gap: 0.45rem;
  }

  body.cw-body .cw-trust-chip,
  body.cw-body .cw-hero-chip {
    min-height: 32px;
    font-size: 0.75rem;
    padding: 0.42rem 0.66rem;
  }

  body.cw-body .cw-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  body.cw-body .cw-footer-grid > div {
    padding: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
  }

  body.cw-body .cw-related-card .cw-shop-thumb {
    aspect-ratio: 1 / 1;
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  body.cw-body .cw-support-line {
    grid-template-columns: 1fr;
    gap: 0.12rem;
  }
}
