@charset "UTF-8";
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: clip;
}

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

body {
  font-family: "Source Sans 3", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--page);
  color: var(--t1);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

h1 {
  font-size: 1.75rem;
}

a[href]:not([aria-disabled=true]),
button:not(:disabled),
[role=button]:not([aria-disabled=true]),
[role=option]:not([aria-disabled=true]),
label:has(input[type=checkbox]:not(:disabled), input[type=radio]:not(:disabled)),
input[type=checkbox]:not(:disabled),
input[type=radio]:not(:disabled),
input[type=range]:not(:disabled),
input[type=submit]:not(:disabled),
select:not(:disabled),
summary {
  cursor: pointer;
}

:root {
  color-scheme: light dark;
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.06);
  --radius: 0.5rem;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dark-bg: #141210;
  --dark-panel: #1c1a17;
  --dark-elev: #242019;
  --dark-line: #2e2a24;
  --dark-ink: #e8e8e8;
  --dark-muted: #a8a29b;
  --dark-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

button {
  padding: 6px 10px;
  border: none;
  outline: none;
  color: #fff;
  cursor: pointer;
  border-radius: var(--r-ctl);
  font-weight: 550;
  font-size: 0.85rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  border-radius: var(--r-ctl);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 30%, transparent);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary:disabled {
  background: #9ca3af;
  color: #f3f4f6;
  cursor: not-allowed;
}
.btn-primary:disabled:hover {
  background: #9ca3af;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--surface);
  color: var(--t1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: var(--raised);
  border-color: #9ca3af;
}
.btn-secondary:active {
  transform: translateY(0);
}
.btn-secondary[hidden] {
  display: none;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #dc2626;
  color: white;
  border: none;
  border-radius: var(--r-ctl);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-danger:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}
.btn-danger:active {
  transform: translateY(0);
}

.floating-filter-btn {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  background: var(--accent);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 50%;
  padding: 1rem;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  transition: all 200ms ease;
}
.floating-filter-btn i {
  font-size: 1.25rem;
  color: var(--on-accent);
}
.floating-filter-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--accent) 40%, transparent);
  transform: translateY(-2px);
}
.floating-filter-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 30%, transparent);
}

@keyframes scroll-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes marquee-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 0.75rem;
  will-change: transform;
  animation: scroll-x 40s linear infinite;
}

.carousel {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.recently-viewed .section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.auto-chip {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e3a8a;
  background: #e0e7ff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-ctl);
}

.rail-scroll .carousel-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
}
.rail-scroll .carousel-cards::-webkit-scrollbar {
  display: none;
}
.rail-scroll .carousel-cards .product-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: var(--r-card);
  overflow: hidden;
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1rem 0.75rem;
  min-height: 230px;
  transition: all 0.3s ease;
}
.rail-scroll .carousel-cards .product-card img {
  width: 100%;
  height: 160px;
  border-radius: 0.75rem;
  object-fit: cover;
}
.rail-scroll .carousel-cards .product-card .product-image-placeholder {
  width: 100%;
  height: 160px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--raised);
  color: var(--t3);
  font-size: 2rem;
}
.rail-scroll .carousel-cards .product-card div {
  padding: 0 0.75rem;
}
.rail-scroll .carousel-cards .product-card div h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--t1);
}
.rail-scroll .carousel-cards .product-card div p {
  margin: 0.25rem 0 0;
  color: var(--t3);
  font-size: 0.85rem;
}
.rail-scroll .carousel-cards .product-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.rail-scroll .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.rail-scroll .carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.rail-scroll .carousel-dots .dot.active {
  background: var(--accent);
  transform: scale(1.2);
}
.rail-scroll .carousel-dots .dot:hover {
  background: rgba(0, 0, 0, 0.4);
}

.carousel-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.carousel-shell .carousel {
  overflow: hidden;
  scrollbar-width: none;
}
.carousel-shell .carousel::-webkit-scrollbar {
  display: none;
}

.carousel-nav {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-nav:hover {
  transform: scale(1.1);
}

.top-sellers .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.top-sellers .section-head .cta {
  text-decoration: none;
  color: white;
  background: #0f172a;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}
.top-sellers .carousel {
  animation: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, auto);
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  white-space: nowrap;
}
.top-sellers .carousel::-webkit-scrollbar {
  height: 6px;
}
.top-sellers .carousel::-webkit-scrollbar-track {
  background: transparent;
}
.top-sellers .carousel::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.top-sellers .slide {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--t1);
  font-weight: 600;
  min-width: 240px;
  width: auto;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  white-space: nowrap;
  line-height: 1.4;
}
.top-sellers .slide .slide-text-container {
  position: relative;
  width: 100%;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.top-sellers .slide .seller-scroll-wrapper {
  overflow: visible;
  white-space: nowrap;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-sellers .slide .seller-scroll-content {
  display: inline-flex;
  white-space: nowrap;
  flex-wrap: nowrap;
  justify-content: center;
}
.top-sellers .slide .seller-scroll-content.animate-marquee {
  animation: marquee-loop 8s linear infinite;
  white-space: nowrap;
}
.top-sellers .slide .scroll-gap {
  display: inline-block;
  width: 2rem;
}
.top-sellers .slide .slide-text {
  white-space: nowrap;
  text-align: center;
  font-weight: 600;
  color: var(--t1);
  margin: 0;
  display: inline-block;
  line-height: 1.4;
}

.carousel-loading {
  color: var(--t3);
  padding: 2rem 1rem;
}

.recently-added.product-carousel .carousel-container {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding: 0 2rem;
  margin-top: 1rem;
}
.recently-added.product-carousel .carousel-banner {
  flex-shrink: 0;
  width: 200px;
  background: #0f172a;
  border-radius: var(--r-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: white;
}
.recently-added.product-carousel .carousel-banner .banner-content h3 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.recently-added.product-carousel .carousel-banner .banner-content p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}
.recently-added.product-carousel .carousel-banner .banner-content .banner-btn {
  display: inline-block;
  background: var(--surface);
  color: var(--t1);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.recently-added.product-carousel .carousel-banner .banner-content .banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}
@media (max-width: 1023px) {
  .recently-added.product-carousel .carousel-banner {
    display: none;
  }
}
.recently-added.product-carousel .carousel-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 0 3rem;
}
.recently-added.product-carousel .carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 0.5rem 0;
}
.recently-added.product-carousel .carousel-track::-webkit-scrollbar {
  display: none;
}
.recently-added.product-carousel .carousel-track:active {
  cursor: grabbing;
}
.recently-added.product-carousel .carousel-track .product {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 320px;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: var(--r-card);
  overflow: hidden;
  display: grid;
  gap: 0.75rem;
  transition: all 0.3s ease;
  padding-bottom: 1rem;
}
.recently-added.product-carousel .carousel-track .product img {
  width: 100%;
  height: 200px;
  max-height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.recently-added.product-carousel .carousel-track .product .product-image-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--raised);
  color: var(--t3);
  font-size: 2.5rem;
}
.recently-added.product-carousel .carousel-track .product h3 {
  font-size: 1.05rem;
  margin: 0;
  padding: 0 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--t1);
}
.recently-added.product-carousel .carousel-track .product .meta {
  color: var(--t3);
  padding: 0 1rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}
.recently-added.product-carousel .carousel-track .product .btn {
  display: inline-block;
  margin: 0 1rem;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.recently-added.product-carousel .carousel-track .product .btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 30%, transparent);
}
.recently-added.product-carousel .carousel-track .product:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}
.recently-added.product-carousel .carousel-track .product:hover img {
  transform: scale(1.05);
}
.recently-added.product-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--t1);
}
.recently-added.product-carousel .carousel-btn svg {
  width: 24px;
  height: 24px;
}
.recently-added.product-carousel .carousel-btn.carousel-prev {
  left: 0.5rem;
}
.recently-added.product-carousel .carousel-btn.carousel-next {
  right: 0.5rem;
}
.recently-added.product-carousel .carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.recently-added.product-carousel .carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}
@media (max-width: 768px) {
  .recently-added.product-carousel .carousel-btn {
    width: 40px;
    height: 40px;
  }
  .recently-added.product-carousel .carousel-btn svg {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .recently-added.product-carousel .carousel-container {
    padding: 0 1rem;
  }
  .recently-added.product-carousel .carousel-viewport {
    padding: 0 2.5rem;
  }
  .recently-added.product-carousel .carousel-track .product {
    width: min(280px, 90vw);
    max-width: 280px;
  }
  .recently-added.product-carousel .carousel-track .product img {
    max-height: 160px;
    height: 160px;
  }
  .recently-added.product-carousel .carousel-track .product h3 {
    font-size: 0.95rem;
    padding: 0 0.85rem;
  }
  .recently-added.product-carousel .carousel-track .product .meta {
    font-size: 0.85rem;
    padding: 0 0.85rem;
  }
  .recently-added.product-carousel .carousel-track .product .btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    margin: 0 0.85rem;
  }
}
@media (max-width: 768px) {
  .recently-added.product-carousel .carousel-container {
    padding: 0 0.5rem;
  }
  .recently-added.product-carousel .carousel-viewport {
    padding: 0 2rem;
  }
  .recently-added.product-carousel .carousel-track .product {
    width: min(85vw, 260px);
    max-width: 260px;
    padding: 0.75rem 0.6rem 0.7rem;
    gap: 0.5rem;
  }
  .recently-added.product-carousel .carousel-track .product img {
    max-height: 120px;
    height: 120px;
    object-fit: cover;
  }
  .recently-added.product-carousel .carousel-track .product h3 {
    font-size: 0.9rem;
    padding: 0 0.6rem;
    line-height: 1.3;
  }
  .recently-added.product-carousel .carousel-track .product .meta {
    font-size: 0.8rem;
    padding: 0 0.6rem;
  }
  .recently-added.product-carousel .carousel-track .product .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    margin: 0 0.6rem;
  }
}
@media (max-width: 480px) {
  .recently-added.product-carousel .carousel-track .product {
    width: min(82vw, 240px);
    max-width: 240px;
    padding: 0.65rem 0.5rem 0.6rem;
    gap: 0.45rem;
  }
  .recently-added.product-carousel .carousel-track .product img {
    max-height: 100px;
    height: 100px;
  }
  .recently-added.product-carousel .carousel-track .product h3 {
    font-size: 0.85rem;
    padding: 0 0.5rem;
  }
  .recently-added.product-carousel .carousel-track .product .meta {
    font-size: 0.75rem;
    padding: 0 0.5rem;
  }
  .recently-added.product-carousel .carousel-track .product .btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
    margin: 0 0.5rem;
  }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 100;
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer .drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  width: min(88vw, 360px);
  height: 100%;
  background: var(--surface);
  padding: 1rem;
  overflow: auto;
}
.mobile-drawer .close {
  background: transparent;
  border: 0;
  font-size: 1.25rem;
  cursor: pointer;
  margin-bottom: 1rem;
}
.mobile-drawer .mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-drawer .mobile-nav ul li {
  margin-bottom: 0.5rem;
}
.mobile-drawer .mobile-nav ul li a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #0a0a0a;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 1rem;
}
.mobile-drawer .mobile-nav ul li a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #ff2d55;
}

