/* MicaCrypt Sunrise Design Layer: Fonts, Sharp Gothic Corners, Signature Buttons, Logo Glow & Product Actions */
:root {
  --font-body-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  --font-heading-family: 'Marcellus', Georgia, serif !important;
  --font-pre-heading-family: 'Marcellus', Georgia, serif !important;
  --border-radius: 0 !important;
}

body {
  font-family: var(--font-body-family);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  background-color: #0b0b0d;
  color: #cdcdd3;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .font-display, .page-title {
  font-family: var(--font-heading-family) !important;
}

/* Sharp gothic 0px corners across Sunrise elements (preserve explicit circular avatars) */
button, .btn, [class*="btn-"], input, select, textarea,
.rounded, .rounded-md, .rounded-lg, .rounded-xl,
cart-drawer-root, menu-drawer, .card, dialog {
  border-radius: 0 !important;
}
.r13-cat-circle, .r13-cat-circle img, .r13-header-badge {
  border-radius: 9999px !important;
}

/* Signature MICACRYPT header logo with crimson glow */
.logo_link {
  font-family: 'Marcellus', Georgia, serif !important;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(229, 9, 20, 0.75);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none !important;
  transition: text-shadow 0.2s ease, color 0.2s ease;
}
@media (min-width: 960px) {
  .logo_link {
    font-size: 28px;
    letter-spacing: 0.25em;
  }
}
.logo_link:hover {
  color: #ffffff !important;
  text-shadow: 0 0 22px rgba(146, 92, 246, 0.85), 0 0 12px rgba(229, 9, 20, 0.65);
}

/* MicaCrypt uppercase Poppins buttons */
button[type="submit"], #buy-button, .mc-btn,
a[class*="bg-button-"], button[class*="bg-button-"] {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a[class*="bg-button-"]:hover, button[class*="bg-button-"]:hover, #buy-button:hover {
  background-color: transparent !important;
  color: #e8e8ec !important;
  border-color: #925cf6 !important;
  box-shadow: 0 0 14px rgba(146, 92, 246, 0.35);
}

/* Header icon badges */
.r13-header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #e8e8ec;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.18s ease;
}
.r13-header-icon:hover {
  color: #925cf6;
}
.r13-header-badge {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #925cf6;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}
.r13-header-badge:empty,
.r13-header-badge[data-count="0"] {
  display: none;
}

/* Product card badges & 3.10.9 grid-1 bottom-center hover actions */
.r13-card-media {
  position: relative;
  background: #0b0b0d;
  overflow: hidden;
}
.r13-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}
.r13-card-badge--sale {
  background: #a3243b;
  color: #ffffff;
}
.r13-card-badge--sold {
  background: #121212;
  color: #9c9ca6;
  border: 1px solid #2a2a30;
}
.r13-card-actions {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.group:hover .r13-card-actions,
.r13-card-actions:focus-within {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .r13-card-actions {
    opacity: 1;
    transform: none;
  }
}
.r13-card-act {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111111 !important;
  border: 0 !important;
  border-radius: 3px !important;
  color: #ffffff !important;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.r13-card-act:hover,
.r13-card-act.is-active {
  color: #ffffff !important;
  background: #925cf6 !important;
}
.r13-card-act.is-active svg {
  fill: currentColor;
}

/* Quick View Modal */
.r13-qv-backdrop {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.r13-qv-modal {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0b0b0d;
  border: 1px solid #2a2a30;
  color: #cdcdd3;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .r13-qv-modal {
    grid-template-columns: 1fr 1fr;
  }
}
.r13-qv-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  background: #121216;
  border: 1px solid #2a2a30;
  color: #e8e8ec;
  font-size: 18px;
  cursor: pointer;
}
.r13-qv-close:hover {
  border-color: #925cf6;
  color: #925cf6;
}
.r13-qv-media {
  background: #121216;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 280px;
}
.r13-qv-media img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}
.r13-qv-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Scroll to top button */
#r13-stt {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 900;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  background: #a3243b;
  color: #ffffff;
  border: 1px solid #a3243b;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
#r13-stt.is-visible {
  display: inline-flex;
}
#r13-stt:hover {
  background: #925cf6;
  border-color: #925cf6;
  transform: translateY(-2px);
}

/* ==========================================================================
   Realm 13-inspired Header & Footer Polish
   ========================================================================== */
