/* Global styles */
:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --surface-soft: #fdf5fb;
  --surface-alt: #faeaf5;
  --panel: rgba(255,255,255,0.92);
  --panel-soft: #fdf0fa;
  --text: #111111;
  --muted: #7a6878;
  --primary: #e91e8c;
  --primary-strong: #ff9dce;
  --border: rgba(233,30,140,0.15);
  --bg-gradient-start: #fdf5fb;
  --bg-gradient-end: #f5f0f5;
  --bg-radial: rgba(233,30,140,0.05);
  --modal-bg: rgba(253,245,250,0.92);
}

[data-theme="dark"] {
  --bg: #0f0918;
  --surface: #1a1226;
  --surface-soft: #22182e;
  --surface-alt: #1e1430;
  --panel: rgba(26,18,38,0.97);
  --panel-soft: #1e1430;
  --text: #f4eef9;
  --muted: #a890c0;
  --primary: #e91e8c;
  --primary-strong: #ff9dce;
  --border: rgba(233,30,140,0.16);
  --bg-gradient-start: #0f0918;
  --bg-gradient-end: #160e22;
  --bg-radial: rgba(233,30,140,0.10);
  --modal-bg: rgba(15,9,24,0.94);
}

* {
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html, body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, var(--bg-radial), transparent 30%),
              linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

button, input {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 1rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions button,
.header-actions .auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-actions .wishlist-button,
.header-actions .cart-button {
  width: auto;
  min-width: 2.8rem;
  padding: 0 0.85rem;
  gap: 0.55rem;
}

.header-actions button::before,
.header-actions .auth-button::before {
  content: '';
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.settings-button::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12 8a4 4 0 100 8 4 4 0 000-8zm0-5a1 1 0 011 1v1.1a6.15 6.15 0 011.62.56l.75-.75A1 1 0 0117.5 4.5l-.75.75A6.15 6.15 0 0118.9 7.5H20a1 1 0 110 2h-1.06a6.15 6.15 0 01-.56 1.62l.75.75a1 1 0 01-1.4 1.4l-.75-.75A6.15 6.15 0 0115.5 15.94V17a1 1 0 11-2 0v-1.06a6.15 6.15 0 01-1.62-.56l-.75.75a1 1 0 01-1.4-1.4l.75-.75A6.15 6.15 0 018.06 12.5H7a1 1 0 110-2h1.06a6.15 6.15 0 01.56-1.62l-.75-.75A1 1 0 015.8 6.8l.75.75c.4-.2.8-.4 1.4-.5V5a1 1 0 011-1h2z'/%3E%3C/svg%3E");
}

/* Show a simple hamburger character for the settings button */
.settings-button {
  font-size: 1.15rem;
  line-height: 1;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.settings-button::before {
  content: none;
}

.wishlist-button::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.cart-button::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M7 18a2 2 0 11-2-2 2 2 0 012 2zm10 0a2 2 0 11-2-2 2 2 0 012 2zM7.16 14h9.68l1.66-8H5.5L4.17 2H2v2h1.17l1.66 8zm2.34-6h5.13l-.97 4H9.47z'/%3E%3C/svg%3E");
}

.auth-button::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12 12a4 4 0 100-8 4 4 0 000 8zm0 2c-3.33 0-6 1.67-6 4v2h12v-2c0-2.33-2.67-4-6-4z'/%3E%3C/svg%3E");
}

.wishlist-button .wishlist-count,
.cart-button .cart-count {
  font-size: 0.85rem;
  line-height: 1;
  color: #ffffff;
}

.cart-count {
  background: var(--primary);
  color: #ffffff;
  border-radius: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 2rem;
  height: 1.4rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--surface-fog);
  display: grid;
  place-items: center;
  z-index: 20;
}

.mobile-menu-panel {
  width: min(360px, calc(100% - 2rem));
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(34, 26, 17, 0.08);
  position: relative;
}

.close-menu {
  position: absolute;
  right: 1rem;
  top: 1rem;
  appearance: none;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  color: var(--text);
  cursor: pointer;
}

.mobile-nav {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.mobile-menu-info {
  margin-top: 2rem;
  color: var(--muted);
}

.hero {
  padding: clamp(4rem, 10vw, 6rem) 0 clamp(2.8rem, 6vw, 5rem);
}

.hero-content {
  max-width: 680px;
  display: grid;
  gap: 1.6rem;
}

.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
}

.hero-signature {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-signature div {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 1.4rem;
  background: var(--surface-alt);
  border: 1px solid rgba(233,30,140,0.15);
  border-radius: 0;
}

.hero-signature strong {
  display: block;
  font-size: 0.95rem;
}

.hero-signature span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.hero-actions.hero-actions-extra {
  margin-top: 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--primary);
}

.hero h1,
.section-header h2,
.about h2,
.newsletter h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4rem);
  letter-spacing: -0.05em;
}

.hero p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.product-thumb {
  position: relative;
  height: 220px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(233,30,140,0.08), var(--surface-soft));
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-thumb:hover img {
  transform: scale(1.05);
}

.product-thumb .product-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(233,30,140,0.16), rgba(15,18,20,0.05));
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(233,30,140,0.14);
  color: var(--text);
  padding: 0.35rem 0.85rem;
  border-radius: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-details {
  padding: 1.25rem;
}

.product-details button {
  min-height: 3.2rem;
}