.main-nav .has-dropdown {
  position: relative;
  z-index: 50;
  padding: 0.2rem 0;
}
.main-nav .has-dropdown:hover .dropdown, .main-nav .has-dropdown.dropdown-open .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.main-nav .has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 999;
  opacity: 0;
  transform: translateY(8px);
  transition: all 150ms ease-out;
  pointer-events: none;
  margin-top: 0.25rem;
}
.main-nav .has-dropdown .dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.main-nav .has-dropdown .dropdown ul li a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 150ms ease;
}
.main-nav .has-dropdown .dropdown ul li a:hover {
  background: var(--raised);
  color: var(--accent);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.filter-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}
.filter-overlay .filters {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  padding: 0;
  animation: slideIn 0.3s ease-out;
}
.filter-overlay .filters .filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 1.5rem;
  border-bottom: 2px solid var(--line-strong);
  background: linear-gradient(to bottom, #f9fafb, white);
}
.filter-overlay .filters .filter-header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.02em;
}
.filter-overlay .filters .filter-header .filter-close {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--t3);
  transition: all 0.2s ease;
}
.filter-overlay .filters .filter-header .filter-close i {
  font-size: 1.2rem;
}
.filter-overlay .filters .filter-header .filter-close:hover {
  background: var(--raised);
  color: var(--t1);
  transform: rotate(90deg);
}
.filter-overlay .filters > label {
  padding: 1.5rem 1.5rem 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--t1);
  display: block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.filter-overlay .filters .price-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0 1.5rem;
}
.filter-overlay .filters .price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.filter-overlay .filters .price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}
.filter-overlay .filters .price-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.filter-overlay .filters .price-display {
  text-align: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem 1.5rem;
  background: linear-gradient(to bottom, transparent, #f0f7ff);
  margin: 0 1.5rem;
  border-radius: 0.5rem;
}
.filter-overlay .filters .brands {
  border: 0;
  padding: 0 1.5rem;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.filter-overlay .filters .brands legend {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--t1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.filter-overlay .filters .brands label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.filter-overlay .filters .brands label input[type=checkbox] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.filter-overlay .filters .brands label:hover {
  background: #f0f7ff;
  border-color: var(--accent);
  transform: translateX(4px);
}
.filter-overlay .filters .brands label.checked {
  background: var(--accent-soft);
  border-color: var(--accent);
  font-weight: 600;
}
.filter-overlay .filters .brands .category-group {
  display: grid;
  gap: 0.5rem;
}
.filter-overlay .filters .brands .category-children {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--line-strong);
  margin-left: 0.5rem;
}
.filter-overlay .filters .brands .category-children label {
  font-size: 0.88rem;
  padding: 0.6rem 0.85rem;
}
.filter-overlay .filters .filter-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-top: 2px solid var(--line-strong);
  background: var(--raised);
}
.filter-overlay .filters .filter-actions .btn-apply,
.filter-overlay .filters .filter-actions .btn-reset {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--r-ctl);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.filter-overlay .filters .filter-actions .btn-apply {
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1rem;
}
.filter-overlay .filters .filter-actions .btn-apply:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 40%, transparent);
}
.filter-overlay .filters .filter-actions .btn-apply:active {
  transform: translateY(0);
}
.filter-overlay .filters .filter-actions .btn-reset {
  background: var(--surface);
  color: var(--t1);
  border: 2px solid var(--line-strong);
  font-size: 1rem;
}
.filter-overlay .filters .filter-actions .btn-reset:hover {
  background: var(--surface);
  border-color: #9ca3af;
  color: var(--t2);
}

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

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 1.25rem;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.stat-card .stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t3);
  margin-bottom: 0.5rem;
}
.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--t1);
}
.stat-card .stat-meta {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #9aa3b2;
}

.form-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: #f7f7f9;
}

.form-shell-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 2rem;
}

.form-section {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 2rem;
  margin-bottom: 2rem;
}
.form-section h2 {
  margin: 0 0 0.35rem;
  color: var(--t1);
}
.form-section > p {
  margin: 0 0 1.25rem;
  color: var(--t3);
  font-size: 0.9rem;
}

.form-section-danger {
  border-color: #fca5a5;
  background: #fef2f2;
}
.form-section-danger h2 {
  color: #b91c1c;
}
.form-section-danger > p {
  color: #b91c1c;
}

.form-shell-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.form-shell-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--t1);
}
.form-shell-header p {
  margin: 0;
  color: var(--t3);
  font-size: 0.9rem;
}

.form-shell-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--raised);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--t1);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--t3);
  font-size: 0.85rem;
}
.form-divider::before, .form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d1d5db;
}

.form-shell-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-shell-fields[hidden] {
  display: none;
}
.form-shell-fields .btn-primary,
.form-shell-fields .btn-secondary {
  width: 100%;
  margin-top: 0.5rem;
}

.form-message {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
}
.form-message.is-visible {
  display: block;
}
.form-message.form-message-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}
.form-message.form-message-success {
  background: var(--success-soft);
  border: 1px solid var(--success-line);
  color: var(--success);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field[hidden] {
  display: none;
}
.form-field label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--t1);
}
.form-field .form-field-required {
  color: #dc2626;
}
.form-field .form-field-optional {
  font-weight: 400;
  color: var(--t3);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem;
  border: 2px solid var(--line-strong);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--surface);
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field input:disabled,
.form-field select:disabled,
.form-field textarea:disabled {
  background: var(--raised);
  color: var(--t3);
  cursor: not-allowed;
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.form-field .form-field-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--t3);
}

.form-consent {
  margin: 0;
  font-size: 0.8rem;
  color: var(--t3);
}
.form-consent a {
  color: inherit;
  text-decoration: underline;
}

.form-field-checks {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.form-field-checks legend {
  padding: 0;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--t1);
}
.form-field-checks .form-field-check-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.form-field-checks label.form-field-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 400;
  font-size: 0.95rem;
}
.form-field-checks input[type=checkbox] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  padding: 0;
  border: 0;
  accent-color: var(--accent);
}
.form-field-checks input[type=checkbox]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.owner-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 2px solid var(--line-strong);
  border-radius: 0.5rem;
  max-height: 220px;
  overflow-y: auto;
  background: var(--surface);
}
.owner-search-results[hidden] {
  display: none;
}
.owner-search-results li {
  border-bottom: 1px solid #f3f4f6;
}
.owner-search-results li:last-child {
  border-bottom: none;
}
.owner-search-results .owner-search-empty {
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  color: var(--t3);
}
.owner-search-results button {
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.75rem;
  border: none;
  background: none;
  font-size: 0.85rem;
  cursor: pointer;
}
.owner-search-results button:hover {
  background: var(--raised);
}

.owner-search-selected {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--success-soft);
  border: 1px solid var(--success-line);
  font-size: 0.85rem;
  color: var(--success);
}
.owner-search-selected[hidden] {
  display: none;
}
.owner-search-selected button {
  margin-left: auto;
}

.form-field-row {
  display: flex;
  gap: 1rem;
}
.form-field-row .form-field {
  flex: 1;
}

.form-shell-fields p a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.form-shell-fields p a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-ctl);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge-active {
  background: var(--success-soft);
  color: var(--success);
}

.status-badge-draft {
  background: #fef3c7;
  color: #92400e;
}

.status-badge-archived {
  background: #e5e7eb;
  color: var(--t2);
}

.status-badge-sold {
  background: var(--accent-soft-strong);
  color: var(--accent);
}

.status-badge-removed {
  background: #e5e7eb;
  color: var(--t2);
}

.status-badge-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-badge-shipped {
  background: var(--accent-soft-strong);
  color: var(--accent);
}

.status-badge-delivered {
  background: var(--success-soft);
  color: var(--success);
}

.status-badge-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.list-shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.list-shell-header h1 {
  margin: 0;
}

.list-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 1.25rem;
}

.list-tab {
  background: transparent;
  border: none;
  padding: 0.6rem 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--t3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.list-tab:hover {
  color: var(--t1);
}
.list-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.list-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow-x: auto;
}

.list-table {
  width: 100%;
  border-collapse: collapse;
}
.list-table th,
.list-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  white-space: nowrap;
}
.list-table th {
  color: var(--t3);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-strong);
}
.list-table tbody tr {
  border-bottom: 1px solid var(--line-strong);
}
.list-table tbody tr:last-child {
  border-bottom: none;
}
.list-table tbody tr:hover {
  background: var(--raised);
}
.list-table input[type=checkbox] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.list-table .list-table-email {
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 12rem;
}