.site-header {
  border-bottom: 1px solid #26222c !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}
.header-item--desktop-nav nav a,
.header-item--desktop-nav nav summary {
  font-family: Marcellus, Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s ease;
}
.header-item--desktop-nav nav a:hover,
.header-item--desktop-nav nav summary:hover {
  color: #a3243b;
}

/* Inner Sanctum Newsletter Band in Footer */
.r13f-nl {
  width: 100%;
  border-top: 1px solid #a3243b;
  border-bottom: 1px solid #26222c;
  background: radial-gradient(ellipse at top, rgba(163, 36, 59, 0.12), transparent 68%), #0b0b0d;
  padding: 44px 20px 40px;
  margin-bottom: 36px;
}
.r13f-nl__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.r13f-nl__kicker {
  font-family: Marcellus, Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a3243b;
  margin: 0 0 8px;
}
.r13f-nl__heading {
  font-family: Marcellus, Georgia, serif;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4f4f5;
  margin: 0 0 10px;
}
.r13f-nl__sub {
  font-size: 13px;
  line-height: 1.6;
  color: #a1a1aa;
  margin: 0 0 22px;
}
.r13f-nl__field {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid #2e2e38;
  background: #121216;
}
.r13f-nl__input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  color: #f4f4f5;
  padding: 12px 14px;
  font-size: 13px;
  outline: none;
}
.r13f-nl__input::placeholder {
  color: #71717a;
}
.r13f-nl__btn {
  flex: 0 0 auto;
  padding: 12px 26px;
  background: #a3243b;
  color: #ffffff;
  border: 0;
  border-left: 1px solid #a3243b;
  font-family: Marcellus, Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.r13f-nl__btn:hover {
  background: #925cf6;
  border-left-color: #925cf6;
}
.r13f-nl__msg {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.r13f-nl__msg--ok {
  color: #10b981;
}
.r13f-nl__msg--err {
  color: #ef4444;
}

/* 3.10.9 Product Card (purple border + hover glow/underline, centered meta) */
.r13-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(27, 27, 34, 0.72), rgba(13, 13, 16, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.r13-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #925cf6, transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.r13-card:hover,
.r13-card:focus-within {
  border-color: rgba(146, 92, 246, 0.45);
  box-shadow: 0 16px 48px rgba(146, 92, 246, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}
.r13-card:hover::after,
.r13-card:focus-within::after {
  transform: scaleX(1);
}
.r13-card .r13-card-media {
  background: #0b0b0d;
  border: 0;
  overflow: hidden;
}
.r13-card-info {
  padding: 12px 6px 15px;
  background: transparent;
  text-align: center;
}
.r13-card-title {
  color: #e8e8ec;
  font-family: Marcellus, Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}
.r13-card:hover .r13-card-title,
.r13-card-title:hover {
  color: #a3243b;
}
.r13-card-price {
  color: #cdcdd3;
  font-size: 14px;
  font-weight: 400;
  justify-content: center;
}

/* 3.10.9 Filter Sidebar */
.r13-filter-sidebar {
  background: #0b0b0d;
  color: #e8e8ec;
}
.r13-filter-sidebar__head {
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a30;
}
.r13-filter-sidebar__title {
  font-family: Marcellus, Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e8e8ec;
}
.r13-filter-clear {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cdcdd3;
  background: #1c1c21;
  border: 1px solid #2a2a30;
  padding: 4px 10px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.r13-filter-clear:hover {
  border-color: #a3243b;
  color: #ffffff;
}
.r13-filter-groups > div,
.r13-filter-groups > accordion-item {
  padding-bottom: 16px;
  border-bottom: 1px solid #2a2a30;
}
.r13-filter-groups accordion-trigger,
.r13-filter-groups > div > span:first-child {
  font-family: Marcellus, Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8e8ec;
  cursor: pointer;
}
.r13-filter-groups label {
  font-size: 13px;
  color: #cdcdd3;
  cursor: pointer;
  transition: color 0.18s ease;
}
.r13-filter-groups label:hover {
  color: #a3243b;
}
.r13-filter-groups input[type="checkbox"] {
  background-color: #1c1c21;
  border: 1px solid #2a2a30;
  accent-color: #925cf6;
}
.r13-filter-groups input[type="number"],
.r13-filter-groups input[type="text"] {
  background: #121216;
  border: 1px solid #2a2a30;
  color: #e8e8ec;
}
.r13-filter-groups .noUi-connect {
  background: #925cf6 !important;
}
.r13-filter-groups .noUi-connects {
  background: #2a2a30 !important;
}

/* 3.10.9 Product Page Actions (Wishlist, Compare, Share) & Keyword Tags */
.r13-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.r13-pdp-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid #2e2e38;
  color: #cdcdd3;
  font-family: Marcellus, Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.r13-pdp-act:hover,
.r13-pdp-act.is-active,
.r13-share__btn[aria-expanded="true"] {
  color: #925cf6;
  border-color: rgba(146, 92, 246, 0.7);
  background: rgba(146, 92, 246, 0.06);
}
.r13-pdp-act.is-active svg {
  fill: currentColor;
}
.r13-share {
  position: relative;
  display: inline-flex;
}
.r13-share__pop {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 50;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  background: #0c0c12;
  border: 1px solid #2e2e38;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}
.r13-share__pop[hidden] {
  display: none;
}
.r13-share__pop a,
.r13-share__pop button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: transparent;
  border: 0;
  color: #cdcdd3 !important;
  font-family: Marcellus, Georgia, serif;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.r13-share__pop a:hover,
.r13-share__pop button:hover {
  color: #925cf6 !important;
  background: rgba(146, 92, 246, 0.08);
}
.r13-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #1f1f26;
}
.r13-tags__lbl {
  margin-right: 4px;
  color: #71717a;
  font-family: Marcellus, Georgia, serif;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.r13-tags__chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid #2e2e38;
  background: #0c0c12;
  color: #cdcdd3 !important;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.r13-tags__chip:hover {
  color: #925cf6 !important;
  border-color: rgba(146, 92, 246, 0.7);
}

/* 3.10.9 Variant Image Swatches (Product Page & Product Cards) */
.r13-swatch-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #2e2e38;
  background: #0b0b0d;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.r13-swatch-opt:hover {
  border-color: rgba(146, 92, 246, 0.7);
}
.r13-swatch-opt[selected],
.r13-swatch-opt.is-selected {
  border-color: #925cf6;
  box-shadow: 0 0 0 1px #925cf6, 0 0 12px rgba(146, 92, 246, 0.35);
}
.r13-swatch-opt[disabled],
.r13-swatch-opt.is-unavailable {
  opacity: 0.45;
  cursor: not-allowed;
}
.r13-swatch-opt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.r13-card-swatches {
  margin-top: 4px;
}
.r13-card-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #2e2e38;
  background: #0b0b0d;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.r13-card-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.r13-card-swatch:hover,
.r13-card-swatch.is-active {
  border-color: #925cf6;
  box-shadow: 0 0 0 1px #925cf6, 0 0 10px rgba(146, 92, 246, 0.35);
  transform: translateY(-1px);
}