.product-details .wishlist-toggle {
  width: auto;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  padding: 0.95rem 1.6rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.theme-toggle {
  width: 3.2rem;
  height: 1.8rem;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.theme-toggle-track {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: rgba(233,30,140,0.14);
  position: relative;
  transition: background-color 0.25s ease;
}

.theme-toggle-thumb {
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0;
  background: var(--surface);
  box-shadow: 0 5px 10px rgba(15, 18, 20, 0.12);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

html[data-theme="dark"] .theme-toggle-track {
  background: rgba(255,255,255,0.18);
}

html[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(1.4rem);
  background: #ffffff;
}

.settings-button {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.settings-button:hover {
  border-color: var(--primary);
  background: rgba(246,208,135,0.14);
}

.settings-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: var(--surface);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: block;
}

.settings-panel.open {
  transform: translateX(0);
}

.settings-panel-content {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.close-settings {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  margin-bottom: 1rem;
}

.settings-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.settings-options .theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
}

.admin-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.admin-link:hover {
  text-decoration: underline;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
}

.button.secondary {
  background: var(--surface-soft);
  color: var(--text);
}

.button.outline {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
}

.button.outline.active {
  background: rgba(233,30,140,0.18);
  border-color: rgba(233,30,140,0.35);
}

.wishlist-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 0;
  cursor: pointer;
}

.wishlist-count {
  background: var(--primary);
  color: #ffffff;
  border-radius: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions.hero-actions-extra {
  margin-top: 1.5rem;
}

.category-highlights {
  padding: 3rem 0 1.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--surface);
  border: 1px solid rgba(233,30,140,0.16);
  border-radius: 0;
  padding: 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.faq-grid .feature-card {
  min-height: 100%;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.75rem;
  color: var(--text);
}

.settings-card h2 {
  margin-top: 0;
}

.settings-card p {
  color: var(--muted);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233,30,140,0.3);
  box-shadow: 0 18px 35px rgba(233,30,140,0.12);
}

.category-card h3 {
  margin: 0.75rem 0 0.85rem;
  font-size: 1.2rem;
}

.collection-controls {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.collection-controls input {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  padding: 1rem 1.2rem;
  border-radius: 0;
  min-height: 54px;
}

.related-products {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.related-products h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.related-card {
  border: 1px solid var(--border);
  padding: 1rem;
  background: var(--surface);
  box-shadow: 0 10px 25px rgba(233,30,140,0.06);
}

.related-card:hover {
  transform: translateY(-2px);
}

.related-card a {
  display: grid;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.related-thumb {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  min-height: 160px;
  display: grid;
  place-items: center;
}

.related-thumb img {
  width: 100%;
  display: block;
}

.related-copy strong {
  display: block;
  margin-bottom: 0.4rem;
}

.profile-orders {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.order-card {
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  margin-top: 0;
  display: grid;
  gap: 0.5rem;
}

.order-card p {
  margin: 0;
  color: var(--muted);
}

.order-card strong {
  color: var(--text);
}

.collection-controls input::placeholder {
  color: rgba(138,99,120,0.55);
}

.collection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.sort-select {
  min-width: 180px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  padding: 1rem 1rem;
  border-radius: 0;
  min-height: 54px;
  cursor: pointer;
}

.filter-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-buttons {
  width: 100%;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-button {
  border: 1px solid rgba(233,30,140,0.18);
  background: rgba(255,249,251,0.9);
  color: var(--text);
  padding: 0.85rem 1.25rem;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.filter-button.active,
.filter-button:hover {
  background: rgba(233,30,140,0.18);
  color: var(--primary-strong);
}

.shop-benefits {
  padding: 3rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(233,30,140,0.18);
  border-radius: 0;
  padding: 1.75rem;
  box-shadow: 0 22px 50px rgba(34, 26, 17, 0.08);
}

.feature-card h3 {
  margin: 0 0 0.75rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.testimonials {
  padding: 3rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem;
}

.testimonial-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.8;
}

.testimonial-card strong {
  color: var(--text);
}

.checkout-page {
  padding: 3rem 0 4rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.checkout-form-card,
.order-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem;
  min-width: 0;
  box-shadow: 0 30px 80px rgba(15, 18, 20, 0.08);
}

.checkout-form-card {
  background: var(--surface-alt);
}

.order-summary-card {
  position: sticky;
  top: 4rem;
}

.checkout-intro {
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 0;
  background: var(--surface-soft);
  border: 1px solid rgba(233,30,140,0.14);
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.checkout-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 0;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.checkout-step.active {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 8px 20px rgba(233,30,140,0.18);
}

.promo-code-card {
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem;
  background: var(--surface-soft);
  border: 1px solid rgba(233,30,140,0.12);
  border-radius: 0;
}

.promo-code-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
}

.promo-code-input input {
  border-color: rgba(233,30,140,0.18);
}

.promo-message {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.promo-message.promo-error {
  color: #c4763f;
}

.summary-lines {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(233,30,140,0.12);
  border-bottom: 1px solid rgba(233,30,140,0.12);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.discount-line {
  color: #be185d;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.checkout-form label {
  color: var(--muted);
  font-size: 0.95rem;
}

.payment-methods {
  display: grid;
  gap: 1rem;
}

.payment-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.payment-options {
  display: grid;
  gap: 0.85rem;
}

.payment-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(233,30,140,0.18);
  border-radius: 0;
  background: var(--surface-soft);
  cursor: pointer;
}

.payment-option input {
  accent-color: var(--primary);
}

.payment-option strong {
  display: block;
  color: var(--text);
}

.payment-option span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.payment-details {
  display: grid;
  gap: 1rem;
}

.hidden {
  display: none !important;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  padding: 1rem 1.1rem;
  border-radius: 0;
}

.checkout-form textarea {
  resize: vertical;
}

.section-copy {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.summary-items {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summary-item {
  display: grid;
  grid-template-columns: auto minmax(0, auto);
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(253, 230, 245, 0.6);
  border-radius: 0;
  border: 1px solid rgba(233,30,140,0.12);
}

.summary-item > div:first-child {
  min-width: 0;
}

.summary-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

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

.summary-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.remove-checkout-item {
  padding: 0.65rem 0.95rem;
  border-radius: 0;
  border: 1px solid rgba(15, 18, 20, 0.08);
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
}

.remove-checkout-item:hover {
  background: rgba(233,30,140,0.12);
}

.admin-page {
  padding: 3rem 0 4rem;
}

.admin-panel {
  display: grid;
  gap: 1.5rem;
}

.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem;
  box-shadow: 0 22px 50px rgba(34, 26, 17, 0.08);
}

.admin-login h1,
.admin-product-manager h2,
.admin-product-list-card h2,
.admin-controls h2 {
  margin-top: 0;
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stat-card {
  padding: 1.25rem 1.4rem;
  border-radius: 0;
  background: var(--surface-soft);
  border: 1px solid rgba(233,30,140,0.12);
}

.admin-stat-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.admin-stat-card strong {
  font-size: 1.75rem;
}

.admin-control-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.admin-product-manager {
  margin-top: 2rem;
}

.admin-product-list-card {
  margin-top: 2rem;
}

.admin-product-list {
  display: grid;
  gap: 1rem;
}

.admin-order-list-card {
  margin-top: 2rem;
}

.admin-order-list {
  display: grid;
  gap: 1rem;
}

.admin-order-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  background: var(--surface-soft);
  border: 1px solid rgba(233,30,140,0.12);
}

.admin-order-item {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  background: var(--surface-soft);
  border: 1px solid rgba(233,30,140,0.12);
}

.admin-order-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  align-items: center;
}

.admin-order-total {
  font-size: 1.1rem;
  font-weight: 700;
}

.admin-order-details {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(233,30,140,0.12);
}

.admin-order-details div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
}

.admin-order-details strong {
  color: var(--muted);
  font-weight: 700;
}

.admin-order-details span {
  color: var(--text);
}

.admin-order-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.admin-order-item p,
.admin-order-item small {
  margin: 0;
  color: var(--muted);
}

.admin-product-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  background: var(--surface-soft);
  border: 1px solid rgba(233,30,140,0.12);
}

.admin-product-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-product-actions span {
  font-weight: 700;
}

.admin-product-actions button {
  min-width: 110px;
}

.admin-page .checkout-form input,
.admin-page .checkout-form textarea {
  color: var(--text);
}

.admin-page .form-row {
  margin-bottom: 1rem;
}

.admin-page .double-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-page label {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.file-preview {
  padding: 1rem;
  border: 1px solid rgba(233,30,140,0.18);
  background: var(--surface-soft);
  border-radius: 0;
  color: var(--text);
}

.collections {
  padding: 3rem 0;
}

.product-page {
  padding: 3rem 0 4rem;
}

.product-page .product-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.product-preview {
  display: grid;
  place-items: center;
  min-height: 520px;
  background: radial-gradient(circle at top, rgba(233,30,140,0.12), transparent 40%), var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(233,30,140,0.16), rgba(15,18,20,0.05));
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.product-details-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(15, 18, 20, 0.08);
}

.product-details-card .eyebrow {
  margin-bottom: 0.75rem;
}

.product-category {
  margin: 0.25rem 0 1.5rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-description {
  margin-bottom: 1.75rem;
  color: var(--muted);
  line-height: 1.8;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-meta {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.product-extra {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.product-extra .button {
  min-width: 180px;
}

.product-link {
  color: inherit;
  text-decoration: none;
}

.product-card .product-actions {
  justify-content: flex-start;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.no-results {
  color: var(--muted);
  padding: 2rem 1rem;
  text-align: center;
  grid-column: 1 / -1;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 14px 35px rgba(233, 30, 140, 0.06);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(233,30,140,0.35);
}

.product-thumb {
  position: relative;
  height: 260px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(233,30,140,0.08), var(--surface-soft));
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(233,30,140,0.12);
  color: var(--text);
  padding: 0.35rem 0.85rem;
  border-radius: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-thumb span {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-details {
  padding: 1.5rem;
}

.product-details h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.product-details p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.product-details .price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.product-details button {
  width: 100%;
}

.about {
  padding: 3rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.about-card {
  background: rgba(255, 239, 244, 0.9);
  border: 1px solid rgba(233,30,140,0.14);
  border-radius: 0;
  padding: 2rem;
  min-height: 100%;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.about ul {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.about li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
}

.about li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.newsletter {
  padding: 3rem 0 4rem;
}

.newsletter-card {
  display: grid;
  gap: 1.5rem;
  padding: 2.2rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
}

.newsletter-card form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.newsletter-card input {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  padding: 1rem 1.1rem;
  border-radius: 0;
  width: 100%;
}

.newsletter-card input::placeholder {
  color: rgba(138,99,120,0.55);
}

.site-footer {
  padding: 2rem 0 3rem;
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-links h3 {
  margin: 0 0 1rem;
  color: var(--text);
}

.footer-links a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  display: grid;
  gap: 0.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.faq-grid .feature-card {
  min-height: 100%;
}

.cart-modal,
.wishlist-modal {
  position: fixed;
  inset: 0;
  background: rgba(255, 241, 249, 0.95);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.cart-panel {
  position: relative;
  width: min(460px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1.5rem;
  box-shadow: 0 24px 80px rgba(233,30,140,0.12);
}

.cart-panel h2 {
  margin: 0 0 1rem;
}

.close-cart {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  cursor: pointer;
}

.cart-items {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
}

.cart-item div {
  display: grid;
  gap: 0.35rem;
}

.cart-item-actions {
  display: grid;
  gap: 0.6rem;
  justify-items: end;
  align-items: center;
  min-width: 130px;
}

.cart-item button {
  align-self: flex-end;
  font-size: 0.85rem;
  padding: 0.75rem 0.95rem;
  border-radius: 0;
}

.cart-item strong {
  color: var(--text);
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text);
}

.payment-form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.payment-form label {
  color: var(--muted);
  font-size: 0.9rem;
}

.payment-form input {
  width: 100%;
  border: 1px solid rgba(233,30,140,0.18);
  background: var(--surface);
  color: var(--text);
  padding: 0.95rem 1rem;
  border-radius: 0;
}

.full-width {
  width: 100%;
}

.hidden {
  display: none !important;
}

@media (max-width: 840px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    align-items: center;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 8vw, 3.4rem);
  }

  .hero p,
  .section-copy {
    font-size: 0.98rem;
  }

  .products-grid,
  .about-grid,
  .newsletter-card form,
  .category-grid,
  .feature-grid,
  .testimonial-grid,
  .footer-links,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .testimonial-grid,
  .category-grid {
    gap: 1rem;
  }

  .checkout-form-card,
  .order-summary-card {
    padding: 1.5rem;
  }

  .checkout-form input,
  .checkout-form textarea,
  .collection-controls input,
  .newsletter-card input {
    font-size: 0.95rem;
  }

  .order-summary-card {
    position: static;
    top: auto;
  }

  .product-thumb {
    height: 190px;
  }

  .product-details {
    padding: 1rem;
  }

  .product-details h3 {
    font-size: 1.1rem;
  }

  .filter-buttons {
    justify-content: stretch;
  }

  .filter-button {
    flex: 1;
    min-width: 0;
  }

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

  .sort-select {
    width: 100%;
  }

  .product-page .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    width: min(100%, 100%);
    max-width: 100%;
  }
}

/* Authentication Styles */
.auth-page {
  padding: 3rem 0 4rem;
}

.auth-container {
  margin: 0 auto;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.auth-form-card,
.auth-summary-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem;
  min-width: 0;
  box-shadow: 0 30px 80px rgba(15, 18, 20, 0.08);
}

.auth-form-card {
  background: var(--surface);
}

.auth-intro {
  margin-bottom: 2rem;
  padding: 1.5rem 1.35rem;
  border-radius: 0;
  background: var(--surface-soft);
  border: 1px solid rgba(233,30,140,0.14);
}

.auth-intro .eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.auth-intro h2 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
}

.auth-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(233,30,140,0.16);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  margin-bottom: 0.85rem;
}

.auth-summary-card {
  display: grid;
  gap: 1rem;
}

.auth-summary-card .feature-pill {
  width: 100%;
}

.auth-form label {
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-form input,
.auth-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(233,30,140,0.18);
  padding: 1rem;
  border-radius: 0;
  color: var(--text);
}

.auth-button {
  padding: 0.8rem 1.4rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-summary-card {
    order: -1;
  }
}

.auth-screen {
  padding: 4rem 0 6rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 10rem);
}

.auth-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem;
  background: #111;
  border-radius: 1.7rem;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.auth-hero .eyebrow {
  color: #fff;
  opacity: 0.75;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1.3rem;
}

.auth-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.auth-hero p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 38rem;
  font-size: 1.05rem;
  margin: 1.6rem 0 0;
  line-height: 1.8;
}

.auth-hero-note {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.auth-panel-card {
  background: var(--surface);
  border: 1px solid rgba(233, 30, 140, 0.16);
  border-radius: 1.3rem;
  padding: 2.5rem;
  box-shadow: 0 24px 80px rgba(34, 26, 17, 0.08);
}

.auth-panel-card h2 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.auth-panel-card .auth-subtitle {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(233, 30, 140, 0.18);
  background: var(--surface-soft);
  color: var(--text);
  padding: 1rem 1.1rem;
  border-radius: 0.8rem;
}

.auth-form .double-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-row.checkbox-row {
  margin-top: 0.5rem;
}

.auth-links {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.auth-actions-row {
  display: grid;
  gap: 0.9rem;
}

.auth-actions-row a {
  padding: 1rem 1.2rem;
  text-align: center;
}

.auth-panel-card .button.primary {
  width: 100%;
  padding: 1rem 1.2rem;
}

.auth-message {
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-hero {
    padding: 2.5rem 2rem;
  }

  .auth-panel-card {
    padding: 2rem;
  }
}

.auth-form {
  margin-bottom: 2rem;
  display: grid;
  gap: 1.25rem;
}

.auth-form .form-row {
  margin-bottom: 0;
}

.auth-form .form-row.form-row-box {
  background: var(--surface);
  border: 1px solid rgba(233,30,140,0.15);
  padding: 1.1rem 1.2rem;
  border-radius: 0;
  display: grid;
  gap: 0.6rem;
}

.auth-form .form-row.double-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.auth-form .form-row.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 0;
  position: relative;
  flex-shrink: 0;
  background: var(--surface);
  transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.auth-links {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
}

.auth-actions-row {
  display: grid;
  gap: 0.85rem;
}

.auth-links a,
.auth-actions-row a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(233,30,140,0.18);
  padding: 0.95rem 1.2rem;
  border-radius: 0;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  font-weight: 600;
}

.auth-actions-row a.button.secondary {
  background: var(--surface-soft);
}

.auth-actions-row a:hover {
  background: var(--surface-alt);
}

.auth-message {
  padding: 1rem;
  border-radius: 0;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.auth-message.error {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.auth-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.auth-message.hidden {
  display: none;
}

/* User Menu */
.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 1000;
  margin-top: 0.5rem;
}

.user-menu-content {
  padding: 0.5rem 0;
}

.user-menu-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.user-menu-item:hover {
  background: var(--surface-soft);
}

.user-menu-item:first-child {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
  padding-bottom: 1rem;
}

/* Responsive Auth */
@media (max-width: 768px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }

  .auth-card h1 {
    font-size: 1.75rem;
  }
}

/* ============================
   ANIMATIONS & INTERACTIONS
   ============================ */

/* Keyframes */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ---- Hero staggered entrance ---- */
.hero-welcome {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero-tagline {
  animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero .hero-actions {
  animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  animation: fadeIn 1.2s ease 0.1s both;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.21s; }
.reveal-delay-4 { transition-delay: 0.28s; }

/* ---- Primary button glow ---- */
.button.primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(233, 30, 140, 0.38);
}

.button.primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(233, 30, 140, 0.18);
  transition-duration: 0.07s;
}

/* ---- Secondary & outline buttons ---- */
.button.secondary {
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.button.secondary:hover {
  background: var(--surface-alt);
  transform: translateY(-1px);
}

.button.secondary:active {
  transform: translateY(0);
  transition-duration: 0.07s;
}

.button.outline {
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.button.outline:hover {
  border-color: var(--primary);
  background: rgba(233, 30, 140, 0.08);
  transform: translateY(-1px);
}

/* ---- Navigation underline ---- */
.main-nav a {
  position: relative;
  padding-bottom: 3px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.28s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* ---- Product cards ---- */
.product-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(233, 30, 140, 0.42);
  box-shadow: 0 28px 60px rgba(233, 30, 140, 0.14);
}

.product-thumb img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-thumb:hover img {
  transform: scale(1.09);
}

/* Shimmer on product placeholder */
.product-image-placeholder {
  background: linear-gradient(
    90deg,
    rgba(233, 30, 140, 0.07) 0%,
    rgba(233, 30, 140, 0.18) 50%,
    rgba(233, 30, 140, 0.07) 100%
  );
  background-size: 200% auto;
  animation: shimmer 2.5s linear infinite;
}

/* ---- Category cards ---- */
.category-card {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.32s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(233, 30, 140, 0.35);
  box-shadow: 0 20px 45px rgba(233, 30, 140, 0.12);
}

/* ---- Cart / Wishlist modals ---- */
.cart-modal,
.wishlist-modal {
  animation: fadeIn 0.22s ease both;
}

.cart-modal .cart-panel,
.wishlist-modal .cart-panel {
  animation: fadeSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ---- Settings panel ---- */
.settings-panel {
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

.settings-panel.open {
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.13);
}

/* ---- Header action buttons ---- */
.header-actions button,
.header-actions a {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-actions button:hover,
.header-actions a:hover {
  border-color: var(--primary);
  background: rgba(233, 30, 140, 0.1);
}

/* ===== HERO REDESIGN ===== */
.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 4rem 0 0;
  background: #f4f4f4;
}

[data-theme="dark"] .hero {
  background: #0f0918;
}

.hero-fabric {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.fabric-pink {
  position: absolute;
  width: 100%;
  height: auto;
  top: 16%;
  left: 0;
  transform-origin: center center;
  mix-blend-mode: multiply;
  opacity: 0.95;
  animation: pinkSilk 14s ease-in-out infinite;
  pointer-events: none;
  display: block;
}

.fabric-silver {
  position: absolute;
  width: 100%;
  height: auto;
  top: 44%;
  left: 0;
  transform-origin: center center;
  mix-blend-mode: multiply;
  opacity: 0.90;
  animation: silverSilk 18s ease-in-out infinite;
  pointer-events: none;
  display: block;
}

@keyframes pinkSilk {
  0%, 100% { transform: scale(1.55) rotate(-4deg) translate(0, 0); }
  25%       { transform: scale(1.57) rotate(-3deg) translate(0.4%, -0.8%); }
  50%       { transform: scale(1.53) rotate(-5deg) translate(0.8%, 0.6%); }
  75%       { transform: scale(1.56) rotate(-3.5deg) translate(-0.4%, 1%); }
}

@keyframes silverSilk {
  0%, 100% { transform: scale(1.50) rotate(3deg) translate(0, 0); }
  33%       { transform: scale(1.52) rotate(4deg) translate(-0.6%, 0.7%); }
  66%       { transform: scale(1.48) rotate(2deg) translate(0.7%, -0.8%); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-welcome {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.88;
  color: #111111;
  margin: 0;
  text-shadow: 0 2px 24px rgba(255,255,255,0.55);
}

.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
  max-width: 380px;
}

[data-theme="dark"] .hero-welcome {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.70);
}

[data-theme="dark"] .fabric-pink,
[data-theme="dark"] .fabric-silver {
  mix-blend-mode: screen;
  opacity: 0.55;
}

@media (max-width: 840px) {
  .hero {
    min-height: 75vh;
    padding: 4rem 0 3rem;
  }

  .hero-welcome {
    font-size: clamp(3.5rem, 16vw, 6rem);
  }

  .fabric-pink {
    width: 160%;
    left: -20%;
    top: 22%;
    opacity: 0.80;
  }

  .fabric-silver {
    width: 150%;
    left: -15%;
    top: 50%;
    opacity: 0.70;
  }
}

/* ============================
   ROUNDED CORNERS
   ============================ */

:root {
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   26px;
  --radius-pill: 999px;
}

/* Buttons */
.button                                     { border-radius: var(--radius-md); }

/* Product + collection cards */
.product-card                               { border-radius: var(--radius-lg); overflow: hidden; }
.feature-card                               { border-radius: var(--radius-lg); }
.category-card                              { border-radius: var(--radius-lg); }
.testimonial-card                           { border-radius: var(--radius-lg); }
.about-card                                 { border-radius: var(--radius-lg); }
.newsletter-card                            { border-radius: var(--radius-lg); }
.related-card                               { border-radius: var(--radius-md); }

/* Checkout + order */
.checkout-form-card,
.order-summary-card                         { border-radius: var(--radius-lg); }
.checkout-intro                             { border-radius: var(--radius-md); }
.promo-code-card                            { border-radius: var(--radius-md); }
.summary-item                               { border-radius: var(--radius-md); }
.checkout-step                              { border-radius: var(--radius-md); }
.payment-option                             { border-radius: var(--radius-md); }
.file-preview                               { border-radius: var(--radius-md); }

/* Cart + wishlist */
.cart-panel                                 { border-radius: var(--radius-xl); }
.cart-item                                  { border-radius: var(--radius-md); }
.order-card                                 { border-radius: var(--radius-md); }

/* Admin */
.admin-card                                 { border-radius: var(--radius-lg); }
.admin-stat-card                            { border-radius: var(--radius-md); }
.admin-product-item,
.admin-order-item                           { border-radius: var(--radius-md); }

/* Auth */
.auth-intro                                 { border-radius: var(--radius-md); }
.auth-form-card,
.auth-summary-card                          { border-radius: var(--radius-lg); }
.feature-pill                               { border-radius: var(--radius-md); }

/* Settings + menus */
.user-menu                                  { border-radius: var(--radius-md); }
.mobile-menu-panel                          { border-radius: var(--radius-lg); }

/* Badges + tags */
.product-tag                                { border-radius: var(--radius-pill); }
.cart-count,
.wishlist-count                             { border-radius: var(--radius-pill); padding: 0.2rem 0.6rem; }

/* Inputs */
.checkout-form input,
.checkout-form textarea,
.collection-controls input,
.newsletter-card input,
.auth-form input,
.payment-form input,
.admin-page .checkout-form input,
.admin-page .checkout-form textarea         { border-radius: var(--radius-sm); }
.sort-select                                { border-radius: var(--radius-sm); }

/* Header action buttons */
.header-actions .settings-button,
.header-actions .wishlist-button,
.header-actions .cart-button,
.header-actions .auth-button                { border-radius: var(--radius-pill); }

/* ============================
   HEADER REDESIGN
   ============================ */

/* Clean header base */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .site-header {
  background: rgba(26, 18, 38, 0.98);
  border-bottom: 1px solid rgba(233, 30, 140, 0.10);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.30);
}

/* Brand name — fashion label style */
.brand {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* Wishlist + Cart buttons — clear pill style like the reference */
.header-actions .wishlist-button,
.header-actions .cart-button {
  height: 44px;
  min-width: 76px;
  padding: 0 14px;
  gap: 8px;
  font-size: 0;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header-actions .wishlist-button:hover,
.header-actions .cart-button:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(233, 30, 140, 0.14);
  transform: translateY(-1px);
}

[data-theme="dark"] .header-actions .wishlist-button,
[data-theme="dark"] .header-actions .cart-button {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Count inside pill — just a plain number */
.header-actions .wishlist-button .wishlist-count,
.header-actions .cart-button .cart-count {
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
  letter-spacing: 0;
}

/* Hamburger / settings button */
.header-actions .settings-button {
  width: 44px;
  height: 44px;
  font-size: 1.15rem;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-actions .settings-button:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(233, 30, 140, 0.14);
}

[data-theme="dark"] .header-actions .settings-button {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Auth button */
.header-actions .auth-button {
  height: 44px;
  padding: 0 18px;
  font-size: 0.88rem;
  font-weight: 600;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .header-actions .auth-button {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Slightly more padding in header */
.header-inner {
  padding: 0.85rem 0;
}

/* Main nav link underline color */
.main-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

/* ============================================================
   MINGALAR PAL — HOMEPAGE  (မင်္ဂလာရတနာ ပိုးထည်တိုက်)
   ============================================================ */

.mg-body {
  margin: 0;
  padding: 0;
  background: #fff;
  overflow-x: hidden;
}

/* Full-screen hero */
.mg-hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

/* ── Silk fabric ── */
.mg-fabric {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mg-silk {
  position: absolute;
  left: 50%;
  width: 130%;
  min-width: 1200px;
  height: auto;
  mix-blend-mode: multiply;
  opacity: 0.97;
}

.mg-silk-silver {
  top: 60vh;
  width: 150%;
  animation: mgSilverDrift 22s ease-in-out infinite;
}

.mg-silk-pink {
  bottom: -10vh;
  animation: mgPinkDrift 18s ease-in-out infinite;
}

/* Secondary silver band — dropped to the lower area; both ends bleed off-screen */
.mg-silk-silver2 {
  top: 52vh;
  left: 40%;
  width: 185%;
  opacity: 0.58;
  transform: translateX(-50%) scaleX(-1) rotate(-7deg);
  animation: mgSilver2Drift 26s ease-in-out infinite;
}

/* Secondary pink band, mirrored, lifting through the lower-middle */
.mg-silk-pink2 {
  bottom: 14vh;
  width: 150%;
  opacity: 0.62;
  transform: translateX(-50%) scaleX(-1) rotate(-3deg);
  animation: mgPink2Drift 24s ease-in-out infinite;
}

@keyframes mgSilverDrift {
  0%, 100% { transform: translateX(-50%) translateY(-2%); }
  50%       { transform: translateX(-50%) translateY(1%); }
}

@keyframes mgPinkDrift {
  0%, 100% { transform: translateX(-50%) translateY(2%); }
  50%       { transform: translateX(-50%) translateY(-1%); }
}

@keyframes mgSilver2Drift {
  0%, 100% { transform: translateX(-50%) scaleX(-1) rotate(-7deg) translateY(0); }
  50%       { transform: translateX(-50%) scaleX(-1) rotate(-7deg) translateY(3%); }
}

@keyframes mgPink2Drift {
  0%, 100% { transform: translateX(-50%) scaleX(-1) rotate(-3deg) translateY(0); }
  50%       { transform: translateX(-50%) scaleX(-1) rotate(-3deg) translateY(-3%); }
}

/* ── Top bar ── */
.mg-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.75rem 2rem 0;
  flex-shrink: 0;
}

/* Logo */
.mg-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mg-logo-img {
  height: 110px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  view-transition-name: site-logo;
}

/* Text fallback shown when logo.png is missing */
.mg-logo-text          { display: none; flex-direction: column; align-items: center; gap: 2px; }
.mg-logo.no-img .mg-logo-img  { display: none; }
.mg-logo.no-img .mg-logo-text { display: flex; }

.mg-logo-my {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111;
}

.mg-logo-sub {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #e91e8c;
}

/* Hamburger */
.mg-burger {
  position: absolute;
  right: 2rem;
  top: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.mg-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111;
  border-radius: 1px;
}

/* ── Hero copy ── */
.mg-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: clamp(1.5rem, 5vh, 4rem) 2rem 4rem;
}

/* Soft frosted halo behind only the action links — fades at edges, no hard box */
.mg-actions {
  position: relative;
}

.mg-actions::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 180px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.58) 0%,
    rgba(255, 255, 255, 0.34) 42%,
    rgba(255, 255, 255, 0) 72%
  );
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 44%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 44%, transparent 72%);
}

.mg-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(5rem, 15vw, 11rem);
  letter-spacing: 0.04em;
  color: #111;
  margin: 0 0 2.5rem;
  line-height: 0.9;
}

.mg-greeting {
  font-family: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #222;
  margin: 0 0 4rem;
}

.mg-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mg-action {
  font-family: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s ease;
}

.mg-action:hover { color: #e91e8c; }

/* ── Nav drawer ── */
.mg-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 200;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.38s ease;
}

.mg-drawer.open {
  transform: translateX(0);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

.mg-drawer-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #111;
  padding: 0;
  margin-bottom: 2.5rem;
}

.mg-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.mg-drawer-nav a {
  text-decoration: none;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111;
  transition: color 0.2s ease;
}

.mg-drawer-nav a:hover { color: #e91e8c; }

.mg-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 199;
}

.mg-overlay.open { display: block; }

/* ============================================================
   PAGE TRANSITIONS (logo travels between pages)
   ============================================================ */
@view-transition { navigation: auto; }

/* Logo glides between its old and new position */
::view-transition-group(site-logo) {
  animation-duration: 0.65s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}


/* ============================================================
   COLLECTIONS PAGE
   ============================================================ */
.col-body {
  margin: 0;
  min-height: 100vh;
  background: #fbfafb;
  font-family: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  color: #111;
  overflow-x: hidden;
}
.col-body.col-noscroll { overflow: hidden; }

/* Continuous silk background (fixed behind everything) */
.col-silk {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.col-silk-img {
  position: absolute;
  left: 50%;
  width: 150%;
  min-width: 1200px;
  height: auto;
  transform: translateX(-50%);
  mix-blend-mode: multiply;
  opacity: 0.5;
}
.col-silk-silver { top: 6vh; }
.col-silk-pink   { top: 58vh; opacity: 0.42; }

/* ---- Navbar ---- */
.col-nav {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
}
.col-logo { justify-self: start; display: inline-flex; }
.col-logo-img {
  height: 84px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  view-transition-name: site-logo;
}
.col-title {
  justify-self: center;
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: #111;
}
.col-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
}
.col-iconbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: #111;
  cursor: pointer;
  padding: 0.3rem;
  font: inherit;
  transition: color 0.2s ease, transform 0.2s ease;
}
.col-iconbtn:hover { color: #e91e8c; transform: translateY(-1px); }
.col-actions .wishlist-count,
.col-actions .cart-count {
  background: transparent;
  color: #111;
  font-size: 1rem;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  letter-spacing: 0;
}
.col-burger {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
}
.col-burger span {
  display: block;
  height: 2px;
  width: 22px;
  background: currentColor;
  border-radius: 2px;
}

/* ---- Filters ---- */
.col-filters {
  position: relative;
  z-index: 4;
  max-width: 1080px;
  margin: 0.5rem auto 2rem;
  padding: 0 2rem;
}
.col-filters-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.col-search {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  color: #777;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.col-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
}
.col-search input::placeholder { color: #9a9098; letter-spacing: 0.18em; }
.col-sort-wrap {
  position: relative;
  display: inline-block;
}
.col-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.col-sort-btn:hover { border-color: rgba(233, 30, 140, 0.35); }
.col-sort-wrap.open .col-sort-btn {
  border-color: rgba(233, 30, 140, 0.4);
  box-shadow: 0 8px 22px rgba(233, 30, 140, 0.14);
}
.col-sort-icon { color: #111; transition: transform 0.3s ease; flex-shrink: 0; }
.col-sort-wrap.open .col-sort-icon { transform: rotate(180deg); }

.col-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100%;
  white-space: nowrap;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(60, 30, 50, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 20;

  opacity: 0;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.col-sort-wrap.open .col-sort-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.col-sort-option {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, opacity 0.3s ease, transform 0.3s ease;
}
.col-sort-option:hover { background: rgba(233, 30, 140, 0.08); color: #111; }
.col-sort-option.is-selected { color: #e91e8c; font-weight: 500; }

/* Stagger each option in as the menu opens */
.col-sort-wrap.open .col-sort-option {
  animation: colSortItem 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.col-sort-wrap.open .col-sort-option:nth-child(1) { animation-delay: 0.04s; }
.col-sort-wrap.open .col-sort-option:nth-child(2) { animation-delay: 0.08s; }
.col-sort-wrap.open .col-sort-option:nth-child(3) { animation-delay: 0.12s; }
.col-sort-wrap.open .col-sort-option:nth-child(4) { animation-delay: 0.16s; }
@keyframes colSortItem {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.col-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.col-pill {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #555;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.col-pill:hover { color: #111; }
.col-pill.active {
  color: #111;
  background: #fff;
  border-color: rgba(233, 30, 140, 0.4);
  box-shadow: 0 4px 12px rgba(233, 30, 140, 0.12);
}

/* ---- Product grid ---- */
.col-main {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
}
.col-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem 1.25rem;
}
.col-empty {
  text-align: center;
  color: #777;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4rem 0;
}

.col-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.col-from-left  { transform: translateX(-70px); }
.col-from-right { transform: translateX(70px); }
.col-card.col-in { opacity: 1; transform: translateX(0); }

.col-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}
.col-card:hover .col-card-media {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.16);
}
.col-card-img { width: 100%; height: 100%; object-fit: cover; }
.col-card-ph {
  color: #222;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.col-card-name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  text-align: center;
}
.col-card-price {
  font-size: 0.8rem;
  color: #e91e8c;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ---- Force light theme + correct z-index for cart/wishlist modals on collections page ---- */
.col-body .cart-modal,
.col-body .wishlist-modal {
  background: rgba(245, 238, 244, 0.80) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 400 !important;
}
.col-body .cart-panel {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid rgba(233, 30, 140, 0.15) !important;
}
.col-body .cart-panel h2,
.col-body .cart-panel strong,
.col-body .cart-panel span { color: #111 !important; }
.col-body .cart-item { border-color: rgba(233, 30, 140, 0.12) !important; }
.col-body .cart-summary { color: #111 !important; }
.col-body .close-cart { color: #111 !important; }
.col-body .cart-item button,
.col-body .cart-item .button { background: #f5f0f4 !important; color: #111 !important; border-color: rgba(0,0,0,0.1) !important; }

/* ---- Expanded card ---- */
.col-expand {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(250, 246, 249, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: colFade 0.3s ease both;
}
@keyframes colFade { from { opacity: 0; } to { opacity: 1; } }

.col-expand-inner {
  position: relative;
  width: min(1040px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.22);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas:
    "desc  stage"
    "meta  meta";
  gap: 1.5rem 2.5rem;
  align-items: center;
  animation: colPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes colPop {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.col-exp-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  color: #111;
  cursor: pointer;
}
.col-exp-desc { grid-area: desc; }
.col-exp-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #e91e8c;
}
.col-exp-cat {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
}
.col-exp-text {
  margin: 0;
  color: #555;
  line-height: 1.9;
  font-size: 0.98rem;
}
.col-exp-stage {
  grid-area: stage;
  aspect-ratio: 3 / 4;
  background: #f6f2f5;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-out;
}
.col-exp-img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-out; }
.col-exp-ph  { color: #333; font-size: 1.4rem; letter-spacing: 0.04em; }
.col-exp-meta {
  grid-area: meta;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.col-exp-headline { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.col-exp-name {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.02em;
}
.col-exp-price { font-size: 1.1rem; color: #e91e8c; font-weight: 500; }
.col-exp-buttons { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.col-exp-buttons .button { min-width: 150px; }
.col-exp-wish.active { background: rgba(233, 30, 140, 0.16); border-color: rgba(233, 30, 140, 0.4); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .col-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .col-nav { grid-template-columns: auto 1fr auto; padding: 1.2rem 1.4rem; }
  .col-logo-img { height: 60px; }
  .col-title { font-size: 1.1rem; letter-spacing: 0.2em; }
  .col-grid { grid-template-columns: repeat(3, 1fr); }
  .col-expand-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "stage" "desc" "meta";
    padding: 1.5rem;
  }
}
@media (max-width: 560px) {
  .col-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.8rem; }
  .col-filters-top { flex-direction: column; align-items: stretch; }
  .col-search { max-width: none; }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .mg-silk        { width: 200%; min-width: 0; }
  .mg-silk-silver { top: -2vh; }
  .mg-silk-pink   { bottom: -4vh; }
  .mg-logo-img    { height: 80px; max-width: 220px; }
  .mg-topbar      { padding-top: 1.2rem; }
  .mg-burger      { right: 1.2rem; top: 1.2rem; }
  .mg-title       { margin-bottom: 1.8rem; }
  .mg-greeting    { letter-spacing: 0.3em; margin-bottom: 2.5rem; }
  .mg-actions     { gap: 1.4rem; }
}

/* ============================================================
   AUTH PAGES (Sign In / Sign Up flip card)
   ============================================================ */
.auth2-body {
  margin: 0;
  min-height: 100vh;
  background: #fbfafb;
  font-family: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  color: #111;
  overflow-x: hidden;
}

/* Silk background */
.auth2-silk {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.auth2-silk-img {
  position: absolute;
  left: 50%;
  width: 150%;
  min-width: 1200px;
  height: auto;
  transform: translateX(-50%);
  mix-blend-mode: multiply;
}
.auth2-silk-silver { top: 4vh;  opacity: 0.5; }
.auth2-silk-pink   { top: 52vh; opacity: 0.6; }

/* Top bar */
.auth2-top {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.4rem 2.5rem;
}
.auth2-logo { justify-self: start; display: inline-flex; }
.auth2-logo-img {
  height: 84px; width: auto; max-width: 240px;
  object-fit: contain; display: block;
  view-transition-name: site-logo;
}
.auth2-welcome {
  justify-self: center;
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.04em;
  color: #111;
}
.auth2-burger {
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.auth2-burger span { display: block; width: 26px; height: 2px; background: #111; border-radius: 2px; }

/* Stage + card (3D flip) */
.auth2-stage {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: start center;
  padding: 1.5rem 1.5rem 5rem;
  perspective: 2200px;
}
.auth2-card {
  position: relative;
  width: min(1080px, 100%);
  min-height: 600px;
}
.auth2-flip {
  position: relative;
  width: 100%;
  min-height: 600px;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.4, 0.1, 0.2, 1);
}
.auth2-card.flipped .auth2-flip { transform: rotateY(180deg); }

.auth2-face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(80, 40, 70, 0.12);
  padding: 3rem clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.auth2-face-back { transform: rotateY(180deg); }

/* Swap icon */
.auth2-swap {
  position: absolute;
  top: -22px;
  right: -18px;
  z-index: 6;
  width: 64px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
.auth2-swap:hover { color: #e91e8c; transform: rotate(180deg) scale(1.05); }

/* Quick social login */
.auth2-social { width: min(440px, 100%); margin: 1.3rem auto 0; display: grid; gap: 0.7rem; }
.auth2-or { display: flex; align-items: center; gap: 0.8rem; color: #999; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.2rem; }
.auth2-or::before, .auth2-or::after { content: ''; flex: 1; height: 1px; background: rgba(0,0,0,0.12); }
.auth2-soc {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  border: 1px solid rgba(0,0,0,0.12); background: #fff; color: #333; cursor: pointer;
  font: inherit; font-size: 0.9rem; border-radius: 12px; padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.auth2-soc:hover { border-color: rgba(0,0,0,0.25); box-shadow: 0 6px 16px rgba(0,0,0,0.08); transform: translateY(-1px); }
.auth2-soc-fb { background: #1877f2; color: #fff; border-color: #1877f2; }
.auth2-soc-fb:hover { background: #1568d8; }

/* Guest / preview link — bottom-left of the card */
.auth2-guest {
  position: absolute;
  left: 1.8rem;
  bottom: 1.4rem;
  z-index: 6;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.auth2-guest:hover { color: #e91e8c; border-color: #e91e8c; }
@media (max-width: 820px) {
  .auth2-guest { position: static; display: inline-block; margin-top: 1.5rem; }
}

/* Titles + note */
.auth2-title {
  margin: 0 0 0.6rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: #1a1a1a;
}
.auth2-switchnote {
  margin: 0 0 2.4rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #555;
}
.auth2-arrowhint { color: #e91e8c; font-style: normal; }

/* Forms */
.auth2-form {
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: center;
}
.auth2-form-wide { width: 100%; max-width: 860px; }
.auth2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2.5rem;
  width: 100%;
}
.auth2-col { display: flex; flex-direction: column; gap: 1.4rem; }
.auth2-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.auth2-field { width: 100%; }
.auth2-field input {
  width: 100%;
  border: none;
  background: rgba(231, 226, 222, 0.55);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  font-size: 0.95rem;
  color: #2a2a2a;
  text-align: center;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.04);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.auth2-field input::placeholder { color: #8a8079; letter-spacing: 0.02em; }
.auth2-field input:focus {
  outline: none;
  background: rgba(231, 226, 222, 0.85);
  box-shadow: inset 0 0 0 1.5px rgba(233, 30, 140, 0.3), 0 6px 18px rgba(233, 30, 140, 0.08);
}

/* Checkbox rows */
.auth2-check {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
}
.auth2-check input { position: absolute; opacity: 0; pointer-events: none; }
.auth2-checkbox {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}
.auth2-checkbox::after {
  content: '✔';
  font-size: 0.95rem;
  color: #bdb5b0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.auth2-check input:checked + .auth2-checkbox { background: #fff; }
.auth2-check input:checked + .auth2-checkbox::after { color: #e91e8c; transform: scale(1.1); }
.auth2-checklabel {
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.auth2-check-terms { margin-top: 0.4rem; }

/* Done button */
.auth2-done {
  margin-top: 1rem;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.8);
  color: #2a2a2a;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 14px;
  padding: 1.05rem 3.5rem;
  min-width: 240px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.auth2-done:hover {
  background: linear-gradient(135deg, #e91e8c, #ff9dce);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(233, 30, 140, 0.3);
}
.auth2-form .auth-message { width: min(440px, 100%); }

/* Responsive */
@media (max-width: 820px) {
  .auth2-top { grid-template-columns: auto 1fr auto; padding: 1.1rem 1.3rem; }
  .auth2-logo-img { height: 58px; }
  .auth2-cols { grid-template-columns: 1fr; }
  .auth2-card, .auth2-flip { min-height: 0; }
  .auth2-face { position: relative; }
  .auth2-face-back { display: none; }
  .auth2-card.flipped .auth2-face-front { display: none; }
  .auth2-card.flipped .auth2-face-back { display: flex; }
  .auth2-flip { transform: none !important; transform-style: flat; }
}

/* ============================================================
   CHECKOUT PAGE (3 steps)
   ============================================================ */
.ck-body {
  margin: 0;
  min-height: 100vh;
  background: #fbfafb;
  font-family: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  color: #222;
  overflow-x: hidden;
}
.ck-silk { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ck-silk-img {
  position: absolute; left: 50%; width: 150%; min-width: 1200px; height: auto;
  transform: translateX(-50%); mix-blend-mode: multiply;
}
.ck-silk-silver { top: 6vh;  opacity: 0.5; }
.ck-silk-pink   { top: 56vh; opacity: 0.62; }

/* Top bar */
.ck-top {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1.3rem 2.5rem;
}
.ck-logo { justify-self: start; display: inline-flex; }
.ck-logo-img { height: 84px; width: auto; max-width: 240px; object-fit: contain; display: block; view-transition-name: site-logo; }
.ck-heading {
  justify-self: center; margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.2rem); color: #111;
}
.ck-burger { justify-self: end; display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 6px; }
.ck-burger span { display: block; width: 26px; height: 2px; background: #111; border-radius: 2px; }

/* Layout: main + summary */
.ck-layout {
  position: relative; z-index: 4;
  max-width: 1320px; margin: 0 auto; padding: 0 2rem 5rem;
  display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start;
}
.ck-main { min-width: 0; max-width: 720px; }

/* Progress bar */
.ck-progress { display: flex; align-items: center; gap: 0; padding: 0.5rem 0 0; }
.ck-step-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%; color: #b8b0b5; background: transparent;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.ck-step-icon:hover {
  color: #e91e8c;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 6px 16px rgba(233,30,140,0.14);
}
.ck-step-icon.is-active {
  color: #2a2a2a; background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12); transform: scale(1.05);
}
.ck-step-icon.is-done { color: #e91e8c; }
.ck-progress-line {
  flex: 1; height: 0; border-top: 2.5px dashed #cfc6cd;
  transition: border-color 0.4s ease;
}
.ck-progress-line.is-filled { border-top-color: #e91e8c; }
.ck-progress-rule { height: 1px; background: rgba(0,0,0,0.12); margin: 1rem 0 2.5rem; }

/* Panels */
.ck-panel { display: none; animation: ckPanelIn 0.5s cubic-bezier(0.16,1,0.3,1) both; }
.ck-panel.is-active { display: block; }
@keyframes ckPanelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Forms */
.ck-form { display: flex; flex-direction: column; gap: 1.6rem; }
.ck-field {
  position: relative; display: flex; align-items: center; gap: 0.9rem;
  background: rgba(255,255,255,0.82); border-radius: 12px;
  padding: 0 1.1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  border-bottom: 2px solid rgba(0,0,0,0.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ck-field:focus-within { border-bottom-color: #e91e8c; box-shadow: 0 8px 22px rgba(233,30,140,0.12); }
.ck-field > svg { color: #444; flex-shrink: 0; }
.ck-field input,
.ck-field textarea {
  flex: 1; border: none; background: transparent; outline: none;
  font: inherit; color: #2a2a2a; padding: 1.05rem 0; resize: none;
}
.ck-field input::placeholder,
.ck-field textarea::placeholder { color: #8a8079; }
.ck-field-area { align-items: flex-start; }
.ck-field-area > svg { margin-top: 1.1rem; }
.ck-field-area textarea { min-height: 4.5rem; }

/* Next / Finish button */
.ck-next {
  display: block; margin: 2rem auto 0; min-width: 240px;
  border: none; cursor: pointer;
  background: rgba(255,255,255,0.85); color: #2a2a2a;
  font: inherit; font-size: 1rem; letter-spacing: 0.06em;
  border-radius: 14px; padding: 1.05rem 3rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.ck-next:hover {
  background: linear-gradient(135deg, #e91e8c, #ff9dce); color: #fff;
  transform: translateY(-2px); box-shadow: 0 14px 32px rgba(233,30,140,0.3);
}
.ck-next:disabled { opacity: 0.6; cursor: default; transform: none; }

/* Step 2 — tabs + grid */
.ck-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.ck-tab {
  border: none; cursor: pointer; font: inherit; font-size: 0.9rem;
  background: rgba(255,255,255,0.8); color: #444;
  border-radius: 10px; padding: 0.85rem 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  transition: color 0.2s ease, box-shadow 0.2s ease;
}
.ck-tab.is-active { color: #e91e8c; box-shadow: inset 0 -2px 0 #e91e8c, 0 6px 16px rgba(233,30,140,0.12); }
.ck-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.ck-field-copy { padding-right: 0.4rem; }
.ck-copy {
  border: none; background: transparent; cursor: pointer; color: #555;
  padding: 0.5rem; border-radius: 8px; display: grid; place-items: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.ck-copy:hover { color: #e91e8c; background: rgba(233,30,140,0.08); }
.ck-copy.is-copied { color: #16a34a; }
.ck-import {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.82); border-radius: 12px;
  padding: 1.05rem 1rem; cursor: pointer; color: #2a2a2a;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  border-bottom: 2px solid rgba(0,0,0,0.18);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.ck-import:hover { border-bottom-color: #e91e8c; color: #e91e8c; }
.ck-shot-preview {
  min-height: 360px; border-radius: 16px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px rgba(80,40,70,0.10);
  display: grid; place-items: center; overflow: hidden;
}
.ck-shot-placeholder { color: #666; font-size: 1.05rem; }
.ck-shot-preview img { width: 100%; height: 100%; object-fit: contain; }

/* Step 3 — delivery */
.ck-panel-delivery { min-height: 420px; display: none; }
.ck-panel-delivery.is-active { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ck-deliver-stage { display: grid; place-items: center; gap: 1.5rem; min-height: 280px; }
.ck-deliver-msg {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 1.3rem; color: #555; margin: 0;
}
.ck-tele-status { color: #888; font-size: 0.85rem; text-align: center; }
.ck-finish-note { text-align: center; color: #777; font-size: 0.9rem; margin: 0 0 0.9rem; letter-spacing: 0.02em; }
.ck-finish-note strong { color: #e91e8c; font-weight: 600; }

/* ---- Receipt folds into box, box seals & zooms away ---- */
.ck-anim { position: relative; width: 240px; height: 200px; perspective: 800px; }

/* vertical motion lines (trail below as the box launches up) */
.ck-anim::before, .ck-anim::after {
  content: ''; position: absolute; bottom: 6px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, rgba(233,30,140,0), rgba(233,30,140,0.55));
  opacity: 0; pointer-events: none;
}
.ck-anim::before { left: 44%; height: 60px; }
.ck-anim::after  { left: 56%; height: 44px; }
.ck-anim.ck-play::before { animation: ckSpeed 0.5s ease-out 3.0s 2; }
.ck-anim.ck-play::after  { animation: ckSpeed 0.5s ease-out 3.15s 2; }

.ck-receipt {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 84px; height: 112px; background: #fff;
  border-radius: 4px; box-shadow: 0 10px 24px rgba(0,0,0,0.16);
  display: flex; flex-direction: column; gap: 9px; padding: 16px 13px;
  transform-origin: center 70%; z-index: 2;
}
.ck-receipt span { display: block; height: 4px; border-radius: 2px; background: #e7c4d8; }
.ck-receipt span:nth-child(2) { width: 80%; }
.ck-receipt span:nth-child(4) { width: 60%; }
.ck-receipt span:nth-child(5) { width: 70%; }

.ck-box {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: 124px; height: 84px; opacity: 0; transform-style: preserve-3d; z-index: 3;
}
.ck-box-front {
  position: absolute; inset: 0; background: linear-gradient(160deg, #f7d9ea, #e991c0);
  border-radius: 6px; box-shadow: 0 12px 26px rgba(233,30,140,0.25);
}
.ck-box-front::after {            /* tape seam */
  content: ''; position: absolute; left: 50%; top: 0; width: 14px; height: 100%;
  transform: translateX(-50%); background: rgba(255,255,255,0.35);
}
.ck-box-flap {
  position: absolute; top: 0; width: 62px; height: 34px;
  background: linear-gradient(160deg, #fbe7f2, #f2a8d2);
  transform-origin: bottom; border: 1px solid rgba(255,255,255,0.5); z-index: 4;
}
.ck-box-flap-left  { left: 0;  border-radius: 6px 0 0 0; transform: rotateX(20deg); }
.ck-box-flap-right { right: 0; border-radius: 0 6px 0 0; transform: rotateX(20deg); }

/* timeline ≈ 4.1s
   1) box pops up from bottom, flaps open
   2) receipt drops into the open box
   3) flaps close
   4) box shakes, then launches upward */
.ck-anim.ck-play .ck-box            { animation: ckBoxAppear 0.55s cubic-bezier(0.16,1,0.3,1) 0s both,
                                                  ckBoxShake 0.5s ease 2.5s,
                                                  ckBoxSendUp 1.1s cubic-bezier(0.5,0,0.7,0.25) 3.0s forwards; }
.ck-anim.ck-play .ck-receipt        { animation: ckReceiptDrop 1.25s cubic-bezier(0.5,0,0.4,1) 0.7s forwards; }
.ck-anim.ck-play .ck-box-flap-left  { animation: ckFlapClose 0.4s cubic-bezier(0.34,1.56,0.64,1) 2.0s forwards; }
.ck-anim.ck-play .ck-box-flap-right { animation: ckFlapClose 0.4s cubic-bezier(0.34,1.56,0.64,1) 2.2s forwards; }

/* Box pops up from below, overshoots, settles — flaps stay open */
@keyframes ckBoxAppear {
  0%   { opacity: 0; transform: translateX(-50%) translateY(110px) scale(0.8); }
  60%  { opacity: 1; transform: translateX(-50%) translateY(-8px)  scale(1.05); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0)     scale(1); }
}
/* Receipt: lift, tilt, shrink and drop down into the open box */
@keyframes ckReceiptDrop {
  0%   { transform: translateX(-50%) translateY(0)    rotate(0deg)  scale(1);    opacity: 1; }
  25%  { transform: translateX(-50%) translateY(-14px) rotate(-6deg) scale(1.04); opacity: 1; }
  60%  { transform: translateX(-50%) translateY(44px)  rotate(7deg)  scale(0.66); opacity: 1; }
  100% { transform: translateX(-50%) translateY(88px)  rotate(0deg)  scale(0.28); opacity: 0; }
}
/* Flaps fold from open (up/out) to closed (down over the top) */
@keyframes ckFlapClose { 0% { transform: rotateX(20deg); } 100% { transform: rotateX(-160deg); } }
@keyframes ckBoxShake {
  0%,100% { transform: translateX(-50%) rotate(0deg); }
  20% { transform: translateX(-53%) rotate(-3deg); }
  45% { transform: translateX(-47%) rotate(3deg); }
  70% { transform: translateX(-52%) rotate(-2deg); }
}
/* Box dips, then launches straight up and out */
@keyframes ckBoxSendUp {
  0%   { transform: translateX(-50%) translateY(0)      rotate(0deg)  scale(1);    opacity: 1; }
  16%  { transform: translateX(-50%) translateY(14px)   rotate(0deg)  scale(1.04); opacity: 1; }
  100% { transform: translateX(-50%) translateY(-480px) rotate(-5deg) scale(0.5);  opacity: 0; }
}
@keyframes ckSpeed {
  0%   { opacity: 0; transform: translateY(-40px); }
  40%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(70px); }
}

/* Order summary card */
.ck-summary {
  position: sticky; top: 1.5rem;
  background: rgba(255,255,255,0.92);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(80,40,70,0.14);
  padding: 1.8rem 1.8rem 1.4rem;
  min-height: 580px; display: flex; flex-direction: column;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ck-summary-rule { height: 1px; background: rgba(0,0,0,0.7); margin-bottom: 1.4rem; }
.ck-summary-head {
  display: flex; justify-content: space-between;
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.25rem; color: #111;
  padding-bottom: 1rem;
}
.ck-summary-items { flex: 1; border-left: 1px solid transparent; }
.ck-summary-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.35rem 0; color: #333; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.ck-summary-row span:last-child { color: #555; }
.ck-summary-foot { border-top: 1px solid rgba(0,0,0,0.7); padding-top: 1rem; margin-top: 1rem; }
.ck-summary-total {
  display: flex; justify-content: space-between; align-items: center;
}
.ck-summary-total span {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.2rem; color: #111;
}
.ck-summary-total strong { font-size: 1.05rem; color: #111; }

/* Responsive */
@media (max-width: 960px) {
  .ck-layout { grid-template-columns: 1fr; }
  .ck-summary { position: relative; top: 0; min-height: 0; order: -1; }
  .ck-main { max-width: none; }
}
@media (max-width: 640px) {
  .ck-top { grid-template-columns: auto 1fr auto; padding: 1.1rem 1.2rem; }
  .ck-logo-img { height: 56px; }
  .ck-pay-grid, .ck-tabs { grid-template-columns: 1fr; }
  .ck-step-icon { width: 52px; height: 52px; }
}

/* Step 3 idle truck */
.ck-deliver-truck { color: #d9a9c4; }

/* ============================================================
   FULL-SCREEN DELIVERY ANIMATION (step 3 — click NEXT?)
   ============================================================ */
.ck-body.ck-delivering .ck-layout { opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }

.ck-deliver-overlay { position: fixed; inset: 0; z-index: 350; display: none; overflow: hidden; }
.ck-deliver-overlay.show { display: block; }

/* Stage that finally slides the whole box off to the right */
.ck-do-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.ck-deliver-overlay.play .ck-do-stage { animation: ckDoSlide 0.75s cubic-bezier(0.55,0,0.7,0.25) 2.0s forwards; }

/* Box = 3 pink panels + receipt; rises up from the bottom */
.ck-do-box { position: relative; width: 540px; height: 440px; transform: translateY(120vh); }
.ck-deliver-overlay.play .ck-do-box { animation: ckDoRise 0.75s cubic-bezier(0.5,0,0.3,1) both; }

.ck-do-panel {
  position: absolute; top: 0; height: 100%; width: 184px;
  border-radius: 16px; box-shadow: 0 28px 60px rgba(233,30,140,0.28);
}
.ck-do-p1 { left: 0;     background: linear-gradient(160deg, #f380bb, #e8479d); }
.ck-do-p2 { left: 178px; background: linear-gradient(160deg, #fcc6e3, #f79ccd); }
.ck-do-p3 { right: 0;    background: linear-gradient(160deg, #f380bb, #e8479d); }
.ck-deliver-overlay.play .ck-do-p1 { animation: ckDoCloseL 0.5s ease-in-out 1.55s forwards; }
.ck-deliver-overlay.play .ck-do-p3 { animation: ckDoCloseR 0.5s ease-in-out 1.55s forwards; }

/* Order-summary card slides down from the top into the box centre */
.ck-do-receipt {
  position: absolute; left: 50%; top: 50%; z-index: 5;
  width: 300px; height: 380px; margin: -190px 0 0 -150px;
  background: #fff; border-radius: 6px; box-shadow: 0 24px 50px rgba(0,0,0,0.22);
  display: flex; flex-direction: column; padding: 26px 26px 22px;
  transform: translateY(-130vh);
}
.ck-do-rcpt-rule { height: 1px; background: rgba(0,0,0,0.7); margin-bottom: 1rem; }
.ck-do-rcpt-head {
  display: flex; justify-content: space-between;
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.15rem; color: #111;
  padding-bottom: 0.9rem;
}
.ck-do-rcpt-body { flex: 1; }
.ck-do-rcpt-row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: #333; padding: 0.3rem 0;
}
.ck-do-rcpt-row span:last-child { color: #666; }
.ck-do-rcpt-foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(0,0,0,0.7); padding-top: 0.9rem; margin-top: 0.9rem;
}
.ck-do-rcpt-foot span { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.1rem; color: #111; }
.ck-do-rcpt-foot strong { color: #111; }
.ck-deliver-overlay.play .ck-do-receipt {
  animation: ckDoDrop 0.9s cubic-bezier(0.5,0,0.3,1) 0.35s both,
             ckDoTuck 0.4s ease-in 1.5s forwards;
}

@keyframes ckDoRise { from { transform: translateY(120vh); } 70% { transform: translateY(-10px); } to { transform: translateY(0); } }
@keyframes ckDoDrop { from { transform: translateY(-130vh); } to { transform: translateY(0); } }
@keyframes ckDoTuck { from { transform: translateY(0) scale(1); opacity: 1; } to { transform: translateY(30px) scale(0.62); opacity: 0; } }
@keyframes ckDoCloseL { from { transform: translateX(0); } to { transform: translateX(178px); } }
@keyframes ckDoCloseR { from { transform: translateX(0); } to { transform: translateX(-178px); } }
@keyframes ckDoSlide {
  0%   { transform: translateX(0) rotate(0deg); opacity: 1; }
  14%  { transform: translateX(-4vw) rotate(-1deg); }
  100% { transform: translateX(135vw) rotate(7deg); opacity: 0; }
}

/* Thank You + continue link */
.ck-do-thanks {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.6rem;
  opacity: 0; pointer-events: none;
}
.ck-deliver-overlay.play .ck-do-thanks { animation: ckDoThanksIn 1s ease 2.6s forwards; pointer-events: auto; }
.ck-do-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500;
  font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: 0.02em; color: #111;
}
.ck-do-continue {
  opacity: 0;
  font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: #555; text-decoration: none; padding-bottom: 3px;
  border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease;
}
.ck-do-continue:hover { color: #e91e8c; border-color: #e91e8c; }
.ck-deliver-overlay.play .ck-do-continue { animation: ckDoFadeUp 0.8s ease 3.4s forwards; }

@keyframes ckDoThanksIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ckDoFadeUp  { from { opacity: 0; transform: translateY(8px); }  to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   MY ACCOUNT PAGE
   ============================================================ */
.acc-body {
  margin: 0; min-height: 100vh; background: #fbfafb;
  font-family: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif; color: #222;
  overflow-x: hidden;
}

/* Redesigned pages are light-only — keep the document background light even
   if dark theme is saved (prevents a dark strip below the content). */
html:has(.acc-body),
html:has(.col-body),
html:has(.ck-body),
html:has(.auth2-body) {
  background: #fbfafb;
}
.acc-silk { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.acc-silk-img {
  position: absolute; left: 50%; width: 150%; min-width: 1200px; height: auto;
  transform: translateX(-50%); mix-blend-mode: multiply;
}
.acc-silk-silver { top: 6vh;  opacity: 0.5; }
.acc-silk-pink   { top: 58vh; opacity: 0.6; }

/* Top bar */
.acc-top {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1.3rem 2.5rem;
}
.acc-logo { justify-self: start; display: inline-flex; }
.acc-logo-img { height: 84px; width: auto; max-width: 240px; object-fit: contain; display: block; view-transition-name: site-logo; }
.acc-heading {
  justify-self: center; margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem); color: #111;
}
.acc-burger { justify-self: end; display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 6px; }
.acc-burger span { display: block; width: 26px; height: 2px; background: #111; border-radius: 2px; }

/* Layout */
.acc-main { position: relative; z-index: 4; max-width: 1080px; margin: 1rem auto 5rem; padding: 0 2rem; }
.acc-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.acc-side { display: grid; gap: 2rem; }

/* Frosted cards */
.acc-card {
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 26px 70px rgba(80,40,70,0.12);
  padding: 2.2rem;
}
.acc-card-narrow { max-width: 460px; margin: 2rem auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }

.acc-eyebrow {
  margin: 0 0 1.4rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: #e91e8c;
}
.acc-card-title {
  margin: 0 0 0.5rem; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-weight: 500; font-size: 2.2rem; color: #111;
}
.acc-muted { color: #666; line-height: 1.7; margin: 0 0 1.4rem; }

/* Form */
.acc-form { display: flex; flex-direction: column; gap: 1.3rem; }
.acc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.acc-field { display: flex; flex-direction: column; gap: 0.45rem; }
.acc-field > span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #888; }
.acc-field input {
  border: none; background: rgba(231,226,222,0.5); border-radius: 10px;
  padding: 0.95rem 1.1rem; font: inherit; color: #2a2a2a;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.acc-field input:focus { outline: none; background: rgba(231,226,222,0.8); box-shadow: inset 0 0 0 1.5px rgba(233,30,140,0.3); }
.acc-field input[readonly] { color: #888; cursor: default; }

.acc-check { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; font-size: 0.9rem; color: #444; }
.acc-check input { position: absolute; opacity: 0; pointer-events: none; }
.acc-checkbox {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px; background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); display: grid; place-items: center; transition: background-color 0.2s ease;
}
.acc-checkbox::after { content: '✔'; font-size: 0.7rem; color: transparent; transition: color 0.2s ease; }
.acc-check input:checked + .acc-checkbox { background: #e91e8c; }
.acc-check input:checked + .acc-checkbox::after { color: #fff; }

/* Buttons */
.acc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 0.4rem; border: none; cursor: pointer; text-decoration: none;
  background: linear-gradient(135deg, #e91e8c, #ff9dce); color: #fff;
  font: inherit; font-size: 0.95rem; letter-spacing: 0.04em;
  border-radius: 12px; padding: 0.95rem 2rem;
  box-shadow: 0 10px 26px rgba(233,30,140,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.acc-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(233,30,140,0.36); }
.acc-btn-ghost {
  background: transparent; color: #333; border: 1px solid rgba(0,0,0,0.15);
  box-shadow: none; width: 100%; margin-top: 1.2rem;
}
.acc-btn-ghost:hover { border-color: #e91e8c; color: #e91e8c; transform: none; box-shadow: none; }
.acc-link { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: #666; text-decoration: none; margin-top: 0.4rem; }
.acc-link:hover { color: #e91e8c; }

.acc-msg { margin: 0; font-size: 0.9rem; text-align: center; }
.acc-msg.success { color: #16a34a; }
.acc-msg.error { color: #dc2626; }
.acc-msg.hidden { display: none; }

/* Account info */
.acc-card-info { display: flex; flex-direction: column; }
.acc-info-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; color: #555; font-size: 0.92rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
.acc-info-row strong { color: #111; }

/* Orders */
.acc-orders { display: grid; gap: 0.9rem; }
.acc-order { background: rgba(255,255,255,0.7); border: 1px solid rgba(233,30,140,0.1); border-radius: 12px; padding: 0.9rem 1.1rem; }
.acc-order-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.acc-order-top strong { color: #111; font-size: 0.9rem; }
.acc-copy-id {
  border: none; background: transparent; cursor: pointer; color: #aaa;
  font-size: 0.85rem; padding: 0 0.2rem; line-height: 1; vertical-align: middle;
  transition: color 0.2s ease;
}
.acc-copy-id:hover { color: #e91e8c; }
.acc-copy-id.copied { color: #16a34a; }
.acc-order-top span { color: #888; font-size: 0.8rem; }
.acc-order-meta { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; color: #666; font-size: 0.85rem; }
.acc-order-status { color: #e91e8c; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
.acc-order-status.pending  { color: #b08900; }
.acc-order-status.accepted { color: #16a34a; }
.acc-order-status.declined { color: #dc2626; }
.acc-order:has(.acc-order-status.accepted) { border-color: rgba(22,163,74,0.35); box-shadow: 0 0 0 1px rgba(22,163,74,0.12); }
.acc-empty { color: #666; }
.acc-empty a { color: #e91e8c; text-decoration: none; }

/* Ping toast (order accepted/declined) */
.acc-ping {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 130%);
  z-index: 600; max-width: 90vw;
  background: #fff; color: #111; border-radius: 14px;
  padding: 1rem 1.4rem; font-size: 0.95rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22); border: 1px solid rgba(233,30,140,0.18);
  opacity: 0; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
}
.acc-ping.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 860px) {
  .acc-top { grid-template-columns: auto 1fr auto; padding: 1.1rem 1.3rem; }
  .acc-logo-img { height: 58px; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-card { padding: 1.6rem; }
}

/* Account/Studio select fields */
.acc-field select {
  border: none; background: rgba(231,226,222,0.5); border-radius: 10px;
  padding: 0.95rem 1.1rem; font: inherit; color: #2a2a2a; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.acc-field select:focus { outline: none; box-shadow: inset 0 0 0 1.5px rgba(233,30,140,0.3); }

/* ===== Admin / Studio dashboard ===== */
.adm-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  margin-bottom: 1.6rem; flex-wrap: wrap;
}
.adm-stats { display: flex; gap: 1rem; }
.adm-stat {
  background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.7);
  border-radius: 14px; padding: 0.9rem 1.4rem; min-width: 120px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.adm-stat span { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #888; }
.adm-stat strong { font-size: 1.6rem; color: #111; }

.adm-form-actions { display: flex; gap: 0.8rem; align-items: center; }

/* Image import control */
.adm-upload {
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(231,226,222,0.5); border-radius: 10px;
  padding: 0.7rem 0.9rem; cursor: pointer; color: #555; font-size: 0.9rem;
  border: 1px dashed rgba(0,0,0,0.18);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.adm-upload:hover { border-color: #e91e8c; color: #e91e8c; }
.adm-thumb {
  width: 38px; height: 38px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Category quick-pick chips */
.adm-cats { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.55rem; }
.adm-chip {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(0,0,0,0.12); background: #fff; border-radius: 999px; overflow: hidden;
  transition: border-color 0.2s ease;
}
.adm-chip:hover { border-color: #e91e8c; }
.adm-chip-label {
  border: none; background: transparent; cursor: pointer;
  font: inherit; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #555;
  padding: 0.35rem 0.3rem 0.35rem 0.8rem; transition: color 0.2s ease;
}
.adm-chip:hover .adm-chip-label { color: #e91e8c; }
.adm-chip-x {
  border: none; background: transparent; cursor: pointer; color: #bbb;
  font-size: 0.95rem; line-height: 1; padding: 0.35rem 0.6rem 0.35rem 0.35rem;
  transition: color 0.2s ease;
}
.adm-chip-x:hover { color: #dc2626; }
.adm-chip.is-active { background: #e91e8c; border-color: #e91e8c; }
.adm-chip.is-active .adm-chip-label,
.adm-chip.is-active .adm-chip-x { color: #fff; }
.adm-chip-add {
  border: 1px dashed rgba(233,30,140,0.5); background: #fff; color: #e91e8c; cursor: pointer;
  font: inherit; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px; padding: 0.35rem 0.8rem;
}
.adm-chip-add:hover { background: rgba(233,30,140,0.08); }
.adm-chip-input {
  font: inherit; font-size: 0.72rem; width: 130px; outline: none;
  border: 1px solid rgba(233,30,140,0.45); border-radius: 999px; padding: 0.35rem 0.75rem;
}

/* Live product preview */
.adm-preview { margin-top: 1.8rem; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 1.4rem; }
.adm-preview-card {
  width: 210px; max-width: 100%;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.adm-preview-card .col-card-media {
  aspect-ratio: 3 / 4; background: #fff; border-radius: 6px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.adm-preview-card .col-card-img { width: 100%; height: 100%; object-fit: cover; }
.adm-preview-card .col-card-ph { color: #222; font-size: 1rem; }
.adm-preview-card .col-card-name {
  margin: 0; font-size: 0.82rem; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: #111; text-align: center;
}
.adm-preview-card .col-card-price { font-size: 0.8rem; color: #e91e8c; text-align: center; }
.adm-preview-desc {
  margin: 0; font-size: 0.78rem; color: #888; text-align: center; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.col-tagbadge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(233,30,140,0.92); color: #fff;
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 999px;
}

.adm-list { display: grid; gap: 0.8rem; max-height: 420px; overflow-y: auto; }
.adm-item {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.7); border: 1px solid rgba(233,30,140,0.1);
  border-radius: 12px; padding: 0.8rem 1rem;
}
.adm-item-info strong { display: block; color: #111; font-size: 0.92rem; }
.adm-item-info span { font-size: 0.78rem; color: #888; text-transform: uppercase; letter-spacing: 0.06em; }
.adm-item-actions { display: flex; align-items: center; gap: 0.5rem; }
.adm-price { font-weight: 600; color: #e91e8c; margin-right: 0.3rem; }
.adm-mini {
  border: 1px solid rgba(0,0,0,0.12); background: #fff; color: #333; cursor: pointer;
  font: inherit; font-size: 0.78rem; border-radius: 8px; padding: 0.4rem 0.8rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.adm-mini:hover { border-color: #e91e8c; color: #e91e8c; }
.adm-mini-danger:hover { border-color: #dc2626; color: #dc2626; }

.adm-order {
  background: rgba(255,255,255,0.7); border: 1px solid rgba(233,30,140,0.1);
  border-radius: 12px; padding: 0.9rem 1.1rem;
}
.adm-order-head { display: flex; justify-content: space-between; align-items: baseline; }
.adm-order-head strong { color: #111; font-size: 0.9rem; }
.adm-order-head span { color: #e91e8c; font-weight: 600; }
.adm-order-sub { color: #888; font-size: 0.8rem; margin: 0.2rem 0 0.6rem; }
.adm-order-grid {
  display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.8rem;
  font-size: 0.8rem; color: #555;
}
.adm-order-grid span:nth-child(odd) { color: #999; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; }

/* ============================================================
   MOBILE OPTIMIZATION — fix horizontal overflow & tighten layouts
   ============================================================ */
/* Prevent any element from forcing the page wider than the screen */
.col-nav, .acc-top, .ck-top, .auth2-top, .col-filters, .acc-main, .ck-layout { max-width: 100%; }
.col-nav > *, .acc-top > *, .ck-top > *, .auth2-top > * { min-width: 0; }
.acc-field input, .acc-field select, .ck-field input, .ck-field textarea, .auth2-field input { min-width: 0; }

@media (max-width: 560px) {
  /* Collections navbar — was overflowing on phones */
  .col-nav { padding: 0.9rem 1rem; gap: 0.4rem; }
  .col-logo-img { height: 44px; max-width: 110px; }
  .col-title { font-size: 0.85rem; letter-spacing: 0.08em; text-indent: 0.08em; white-space: nowrap; }
  .col-actions { gap: 0.6rem; }
  .col-iconbtn svg { width: 18px; height: 18px; }
  .col-filters { padding: 0 1rem; }

  /* Account — stack the first/last name inputs so the card fits */
  .acc-main { padding: 0 1rem; }
  .acc-row2 { grid-template-columns: 1fr; }
  .acc-card { padding: 1.4rem; }

  /* Top bars: shrink logo + heading so the row never overflows */
  .acc-logo-img, .ck-logo-img, .auth2-logo-img { height: 48px; max-width: 130px; }
  .acc-heading, .ck-heading { font-size: 1.3rem; }
  .acc-top, .ck-top, .auth2-top { padding: 1rem; }

  /* Checkout: tighten panels/cards */
  .ck-layout { padding: 0 1rem 4rem; }
  .ck-summary { padding: 1.3rem; }
  .ck-step-icon { width: 46px; height: 46px; }
}