.list-table-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--t1);
}

.list-table-thumb {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: #e5e7eb;
  flex-shrink: 0;
  object-fit: cover;
}
.list-table-thumb.product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  font-size: 1.1rem;
}

.list-table-actions {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.commission-tier-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.commission-tier-cell select {
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.4rem;
  font-size: 0.8rem;
  background: var(--surface);
}

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

.wishlist-item {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
}
.wishlist-item .wishlist-item-thumb {
  width: 100%;
  height: 120px;
  background: #e5e7eb;
}
.wishlist-item h3 {
  margin: 0;
  padding: 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--t1);
}
.wishlist-item .wishlist-item-price {
  margin: 0;
  padding: 0 0.75rem;
  color: var(--t3);
  font-size: 0.85rem;
}
.wishlist-item .wishlist-item-remove {
  justify-self: start;
  margin: 0.25rem 0.75rem 0;
  background: none;
  border: none;
  padding: 0;
  color: var(--t3);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}
.wishlist-item .wishlist-item-remove:hover {
  color: #ef4444;
}

.product-gallery {
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}
@media (max-width: 767px) {
  .product-gallery {
    flex-direction: column-reverse;
  }
}
.product-gallery .product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}
.product-gallery .product-gallery-thumbs[hidden] {
  display: none;
}
@media (max-width: 767px) {
  .product-gallery .product-gallery-thumbs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }
}
.product-gallery .product-gallery-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: #f3f1ec;
  flex-shrink: 0;
  transition: border-color var(--hover-fast) var(--hover-ease), transform var(--hover-fast) var(--hover-ease);
}
@media (max-width: 767px) {
  .product-gallery .product-gallery-thumb {
    width: 60px;
    height: 60px;
  }
}
.product-gallery .product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-gallery .product-gallery-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.product-gallery .product-gallery-thumb.active {
  border-color: var(--accent);
}
.product-gallery .product-gallery-main {
  flex: 1;
  min-width: 0;
  aspect-ratio: 4/3;
  background: #f3f1ec;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.product-gallery .product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-gallery .product-gallery-main .product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--raised);
  color: var(--t3);
  font-size: 4rem;
}

.purchase-panel {
  position: sticky;
  top: 1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  align-self: start;
  min-width: 0;
}
@media (max-width: 767px) {
  .purchase-panel {
    position: static;
    padding: 1.25rem;
  }
}
.purchase-panel h1 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--t1);
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .purchase-panel h1 {
    font-size: 1.35rem;
  }
}

.purchase-panel-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 0.5rem;
}

.purchase-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.purchase-panel-meta span {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-ctl);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.purchase-panel-meta span:empty {
  display: none;
}

.purchase-panel-seller {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.purchase-panel-seller .purchase-panel-seller-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.purchase-panel-seller .purchase-panel-seller-label {
  font-size: 0.8rem;
  color: var(--t3);
}
.purchase-panel-seller .purchase-panel-seller-name {
  font-weight: 700;
  color: var(--t1);
}

.purchase-panel-quantity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.purchase-panel-quantity label {
  font-weight: 600;
  color: var(--t1);
}
.purchase-panel-quantity input {
  width: 72px;
  padding: 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  font: inherit;
  text-align: center;
  background: var(--surface);
  color: var(--t1);
  transition: border-color 0.2s ease;
}
.purchase-panel-quantity input:hover {
  border-color: #9ca3af;
}
.purchase-panel-quantity input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.purchase-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.purchase-panel-actions .btn-primary,
.purchase-panel-actions .btn-secondary {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
}
.purchase-panel-actions .btn-primary {
  background: var(--accent);
}
.purchase-panel-actions .btn-primary:hover {
  background: var(--accent-hover);
}
.purchase-panel-actions .btn-secondary {
  background: var(--surface);
  color: var(--accent);
  border: 2px solid var(--accent);
  font-weight: 700;
}
.purchase-panel-actions .btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.purchase-panel-shipping {
  border-top: 1px solid var(--line-strong);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--t2);
}
.purchase-panel-shipping strong {
  color: var(--t1);
}
.purchase-panel-shipping .purchase-panel-shipping-row {
  display: flex;
  gap: 0.6rem;
}
.purchase-panel-shipping .purchase-panel-shipping-row i {
  margin-top: 0.2rem;
  width: 1.1em;
  color: var(--accent);
  flex-shrink: 0;
}
.purchase-panel-shipping .purchase-panel-policy-link {
  align-self: flex-start;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.purchase-panel-shipping .purchase-panel-policy-link:hover {
  text-decoration: underline;
}

body.theme-dark .purchase-panel {
  box-shadow: var(--dark-shadow);
}
body.theme-dark .purchase-panel-meta span {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
}
body.theme-dark .purchase-panel-seller {
  border-top-color: var(--dark-line);
}
body.theme-dark .purchase-panel-seller .purchase-panel-seller-avatar {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
}
body.theme-dark .purchase-panel-seller .purchase-panel-seller-label {
  color: var(--dark-muted);
}
body.theme-dark .purchase-panel-actions .btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
body.theme-dark .purchase-panel-actions .btn-secondary:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
body.theme-dark .purchase-panel-shipping i,
body.theme-dark .purchase-panel-shipping .purchase-panel-policy-link {
  color: var(--accent);
}

.order-summary {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 1.5rem;
  align-self: start;
}
.order-summary h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--t1);
}

.order-summary-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-strong);
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.order-summary-item .order-summary-item-name {
  color: var(--t1);
}
.order-summary-item .order-summary-item-qty {
  color: var(--t3);
  font-weight: 400;
}
.order-summary-item .order-summary-item-price {
  color: var(--t3);
  flex-shrink: 0;
}

.order-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--t3);
}
.order-summary-row.order-summary-total {
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--line-strong);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--t1);
}

.order-summary .btn-primary {
  width: 100%;
}

.order-summary .form-message {
  margin-top: 0.75rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.cart-item-seller {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line-strong);
}
.cart-item-seller .cart-item-seller-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
  flex-shrink: 0;
}
.cart-item-seller .cart-item-seller-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--t1);
}
.cart-item-seller .cart-item-seller-meta {
  font-size: 0.8rem;
  color: var(--t3);
}

.cart-item-body {
  display: flex;
  gap: 1rem;
}

.cart-item-thumb {
  width: 96px;
  height: 96px;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
  background: #e5e7eb;
}
.cart-item-thumb.product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  font-size: 1.75rem;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--t1);
}

.cart-item-price {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--t1);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  overflow: hidden;
}
.cart-item-qty .cart-item-qty-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--surface);
  color: var(--t1);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cart-item-qty .cart-item-qty-btn:hover {
  background: var(--raised);
}
.cart-item-qty .cart-item-qty-value {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--t1);
}

.cart-item-action {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--t3);
  text-decoration: underline;
  cursor: pointer;
}
.cart-item-action:hover {
  color: var(--accent);
}
.cart-item-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-item-qty-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-item-error {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: #b91c1c;
  display: none;
}
.cart-item-error.is-visible {
  display: block;
}

.address-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.address-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.address-card:hover {
  border-color: #9ca3af;
}
.address-card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.address-card input[type=radio] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.address-card-lines {
  color: var(--t1);
  font-size: 0.9rem;
  line-height: 1.5;
}

.address-card-default-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-ctl);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent-soft-strong);
  color: var(--accent);
}

.address-empty-note {
  color: var(--t3);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.address-card-static {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.address-card-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.checkout-payment-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--success-soft);
  border: 1px solid var(--success-line);
  color: var(--success);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.checkout-payment-notice i {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

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

.photo-upload-add {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.photo-upload-add i {
  font-size: 1.5rem;
}
.photo-upload-add:hover {
  background: var(--accent-soft);
  border-color: var(--accent-hover);
}

.photo-upload-slot {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--raised);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--t3);
  padding: 0.5rem;
  text-align: center;
}
.photo-upload-slot i {
  font-size: 1.5rem;
  opacity: 0.6;
}
.photo-upload-slot span {
  font-size: 0.75rem;
  font-weight: 500;
}
.photo-upload-slot.photo-upload-slot-filled {
  position: relative;
  border-style: solid;
  padding: 0;
  overflow: hidden;
}
.photo-upload-slot.photo-upload-slot-filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-upload-slot.photo-upload-slot-staged {
  border-color: var(--accent);
}

.photo-remove-btn {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: white;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.photo-remove-btn:hover {
  background: #dc2626;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.toggle-list[hidden],
.toggle-row[hidden] {
  display: none;
}

.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.toggle-row input[type=checkbox] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.toggle-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--t1);
  cursor: pointer;
}
.toggle-row label a {
  color: var(--accent);
  text-decoration: none;
}
.toggle-row label a:hover {
  text-decoration: underline;
}
.toggle-row p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--t3);
}

.site-announcement-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  padding: 1.1rem 3.5rem;
  text-align: center;
}
.site-announcement-banner[hidden] {
  display: none;
}
.site-announcement-banner .site-announcement-track {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}
.site-announcement-banner .site-announcement-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--on-accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: none;
  max-width: 100%;
}
.site-announcement-banner .site-announcement-link[hidden] {
  display: none;
}
.site-announcement-banner .site-announcement-link:hover {
  text-decoration: underline;
}
.site-announcement-banner .site-announcement-link img {
  max-height: 2.5rem;
  max-width: 100%;
  display: block;
}
.site-announcement-banner .site-announcement-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--on-accent);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.site-announcement-banner .site-announcement-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
}
.site-announcement-banner .site-announcement-arrow:focus-visible {
  outline: 2px solid var(--on-accent);
  outline-offset: 2px;
}
.site-announcement-banner .site-announcement-arrow-prev {
  left: 1rem;
}
.site-announcement-banner .site-announcement-arrow-next {
  right: 1rem;
}

.mode-toggle.pill-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 9999px;
  border: 2px solid var(--line-strong);
  background: #e5e7eb;
  padding: 2px;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease, all 0.2s ease;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.mode-toggle.pill-toggle:hover {
  border-color: var(--accent);
}
.mode-toggle.pill-toggle .toggle-knob {
  position: absolute;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.mode-toggle.pill-toggle .toggle-knob .toggle-icon {
  width: 0.85rem;
  height: 0.85rem;
}
.mode-toggle.pill-toggle .toggle-knob .sun-icon {
  display: block;
  color: #f59e0b;
}
.mode-toggle.pill-toggle .toggle-knob .moon-icon {
  display: none;
}
.mode-toggle.pill-toggle[aria-pressed=true] {
  background: var(--accent-hover);
  border-color: var(--accent);
}
.mode-toggle.pill-toggle[aria-pressed=true] .toggle-knob {
  transform: translateX(24px);
}
.mode-toggle.pill-toggle[aria-pressed=true] .toggle-knob .sun-icon {
  display: none;
}
.mode-toggle.pill-toggle[aria-pressed=true] .toggle-knob .moon-icon {
  display: block;
  color: white;
}
.mode-toggle.pill-toggle[aria-pressed=false] .toggle-knob {
  transform: translateX(0);
}

.custom-select {
  position: relative;
  display: inline-block;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 170px;
  border: 1px solid #cbd5f5;
  border-radius: var(--r-ctl);
  padding: 0.45rem 0.75rem;
  background: var(--surface);
  color: var(--t1);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.custom-select-trigger:hover {
  border-color: var(--accent);
}
.custom-select-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.custom-select-caret {
  font-size: 0.7rem;
  color: var(--t3);
  transition: transform 150ms ease;
}

.custom-select.is-open .custom-select-caret {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.custom-select-option {
  padding: 0.45rem 0.6rem;
  border-radius: 0.35rem;
  font-size: 0.95rem;
  color: var(--t1);
  cursor: pointer;
}
.custom-select-option:hover, .custom-select-option.is-highlighted {
  background: var(--accent-soft);
  color: var(--accent);
}
.custom-select-option[aria-selected=true] {
  font-weight: 600;
  color: var(--accent);
}

body.theme-dark .masthead {
  background: #0d0c0b;
  color: #e8e8e8;
  border-color: #2e2a24;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

body.theme-dark .masthead .bar .logo {
  color: #fff;
}

body.theme-dark :is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle {
  background: #374151;
  border-color: #4b5563;
}

body.theme-dark :is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle:hover {
  border-color: var(--accent);
}

body.theme-dark :is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle .toggle-knob {
  background: #1f2937;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

body.theme-dark :is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle .toggle-knob .sun-icon {
  color: #fbbf24;
}

body.theme-dark :is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle[aria-pressed=true] {
  background: var(--accent-hover);
  border-color: var(--accent);
}

.masthead {
  position: relative;
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
  z-index: 100;
}

.masthead .bar {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.masthead .bar .logo {
  font-family: var(--font-display);
  text-decoration: none;
  color: var(--t1);
  font-weight: 700;
}

.masthead .bar .hamburger {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 0.35rem;
  padding: 0.35rem 0.5rem;
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 9999px;
  border: 2px solid var(--line-strong);
  background: #e5e7eb;
  padding: 2px;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease, all 0.2s ease;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle:hover {
  border-color: var(--accent);
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle .toggle-knob {
  position: absolute;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle .toggle-knob .toggle-icon {
  width: 0.85rem;
  height: 0.85rem;
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle .toggle-knob .sun-icon {
  display: block;
  color: #f59e0b;
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle .toggle-knob .moon-icon {
  display: none;
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle .toggle-text {
  display: none;
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle[aria-pressed=true] {
  background: var(--accent-hover);
  border-color: var(--accent);
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle[aria-pressed=true] .toggle-knob {
  transform: translateX(24px);
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle[aria-pressed=true] .toggle-knob .sun-icon {
  display: none;
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle[aria-pressed=true] .toggle-knob .moon-icon {
  display: block;
  color: white;
}

:is(.masthead .bar, .offcanvas .panel) .mode-toggle.pill-toggle[aria-pressed=false] .toggle-knob {
  transform: translateX(0);
}

.masthead .bar .right {
  display: flex;
  gap: 0.5rem;
}

.offcanvas {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.4);
  z-index: 3000;
  display: none;
}

.offcanvas.open {
  display: block;
}

.offcanvas .panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--surface);
  padding: 1.25rem;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.offcanvas .panel .close {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 0.35rem;
  padding: 0.25rem 0.6rem;
  float: right;
  cursor: pointer;
}

.offcanvas .panel .logo {
  font-family: var(--font-display);
  text-decoration: none;
  color: var(--t1);
  font-weight: 700;
  clear: both;
}

.offcanvas .panel .offcanvas-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.offcanvas .offcanvas-label {
  margin: 0 0 0.5rem;
  color: var(--t3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offcanvas .mobile-nav ul {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.offcanvas .mobile-nav ul li a {
  display: block;
  padding: 0.65rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 0.35rem;
  color: var(--t1);
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

.offcanvas .mobile-nav ul li a:hover,
.offcanvas .mobile-nav ul li a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent);
}

.offcanvas .mobile-nav ul li a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.offcanvas-links {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.offcanvas-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 0.35rem;
  color: var(--t1);
  text-decoration: none;
  font-weight: 600;
  transition: background 150ms ease, color 150ms ease;
}

.offcanvas-links a i {
  width: 1.1em;
  color: var(--t3);
  transition: color 150ms ease;
}

.offcanvas-links a:hover,
.offcanvas-links a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent);
}

.offcanvas-links a:hover i,
.offcanvas-links a:focus-visible i {
  color: var(--accent);
}

.offcanvas-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

body.theme-dark .offcanvas .panel {
  background: #000;
  color: #fff;
}

body.theme-dark .offcanvas .panel .logo,
body.theme-dark .offcanvas .mobile-nav ul li a,
body.theme-dark .offcanvas-links a {
  color: #fff;
}

body.theme-dark .offcanvas .offcanvas-label {
  color: #6b7280;
}

body.theme-dark .offcanvas-links {
  border-top-color: #333;
}

body.theme-dark .offcanvas .mobile-nav ul li a:hover,
body.theme-dark .offcanvas .mobile-nav ul li a:focus-visible,
body.theme-dark .offcanvas-links a:hover,
body.theme-dark .offcanvas-links a:focus-visible {
  background: #111;
  color: var(--accent);
}

body.theme-dark .offcanvas-links a:hover i,
body.theme-dark .offcanvas-links a:focus-visible i {
  color: var(--accent);
}

body.theme-dark .offcanvas .panel .close {
  background: #111;
  border-color: #333;
  color: #fff;
}

.masthead .bar .logo,
.offcanvas .panel .logo {
  transition: color 0.2s ease;
}

.masthead .bar .logo:hover,
.offcanvas .panel .logo:hover,
body.theme-dark .masthead .bar .logo:hover,
body.theme-dark .offcanvas .panel .logo:hover {
  color: var(--accent);
}

.masthead .bar .hamburger,
.offcanvas .panel .close {
  transition: all 0.2s ease;
}

.masthead .bar .hamburger:hover,
.offcanvas .panel .close:hover,
body.theme-dark .offcanvas .panel .close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.carousel-hero .overlay .search.wide button {
  transition: all 0.2s ease;
}

.carousel-hero .overlay .search.wide button:hover {
  background: var(--accent);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 30%, transparent);
}

.masthead .bar .hamburger,
.offcanvas .panel .close {
  color: var(--t1);
  font-size: 1rem;
  line-height: 1.2;
}

body.theme-dark .masthead .bar .hamburger {
  background: #242019;
  border-color: #2e2a24;
  color: #e8e8e8;
}

.offcanvas .panel,
.offcanvas .panel:hover {
  transform: none;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.masthead .bar .right {
  align-items: center;
}

.masthead .bar .masthead-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--t1);
  text-decoration: none;
  transition: all 0.2s ease;
}
.masthead .bar .masthead-icon:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

body.theme-dark .masthead .bar .masthead-icon {
  color: #e8e8e8;
}
body.theme-dark .masthead .bar .masthead-icon:hover {
  background: #242019;
  color: var(--accent);
}

.product {
  position: relative;
}
.product .card-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--hover-fast) var(--hover-ease);
}
.product .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.product .card-link:focus-visible {
  outline: none;
}
.product:hover .card-link {
  color: var(--accent);
}
.product:has(.card-link:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--hover-slow) var(--hover-ease);
}
.product:hover::before {
  opacity: 1;
}
.product::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 6px;
}
.product .product-media {
  overflow: hidden;
  border-radius: 8px;
}
.product .product-media img {
  transition: transform var(--hover-slow) var(--hover-ease);
  will-change: transform;
}
.product:hover .product-media img {
  transform: scale(1.04);
}

.product-grid.similar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
@media (min-width: 1367px) {
  .product-grid.similar {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}
@media (max-width: 1023px) {
  .product-grid.similar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  .product-grid.similar {
    gap: 16px;
  }
}
.product-grid.similar .product {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform var(--hover-slow) var(--hover-ease), border-color var(--hover-fast) var(--hover-ease);
}
@media (max-width: 479px) {
  .product-grid.similar .product {
    padding: 12px;
  }
}
.product-grid.similar .product:hover {
  transform: translateY(-5px);
}
.product-grid.similar .product .product-media {
  margin-bottom: 12px;
}
.product-grid.similar .product img,
.product-grid.similar .product .product-image-placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  flex-shrink: 0;
}
.product-grid.similar .product .product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--raised);
  color: var(--t3);
  font-size: 2rem;
}
.product-grid.similar .product h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--t1);
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .product-grid.similar .product h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 639px) {
  .product-grid.similar .product h3 {
    font-size: 0.92rem;
    margin-bottom: 4px;
  }
}
.product-grid.similar .product .meta {
  color: var(--t3);
  font-size: 0.9rem;
  margin: 0 0 16px;
}
.product-grid.similar .product .btn {
  margin-top: auto;
  display: block;
  text-align: center;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color var(--hover-fast) var(--hover-ease), transform var(--hover-fast) var(--hover-ease), box-shadow var(--hover-fast) var(--hover-ease);
}
.product-grid.similar .product:hover .btn {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* Quick-add button (js/shop-card.js): a white circle with a bag icon on the
   photo's top-right corner. .product-media wraps the photo so the corner
   doesn't depend on the card's padding; z-index 2 lifts the button above
   the stretched .card-link::after, so it gets its own click. Same rules in
   sass/Components/_product-card.scss for the other pages. */
.product .product-media {
  position: relative;
  flex-shrink: 0;
}

.product .quick-add {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--t1);
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.product .quick-add:hover,
.product .quick-add:focus-visible,
.product .quick-add.is-added {
  background: var(--accent);
  color: var(--on-accent);
}

.product .quick-add:hover,
.product .quick-add:focus-visible {
  transform: scale(1.08);
}

.product .quick-add:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product .quick-add.is-busy {
  cursor: progress;
  opacity: 0.75;
}

@media (max-width: 639px) {
  .product .quick-add {
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product .quick-add,
  .product::before,
  .product .product-media img,
  .product-grid.similar .product,
  .product-grid.similar .product .btn {
    transition: none;
  }
  .product .quick-add:hover,
  .product .quick-add:focus-visible,
  .product:hover .product-media img {
    transform: none;
  }
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

.browse-by-category h2 {
  margin-bottom: 0.75rem;
}
.browse-by-category .category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  padding-top: 4px;
  overflow-y: visible;
}
.browse-by-category .category-grid .cat {
  display: grid;
  grid-template-rows: minmax(2.8em, auto) 1fr;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  min-height: 140px;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: var(--r-card);
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  padding: 1rem;
  gap: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  box-sizing: border-box;
}
.browse-by-category .category-grid .cat img {
  grid-row: 2;
  grid-column: 1;
  object-fit: contain;
  transition: transform 0.3s ease;
  align-self: center;
  justify-self: center;
}
.browse-by-category .category-grid .cat:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 15%, transparent);
  transform: translateY(-3px);
}
.browse-by-category .category-grid .cat:hover img {
  transform: scale(1.1);
}
@media (max-width: 430px) {
  .browse-by-category .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .browse-by-category .category-grid .cat {
    grid-template-rows: minmax(2.38em, auto) 1fr;
    min-height: 100px;
    padding: 0.6rem 0.5rem;
    gap: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .browse-by-category .category-grid .cat img {
    max-height: 50px;
    width: auto;
    max-width: 100%;
  }
}
@media (min-width: 1024px) {
  .browse-by-category .category-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.75rem;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    padding-top: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .browse-by-category .category-grid::-webkit-scrollbar {
    display: none;
  }
  .browse-by-category .category-grid .cat {
    flex: 0 0 auto;
    width: clamp(140px, 11vw, 220px);
    height: clamp(180px, 16vw, 280px);
    min-height: clamp(180px, 16vw, 280px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    gap: 0.75rem;
    font-size: clamp(14px, 1.2vw, 18px);
    text-align: center;
    box-sizing: border-box;
  }
  .browse-by-category .category-grid .cat img {
    max-width: 100%;
    height: auto;
    max-height: clamp(90px, 9vw, 160px);
    object-fit: contain;
  }
}
@media (max-width: 375px) {
  .browse-by-category .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .browse-by-category .category-grid .cat {
    grid-template-rows: minmax(2.24em, auto) 1fr;
    min-height: 95px;
    padding: 0.55rem 0.45rem;
    gap: 0.45rem;
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .browse-by-category .category-grid .cat img {
    max-height: 45px;
    width: auto;
    max-width: 100%;
  }
}

.shop-layout {
  display: block;
  margin-top: 1rem;
  position: relative;
}
.shop-layout .results .product-grid.uniform {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.shop-layout .results .product-grid.uniform .product {
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: var(--r-card);
  overflow: hidden;
  display: grid;
  gap: 0.75rem;
  transition: all 0.3s ease;
  padding-bottom: 1rem;
}
.shop-layout .results .product-grid.uniform .product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.shop-layout .results .product-grid.uniform .product .product-image-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--raised);
  color: var(--t3);
  font-size: 2.5rem;
}
.shop-layout .results .product-grid.uniform .product h3 {
  font-size: 1.05rem;
  margin: 0;
  padding: 0 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--t1);
}
.shop-layout .results .product-grid.uniform .product .meta {
  color: var(--t3);
  padding: 0 1rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}
.shop-layout .results .product-grid.uniform .product .btn {
  display: inline-block;
  margin: 0 1rem;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.shop-layout .results .product-grid.uniform .product .btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 30%, transparent);
}
.shop-layout .results .product-grid.uniform .product .product-actions {
  display: flex;
  gap: 0.5rem;
  margin: 0 1rem;
}
.shop-layout .results .product-grid.uniform .product .product-actions .btn {
  margin: 0;
  flex: 1;
  text-align: center;
}
.shop-layout .results .product-grid.uniform .product .product-actions .btn-outline {
  background: var(--surface);
  color: var(--accent);
  border: 2px solid var(--accent);
}
.shop-layout .results .product-grid.uniform .product .product-actions .btn-outline:hover {
  background: var(--accent-soft);
  box-shadow: none;
}
.shop-layout .results .product-grid.uniform .product .product-actions button {
  position: relative;
  z-index: 2;
}
.shop-layout .results .product-grid.uniform .product .product-actions .btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.shop-layout .results .product-grid.uniform .product .product-message {
  margin: 0.35rem 1rem 0;
  font-size: 0.8rem;
  color: #b91c1c;
}
.shop-layout .results .product-grid.uniform .product .product-message.is-success {
  color: var(--success);
}
.shop-layout .results .product-grid.uniform .product:hover .product-actions .btn-outline {
  background: var(--accent-soft);
}
.shop-layout .results .product-grid.uniform .product:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}
.shop-layout .results .product-grid.uniform .product:hover img {
  transform: scale(1.05);
}

.site-header {
  position: relative;
  top: 0;
  z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
  overflow: visible;
}
.site-header .brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}
.site-header .brand-row .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}
.site-header .brand-row .logo img {
  height: 32px;
  width: auto;
  display: block;
}
.site-header .brand-row .hamburger {
  display: none;
  background: var(--surface);
  color: var(--t2);
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  padding: 0.4rem 0.55rem;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.site-header .brand-row .hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.site-header .brand-row .hamburger[aria-expanded=true] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.site-header .brand-row .hamburger[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
}
.site-header .brand-row .hamburger[aria-expanded=true] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}
@media (max-width: 768px) {
  .site-header .brand-row .hamburger {
    display: flex;
  }
}
.site-header .brand-row .actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-header .brand-row .actions .header-link {
  color: var(--t2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
.site-header .brand-row .actions .header-link:hover {
  color: var(--accent);
}
.site-header .brand-row .actions .header-icon-link {
  display: inline-flex;
  color: var(--t2);
  font-size: 1.1rem;
  text-decoration: none;
}
.site-header .brand-row .actions .header-icon-link:hover {
  color: var(--accent);
}
.site-header .brand-row .actions .mode-toggle {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  padding: 0.4rem 0.6rem;
  background: var(--surface);
  cursor: pointer;
  position: relative;
  width: 60px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.site-header .brand-row .actions .mode-toggle .sun,
.site-header .brand-row .actions .mode-toggle .moon {
  font-size: 1.1rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
}
.site-header .brand-row .actions .mode-toggle .sun {
  left: 6px;
  opacity: 1;
  transform: scale(1);
}
.site-header .brand-row .actions .mode-toggle .moon {
  right: 6px;
  opacity: 0;
  transform: scale(0.8);
}
.site-header .brand-row .actions .mode-toggle.dark-mode {
  background: #1f2937;
}
.site-header .brand-row .actions .mode-toggle.dark-mode .sun {
  opacity: 0;
  transform: scale(0.8);
}
.site-header .brand-row .actions .mode-toggle.dark-mode .moon {
  opacity: 1;
  transform: scale(1);
}
.site-header .brand-row .actions .mode-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .site-header .brand-row .actions .mode-toggle {
    display: none;
  }
}
.site-header .hero {
  background: linear-gradient(135deg, #eef2ff, #f9fafb);
  padding: 3rem 1rem;
  position: relative;
  z-index: 0;
}
@media (max-width: 768px) {
  .site-header .hero {
    z-index: 1;
  }
}
.site-header .hero .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--r-card);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(8px);
}
.site-header .hero .hero-content h1 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 0 0 0.5rem;
}
.site-header .hero .hero-content p {
  margin: 0 0 1.25rem;
  color: var(--t3);
}
.site-header .hero .hero-content .search.large {
  display: inline-flex;
  gap: 0.5rem;
  width: min(780px, 95%);
  background: var(--surface);
  padding: 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  box-sizing: border-box;
}
.site-header .hero .hero-content .search.large input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background: transparent;
  box-sizing: border-box;
}
.site-header .hero .hero-content .search.large button {
  background: var(--accent);
  color: var(--on-accent);
  border: 0;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-ctl);
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .site-header .hero .hero-content .search.large {
    width: min(780px, 92%);
    padding: 0.4rem;
    gap: 0.4rem;
  }
  .site-header .hero .hero-content .search.large input {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
  }
  .site-header .hero .hero-content .search.large button {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    min-width: fit-content;
  }
}
@media (max-width: 375px) {
  .site-header .hero .hero-content .search.large {
    width: min(780px, 90%);
    padding: 0.35rem;
    gap: 0.35rem;
  }
  .site-header .hero .hero-content .search.large input {
    padding: 0.6rem 0.65rem;
    font-size: 0.9rem;
  }
  .site-header .hero .hero-content .search.large button {
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
  }
}
.site-header .hero .hero-content .hero-ads {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.site-header .hero .hero-content .hero-ads[hidden] {
  display: none;
}
.site-header .hero .hero-content .hero-ads .ad {
  font-size: 0.9rem;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--t3);
  display: inline-flex;
}
.site-header .hero .hero-content .hero-ads .ad img {
  max-height: 60px;
  max-width: 220px;
  width: auto;
  height: auto;
  border-radius: 0.35rem;
}

.site-header .main-nav {
  border-top: 1px solid var(--line-strong);
  position: relative;
  z-index: 50;
  overflow-x: visible;
  overflow-y: visible;
}
.site-header .main-nav .menu {
  display: flex;
  gap: 0.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.4rem 1rem;
  list-style: none;
  overflow-x: visible;
  overflow-y: visible;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}
.site-header .main-nav a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0 0.25rem;
  white-space: nowrap;
  display: block;
}
@media (min-width: 640px) {
  .site-header .main-nav .menu {
    gap: 0.5rem;
  }
  .site-header .main-nav a {
    font-size: 0.875rem;
    padding: 0 0.5rem;
  }
}
@media (max-width: 1024px) {
  .site-header .main-nav {
    display: block;
    overflow-x: visible;
    overflow-y: visible;
  }
  .site-header .main-nav .menu {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}
@media (max-width: 768px) {
  .site-header .main-nav {
    display: none;
  }
}
@media (max-width: 430px) {
  .site-header .main-nav {
    overflow-x: visible;
    overflow-y: visible;
  }
  .site-header .main-nav .menu {
    gap: 0.25rem;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
  }
  .site-header .main-nav .menu a {
    font-size: 0.75rem;
    padding: 0 0.25rem;
    white-space: nowrap;
  }
}

.toolbar select,
.toolbar input {
  border-radius: var(--r-ctl);
  border: 1px solid #cbd5f5;
  padding: 0.45rem 0.75rem;
}

.shop-layout .results .toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}
.shop-layout .results .toolbar .sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.shop-layout .results .toolbar .search.small {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.shop-layout .results .toolbar .search.small input {
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  padding: 0.5rem 0.6rem;
  box-sizing: border-box;
}
.shop-layout .results .toolbar .search.small button {
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  box-sizing: border-box;
}
@media (max-width: 430px) {
  .shop-layout .results .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem;
  }
  .shop-layout .results .toolbar .sort {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }
  .shop-layout .results .toolbar .sort label {
    font-weight: 600;
    font-size: 0.9rem;
  }
  .shop-layout .results .toolbar .sort select {
    width: 100%;
    box-sizing: border-box;
  }
  .shop-layout .results .toolbar .search.small {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .shop-layout .results .toolbar .search.small input,
  .shop-layout .results .toolbar .search.small button {
    width: 100%;
    box-sizing: border-box;
  }
}

.dashboard-shell {
  display: flex;
  min-height: 100vh;
  background: #f7f7f9;
}

.dashboard-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
}
.dashboard-sidebar .sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

@media (max-width: 768px) {
  .dashboard-shell {
    flex-direction: column;
  }
  .dashboard-sidebar {
    width: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }
  .dashboard-sidebar .sidebar-brand {
    display: none;
  }
}
.dashboard-nav {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.dashboard-nav li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  color: var(--t2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.dashboard-nav li a i {
  width: 1.1rem;
  text-align: center;
  font-size: 1rem;
}
.dashboard-nav li a:hover {
  background: var(--raised);
  color: var(--t1);
}
.dashboard-nav li a.active {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: calc(0.75rem - 3px);
}
@media (max-width: 768px) {
  .dashboard-nav {
    position: relative;
    flex-direction: row;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .dashboard-nav::-webkit-scrollbar {
    display: none;
  }
  .dashboard-nav.has-more-end {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
  }
  .dashboard-nav.has-more-start {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to left, #000 calc(100% - 2.5rem), transparent);
  }
  .dashboard-nav.has-more-start.has-more-end {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to right, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent);
  }
  .dashboard-nav li {
    flex-shrink: 0;
  }
  .dashboard-nav li a {
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--r-ctl);
    white-space: nowrap;
    cursor: pointer;
  }
  .dashboard-nav li a i {
    width: auto;
    font-size: 0.9rem;
  }
  .dashboard-nav li a.active {
    border-left: 0;
    padding-left: 0.85rem;
    background: var(--accent);
    color: var(--on-accent);
  }
  .dashboard-nav li a.active:hover {
    background: var(--accent-hover);
    color: var(--on-accent);
  }
}

.dashboard-main {
  flex: 1;
  padding: 2rem;
  min-width: 0;
}
.dashboard-main h2 {
  margin: 2rem 0 1rem;
  font-size: 1.1rem;
}
.dashboard-main h2:first-of-type {
  margin-top: 1.5rem;
}

.dashboard-placeholder {
  margin-top: 1.5rem;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--t3);
  font-weight: 500;
}

.band.reputable-sellers {
  background: linear-gradient(120deg, #eef2ff, #fdf2f8);
  border-radius: var(--r-card);
  padding: 2rem;
  margin-top: 2rem;
}
.band.reputable-sellers .seller-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.band.reputable-sellers .seller-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
  align-items: start;
  grid-template-columns: auto 1fr;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.band.reputable-sellers .seller-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h1 {
  margin-bottom: 1rem;
}
.legal-content section {
  margin-top: 2rem;
}
.legal-content section h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--t1);
}
.legal-content section p {
  color: var(--t2);
  line-height: 1.6;
}

.listing-container {
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--t3);
}
.breadcrumb[hidden] {
  display: none;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.breadcrumb li[hidden] {
  display: none;
}
.breadcrumb li + li::before {
  content: "›";
  color: var(--t3);
}
.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb [aria-current=page] {
  color: var(--t1);
  overflow-wrap: anywhere;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: start;
}
.product-detail[hidden] {
  display: none;
}
@media (max-width: 1023px) {
  .product-detail {
    gap: 1.5rem;
  }
}
@media (max-width: 767px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-detail .product-detail-main {
    display: contents;
  }
  .product-detail .product-gallery {
    order: 1;
  }
  .product-detail .purchase-panel {
    order: 2;
  }
  .product-detail .product-description {
    order: 3;
    margin-top: 0;
  }
}

.product-detail-main {
  min-width: 0;
}

.product-description {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}
.product-description h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  color: var(--t1);
}
.product-description p {
  margin: 0;
  color: var(--t2);
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.item-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.item-details[hidden] {
  display: none;
}
.item-details dt {
  font-weight: 700;
  color: var(--t1);
}
.item-details dd {
  margin: 0;
  color: var(--t2);
}
.item-details dd a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.item-details dd a:hover {
  text-decoration: underline;
}

.similar-items {
  margin-top: 3rem;
}
.similar-items[hidden] {
  display: none;
}
.similar-items h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  color: var(--t1);
}

#listing-loading {
  text-align: center;
  color: var(--t3);
  padding: 4rem 1rem;
}

.detail-not-found {
  text-align: center;
  padding: 4rem 1rem;
}
.detail-not-found h1 {
  margin-bottom: 0.5rem;
}
.detail-not-found p {
  color: var(--t3);
  margin-bottom: 1.5rem;
}

.purchase-panel-actions a.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

body.theme-dark .breadcrumb {
  color: var(--dark-muted);
}
body.theme-dark .breadcrumb a {
  color: var(--accent);
}
body.theme-dark .breadcrumb [aria-current=page] {
  color: var(--dark-ink);
}
body.theme-dark .product-description {
  border-top-color: var(--dark-line);
}
body.theme-dark .product-description h2 {
  color: var(--dark-ink);
}
body.theme-dark .item-details {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
body.theme-dark .item-details dt {
  color: var(--dark-ink);
}
body.theme-dark .item-details dd {
  color: var(--dark-muted);
}
body.theme-dark .item-details dd a {
  color: var(--accent);
}
body.theme-dark .similar-items h2 {
  color: var(--dark-ink);
}

.checkout-title {
  text-align: center;
  margin: 1.5rem 0 2rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
.checkout-layout[hidden] {
  display: none;
}
@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.checkout-section {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 2rem;
  margin-bottom: 2rem;
}
.checkout-section h2 {
  margin: 0 0 1.5rem;
  color: var(--t1);
}

#checkout-loading {
  text-align: center;
  color: var(--t3);
  padding: 4rem 1rem;
}

.cart-title {
  margin: 1.5rem 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
.cart-layout[hidden] {
  display: none;
}
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

#cart-loading {
  text-align: center;
  color: var(--t3);
  padding: 4rem 1rem;
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 1rem;
}
.cart-empty-state p {
  color: var(--t3);
  margin: 0 0 1.5rem;
}

.cart-unavailable-notice {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
}

#cart-checkout-link.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.browse-title {
  margin: 1.5rem 0 0;
}

.shop-layout .floating-filter-btn {
  display: flex;
}

.results-empty,
.results-loading {
  grid-column: 1/-1;
  text-align: center;
  color: var(--t3);
  padding: 3rem 1rem;
}

.filter-empty-note {
  margin: 0;
  padding: 0.5rem 1.5rem;
  color: var(--t3);
  font-size: 0.85rem;
}

.order-confirmation {
  max-width: 480px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.order-confirmation[hidden] {
  display: none;
}

.order-confirmation-message {
  text-align: center;
}
.order-confirmation-message i {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 1rem;
}
.order-confirmation-message h1 {
  margin: 0 0 0.5rem;
}
.order-confirmation-message p {
  color: var(--t3);
  margin: 0 0 0.5rem;
}
.order-confirmation-message .order-confirmation-number {
  font-weight: 700;
  color: var(--t1);
}

.order-confirmation-delivery,
.order-confirmation-address {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.order-confirmation-delivery h2,
.order-confirmation-address h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--t1);
}
.order-confirmation-delivery p,
.order-confirmation-address p {
  margin: 0;
  color: var(--t3);
}

.order-confirmation-address address {
  font-style: normal;
  line-height: 1.6;
}

#confirmation-loading {
  text-align: center;
  color: var(--t3);
  padding: 4rem 1rem;
}

#confirmation-orders {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
#confirmation-orders .order-summary h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
#confirmation-orders .order-confirmation-id {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--t3);
}

body.theme-dark {
  background: var(--dark-bg);
  color: var(--dark-ink);
}

.theme-dark .site-header {
  background: #0d0c0b;
  border-color: var(--dark-line);
}
.theme-dark .site-header .brand-row .hamburger {
  background: var(--dark-elev);
  color: var(--dark-ink);
  border-color: var(--dark-line);
}
.theme-dark .site-header .brand-row .hamburger span {
  background: var(--dark-ink);
}
.theme-dark .site-header .brand-row .actions .header-link,
.theme-dark .site-header .brand-row .actions .header-icon-link {
  color: var(--dark-muted);
}
.theme-dark .site-header .brand-row .actions .header-link:hover,
.theme-dark .site-header .brand-row .actions .header-icon-link:hover {
  color: var(--accent);
}
.theme-dark .hero {
  background: linear-gradient(135deg, #121826, #0f131b);
}
.theme-dark .hero .hero-content {
  background: rgba(16, 21, 35, 0.92);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}
.theme-dark .hero .hero-content p {
  color: var(--dark-muted);
}
.theme-dark .hero .hero-ads .ad {
  background: rgba(18, 24, 38, 0.8);
  border-color: #1f2937;
  color: #9aa3b2;
}
.theme-dark .mode-toggle.pill-toggle {
  background: #374151;
  border-color: #4b5563;
}
.theme-dark .mode-toggle.pill-toggle:hover {
  border-color: var(--accent);
}
.theme-dark .mode-toggle.pill-toggle .toggle-knob {
  background: #1f2937;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.theme-dark .mode-toggle.pill-toggle .sun-icon {
  color: #fbbf24;
}
.theme-dark .mode-toggle.pill-toggle[aria-pressed=true] {
  background: var(--accent-hover);
  border-color: var(--accent);
}
.theme-dark .mode-toggle.pill-toggle[aria-pressed=true] .moon-icon {
  color: white;
}
.theme-dark .dashboard-shell {
  background: var(--dark-bg);
}
.theme-dark .dashboard-sidebar {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .dashboard-nav a {
  color: var(--dark-muted);
}
.theme-dark .dashboard-nav a:hover {
  background: var(--dark-elev);
  color: var(--dark-ink);
}
.theme-dark .dashboard-nav a.active {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
}
@media (max-width: 768px) {
  .theme-dark .dashboard-nav a.active, .theme-dark .dashboard-nav a.active:hover {
    background: var(--accent);
    color: var(--on-accent);
  }
}
.theme-dark .stat-card {
  background: var(--dark-elev);
  border-color: var(--dark-line);
}
.theme-dark .stat-card .stat-label {
  color: var(--dark-muted);
}
.theme-dark .stat-card .stat-value {
  color: var(--dark-ink);
}
.theme-dark .dashboard-placeholder {
  border-color: var(--dark-line);
  color: var(--dark-muted);
}
.theme-dark .form-shell {
  background: var(--dark-bg);
}
.theme-dark .form-shell-card {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .form-shell-header h1 {
  color: var(--dark-ink);
}
.theme-dark .form-shell-header p {
  color: var(--dark-muted);
}
.theme-dark .form-field label {
  color: var(--dark-ink);
}
.theme-dark .form-field input,
.theme-dark .form-field select,
.theme-dark .form-field textarea {
  background: var(--dark-elev);
  border-color: var(--dark-line);
  color: var(--dark-ink);
}
.theme-dark .form-field input:focus,
.theme-dark .form-field select:focus,
.theme-dark .form-field textarea:focus {
  border-color: var(--accent);
}
.theme-dark .form-field input:disabled,
.theme-dark .form-field select:disabled,
.theme-dark .form-field textarea:disabled {
  background: var(--dark-elev);
  color: var(--dark-muted);
}
.theme-dark .form-field .form-field-hint {
  color: var(--dark-muted);
}
.theme-dark .form-consent {
  color: var(--dark-muted);
}
.theme-dark .form-field-checks legend {
  color: var(--dark-ink);
}
.theme-dark .form-shell-banner {
  background: var(--dark-elev);
  color: var(--dark-ink);
}
.theme-dark .form-message-error {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.theme-dark .form-message-success {
  background: var(--success-soft);
  border-color: var(--success-line);
  color: var(--success);
}
.theme-dark .form-divider {
  color: var(--dark-muted);
}
.theme-dark .form-divider::before, .theme-dark .form-divider::after {
  background: var(--dark-line);
}
.theme-dark .btn-secondary {
  background: var(--dark-elev);
  color: var(--dark-ink);
  border-color: var(--dark-line);
}
.theme-dark .btn-secondary:hover {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .list-tabs {
  border-bottom-color: var(--dark-line);
}
.theme-dark .list-tab {
  color: var(--dark-muted);
}
.theme-dark .list-tab:hover {
  color: var(--dark-ink);
}
.theme-dark .list-tab.active {
  color: var(--accent);
}
.theme-dark .list-table-wrap {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .list-table th {
  color: var(--dark-muted);
  border-bottom-color: var(--dark-line);
}
.theme-dark .list-table tbody tr {
  border-bottom-color: var(--dark-line);
}
.theme-dark .list-table tbody tr:hover {
  background: var(--dark-elev);
}
.theme-dark .list-table-title {
  color: var(--dark-ink);
}
.theme-dark .list-table-thumb {
  background: var(--dark-line);
}
.theme-dark .status-badge-active {
  background: var(--success-soft);
  color: var(--success);
}
.theme-dark .status-badge-draft {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.theme-dark .status-badge-archived {
  background: rgba(168, 162, 155, 0.2);
  color: var(--dark-muted);
}
.theme-dark .status-badge-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.theme-dark .status-badge-shipped {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);
}
.theme-dark .status-badge-delivered {
  background: var(--success-soft);
  color: var(--success);
}
.theme-dark .status-badge-cancelled {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
.theme-dark .wishlist-item {
  background: var(--dark-elev);
  border-color: var(--dark-line);
}
.theme-dark .wishlist-item .wishlist-item-thumb {
  background: var(--dark-line);
}
.theme-dark .wishlist-item h3 {
  color: var(--dark-ink);
}
.theme-dark .wishlist-item .wishlist-item-price {
  color: var(--dark-muted);
}
.theme-dark .wishlist-item .wishlist-item-remove {
  color: var(--dark-muted);
}
.theme-dark .wishlist-item .wishlist-item-remove:hover {
  color: #f87171;
}
.theme-dark .product-gallery .product-gallery-thumb {
  background: var(--dark-elev);
  border-color: var(--dark-line);
}
.theme-dark .product-gallery .product-gallery-thumb:hover {
  border-color: #3a352d;
}
.theme-dark .product-gallery .product-gallery-thumb.active {
  border-color: var(--accent);
}
.theme-dark .product-gallery .product-gallery-main {
  background: var(--dark-elev);
  border-color: var(--dark-line);
}
.theme-dark .product-gallery .product-gallery-main .product-image-placeholder {
  background: var(--dark-elev);
  color: var(--dark-muted);
}
.theme-dark #listing-loading,
.theme-dark .detail-not-found p {
  color: var(--dark-muted);
}
.theme-dark .rail-scroll .carousel-cards .product-card .product-image-placeholder {
  background: var(--dark-elev);
  color: var(--dark-muted);
}
.theme-dark .purchase-panel {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .purchase-panel h1 {
  color: var(--dark-ink);
}
.theme-dark .purchase-panel-seller {
  border-bottom-color: var(--dark-line);
}
.theme-dark .purchase-panel-seller .purchase-panel-seller-avatar {
  background: var(--dark-line);
}
.theme-dark .purchase-panel-seller .purchase-panel-seller-name {
  color: var(--dark-ink);
}
.theme-dark .purchase-panel-seller .purchase-panel-seller-meta {
  color: var(--dark-muted);
}
.theme-dark .purchase-panel-price {
  color: var(--dark-ink);
}
.theme-dark .purchase-panel-meta {
  color: var(--dark-muted);
}
.theme-dark .purchase-panel-quantity label {
  color: var(--dark-ink);
}
.theme-dark .purchase-panel-quantity input {
  background: var(--dark-elev);
  border-color: var(--dark-line);
  color: var(--dark-ink);
}
.theme-dark .purchase-panel-quantity input:focus {
  border-color: var(--accent);
}
.theme-dark .purchase-panel-shipping {
  border-top-color: var(--dark-line);
  color: var(--dark-muted);
}
.theme-dark .purchase-panel-shipping strong {
  color: var(--dark-ink);
}
.theme-dark .product-description p {
  color: var(--dark-muted);
}
.theme-dark .order-summary {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .order-summary h2 {
  color: var(--dark-ink);
}
.theme-dark .order-summary-items {
  border-bottom-color: var(--dark-line);
}
.theme-dark .order-summary-item .order-summary-item-name {
  color: var(--dark-ink);
}
.theme-dark .order-summary-item .order-summary-item-qty {
  color: var(--dark-muted);
}
.theme-dark .order-summary-item .order-summary-item-price {
  color: var(--dark-muted);
}
.theme-dark .order-summary-row {
  color: var(--dark-muted);
}
.theme-dark .order-summary-row.order-summary-total {
  border-top-color: var(--dark-line);
  color: var(--dark-ink);
}
.theme-dark .checkout-section {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .checkout-section h2 {
  color: var(--dark-ink);
}
.theme-dark #checkout-loading {
  color: var(--dark-muted);
}
.theme-dark .checkout-payment-notice {
  background: var(--success-soft);
  border-color: var(--success-line);
  color: var(--success);
}
.theme-dark .address-card,
.theme-dark .address-card-static {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .address-card:hover,
.theme-dark .address-card-static:hover {
  border-color: #3a352d;
}
.theme-dark .address-card:has(input:checked) {
  border-color: var(--accent);
}
.theme-dark .address-card-lines {
  color: var(--dark-ink);
}
.theme-dark .address-empty-note {
  color: var(--dark-muted);
}
.theme-dark .cart-item {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .cart-item-seller {
  border-bottom-color: var(--dark-line);
}
.theme-dark .cart-item-seller .cart-item-seller-avatar {
  background: var(--dark-line);
}
.theme-dark .cart-item-seller .cart-item-seller-name {
  color: var(--dark-ink);
}
.theme-dark .cart-item-seller .cart-item-seller-meta {
  color: var(--dark-muted);
}
.theme-dark .cart-item-thumb {
  background: var(--dark-line);
}
.theme-dark .cart-item-title,
.theme-dark .cart-item-price {
  color: var(--dark-ink);
}
.theme-dark .cart-item-qty {
  border-color: var(--dark-line);
}
.theme-dark .cart-item-qty .cart-item-qty-btn {
  background: var(--dark-elev);
  color: var(--dark-ink);
}
.theme-dark .cart-item-qty .cart-item-qty-btn:hover {
  background: var(--dark-line);
}
.theme-dark .cart-item-qty .cart-item-qty-value {
  color: var(--dark-ink);
}
.theme-dark .cart-item-action {
  color: var(--dark-muted);
}
.theme-dark .cart-item-action:hover {
  color: var(--accent);
}
.theme-dark .cart-item-thumb.product-image-placeholder {
  background: var(--dark-elev);
  color: var(--dark-muted);
}
.theme-dark #cart-loading,
.theme-dark .cart-empty-state p {
  color: var(--dark-muted);
}
.theme-dark .cart-unavailable-notice {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.theme-dark .cart-item-error {
  color: #f87171;
}
.theme-dark .form-section {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .form-section h2 {
  color: var(--dark-ink);
}
.theme-dark .form-section > p {
  color: var(--dark-muted);
}
.theme-dark .photo-upload-add {
  background: var(--dark-elev);
  border-color: var(--accent);
  color: var(--accent);
}
.theme-dark .photo-upload-add:hover {
  background: var(--dark-line);
}
.theme-dark .photo-upload-slot {
  background: var(--dark-elev);
  border-color: var(--dark-line);
  color: var(--dark-muted);
}
.theme-dark .form-section-danger {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.4);
}
.theme-dark .form-section-danger h2 {
  color: #f87171;
}
.theme-dark .form-section-danger > p {
  color: #fca5a5;
}
.theme-dark .toggle-row label {
  color: var(--dark-ink);
}
.theme-dark .toggle-row label a {
  color: var(--accent);
}
.theme-dark .toggle-row p {
  color: var(--dark-muted);
}
.theme-dark .order-confirmation-message h1 {
  color: var(--dark-ink);
}
.theme-dark .order-confirmation-message p {
  color: var(--dark-muted);
}
.theme-dark .order-confirmation-message .order-confirmation-number {
  color: var(--dark-ink);
}
.theme-dark .order-confirmation-delivery,
.theme-dark .order-confirmation-address {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .order-confirmation-delivery h2,
.theme-dark .order-confirmation-address h2 {
  color: var(--dark-ink);
}
.theme-dark .order-confirmation-delivery p,
.theme-dark .order-confirmation-delivery address,
.theme-dark .order-confirmation-address p,
.theme-dark .order-confirmation-address address {
  color: var(--dark-muted);
}
.theme-dark #confirmation-loading {
  color: var(--dark-muted);
}
.theme-dark #confirmation-orders .order-confirmation-id {
  color: var(--dark-muted);
}
.theme-dark .legal-content section h2 {
  color: var(--dark-ink);
}
.theme-dark .legal-content section p {
  color: var(--dark-muted);
}
.theme-dark .product,
.theme-dark .filters,
.theme-dark .dropdown,
.theme-dark .results .toolbar,
.theme-dark .cat,
.theme-dark .band {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .newsletter input {
  background: var(--dark-elev);
  border-color: var(--dark-line);
}
.theme-dark .product {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.theme-dark .product:hover {
  border-color: var(--accent);
}
.theme-dark .cat:hover {
  border-color: var(--accent);
}
.theme-dark .browse-by-category .cat {
  background: #ffffff;
  border-color: #d1d5db;
  color: #0f172a;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
}
.theme-dark .toolbar select,
.theme-dark .toolbar input {
  background: var(--dark-elev);
  color: var(--dark-ink);
  border-color: var(--dark-line);
}
.theme-dark .custom-select-trigger {
  background: var(--dark-elev);
  color: var(--dark-ink);
  border-color: var(--dark-line);
}
.theme-dark .custom-select-menu {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .custom-select-option {
  color: var(--dark-ink);
}
.theme-dark .custom-select-option:hover, .theme-dark .custom-select-option.is-highlighted {
  background: var(--dark-line);
  color: var(--accent);
}
.theme-dark .custom-select-option[aria-selected=true] {
  color: var(--accent);
}
.theme-dark .recently-viewed .product-card {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
}
.theme-dark .top-sellers .slide {
  background: rgba(255, 255, 255, 0.9);
}
.theme-dark .top-sellers .slide .slide-text {
  color: #0b1324;
}
.theme-dark .recently-added.product-carousel .carousel-track .product {
  background: #121826;
  border-color: #1f2937;
}
.theme-dark .recently-added.product-carousel .carousel-track .product h3 {
  color: #e5e7eb;
}
.theme-dark .recently-added.product-carousel .carousel-track .product .meta {
  color: #9aa3b2;
}
.theme-dark .recently-added.product-carousel .carousel-btn {
  background: #1f2937;
  color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.theme-dark .shop-layout .results .product-grid.uniform .product {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .shop-layout .results .product-grid.uniform .product h3 {
  color: var(--dark-ink);
}
.theme-dark .shop-layout .results .product-grid.uniform .product .meta {
  color: var(--dark-muted);
}
.theme-dark .shop-layout .results .product-grid.uniform .product .product-image-placeholder {
  background: var(--dark-elev);
  color: var(--dark-muted);
}
.theme-dark .shop-layout .results .product-grid.uniform .product .product-actions .btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.theme-dark .shop-layout .results .product-grid.uniform .product .product-actions .btn-outline:hover {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}
.theme-dark .shop-layout .results .product-grid.uniform .product .product-message {
  color: #f87171;
}
.theme-dark .shop-layout .results .product-grid.uniform .product .product-message.is-success {
  color: var(--success);
}
.theme-dark .results-empty,
.theme-dark .results-loading,
.theme-dark .filter-empty-note {
  color: var(--dark-muted);
}
.theme-dark .floating-filter-btn {
  background: var(--accent);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent) 40%, transparent);
}
.theme-dark .floating-filter-btn i {
  color: var(--on-accent);
}
.theme-dark .floating-filter-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--accent) 50%, transparent);
}
.theme-dark .filter-overlay .filters {
  background: var(--dark-panel);
  border-color: var(--dark-line);
}
.theme-dark .filter-overlay .filters .filter-header {
  border-bottom-color: var(--dark-line);
}
.theme-dark .filter-overlay .filters .filter-header h3 {
  color: var(--dark-ink);
}
.theme-dark .filter-overlay .filters .filter-header .filter-close {
  color: var(--dark-ink);
}
.theme-dark .filter-overlay .filters .filter-header .filter-close:hover {
  background: var(--dark-elev);
}
.theme-dark .filter-overlay .filters > label {
  color: var(--dark-ink);
}
.theme-dark .filter-overlay .filters .price-display {
  color: var(--dark-ink);
}
.theme-dark .filter-overlay .filters .brands legend {
  color: var(--dark-ink);
}
.theme-dark .filter-overlay .filters .brands label {
  color: var(--dark-ink);
}
.theme-dark .filter-overlay .filters .brands label:hover {
  background: var(--dark-elev);
  border-color: var(--dark-line);
}
.theme-dark .filter-overlay .filters .filter-actions {
  border-top-color: var(--dark-line);
}
.theme-dark .filter-overlay .filters .filter-actions .btn-reset {
  background: transparent;
  color: var(--dark-ink);
  border-color: var(--dark-line);
}
.theme-dark .filter-overlay .filters .filter-actions .btn-reset:hover {
  background: var(--dark-elev);
  border-color: var(--accent);
}

.site-header.theme-dark .offcanvas .panel {
  background: #0d0c0b;
  border-right-color: var(--dark-line);
}
.site-header.theme-dark .offcanvas .panel .close {
  background: var(--dark-elev);
  color: var(--dark-ink);
}
.site-header.theme-dark .offcanvas .panel .close:hover {
  background: var(--dark-elev);
}
.site-header.theme-dark .offcanvas .panel .mobile-nav ul li a {
  color: var(--dark-ink);
}
.site-header.theme-dark .offcanvas .panel .mobile-nav ul li a:hover {
  background: var(--dark-elev);
  color: var(--accent);
}
.site-header.theme-dark .offcanvas .panel .mobile-actions {
  border-top-color: var(--dark-line);
}

.theme-dark .form-shell-fields p a {
  color: var(--accent);
}

.theme-dark .form-field-optional {
  color: var(--dark-muted);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

*::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.28);
}

article,
.panel,
.band {
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
article:hover,
.panel:hover,
.band:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.band {
  margin-top: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

/*# sourceMappingURL=main.compiled.css.map */
