:root {
  --bg: #090d18;
  --top: #24134b;
  --bottom: #0b1b37;
  --surface: #111827;
  --raised: #172138;
  --glass: rgba(25, 35, 56, 0.9);
  --border: #263656;
  --stroke: #3c5280;
  --text: #f6f8ff;
  --muted: #92a0c0;
  --secondary: #d5dcee;
  --primary: #8b5cf6;
  --pink: #ff4fa3;
  --blue: #38bdf8;
  --success: #22c55e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

.app-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 0%, rgba(139, 92, 246, 0.2), transparent 34%),
    radial-gradient(circle at 92% 80%, rgba(56, 189, 248, 0.12), transparent 30%),
    linear-gradient(135deg, var(--top), var(--bg) 48%, var(--bottom));
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(60, 82, 128, 0.45);
  background: rgba(9, 13, 24, 0.7);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 44px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 230px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 188px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand small,
.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  flex: 1;
  gap: 27px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(23, 33, 56, 0.7);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.menu-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--stroke);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

body.menu-open {
  overflow: hidden;
}

.main-nav a,
.login-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.login-link:hover {
  color: var(--text);
}

.main-nav .sale-nav {
  color: #ff7886;
}

.main-nav .sale-nav:hover,
.main-nav .sale-nav.is-active {
  color: #ff4359;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn,
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(23, 33, 56, 0.7);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.icon-btn:hover,
.avatar:hover {
  transform: translateY(-2px);
  border-color: var(--stroke);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.icon-btn b {
  position: absolute;
  top: -6px;
  right: -6px;
  border-radius: 99px;
  background: var(--pink);
  font-size: 10px;
  padding: 2px 6px;
}

.avatar {
  color: var(--secondary);
  font-weight: 800;
}

.avatar {
  width: auto;
  min-width: 0;
  padding: 0 14px;
  font-size: 0;
  gap: 0;
}

.avatar::before {
  content: '↗';
  font-size: 15px;
  line-height: 1;
}

.avatar::after {
  content: 'Abmelden';
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.avatar::before {
  content: none !important;
  display: none !important;
}

.main-content {
  min-height: calc(100vh - 150px);
  padding: 50px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  min-height: 510px;
}

.hero-copy {
  padding: 34px 0;
}

.eyebrow {
  margin-bottom: 17px;
}

.eyebrow i,
.store-pill i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 99px;
  background: var(--pink);
  box-shadow: 0 0 14px var(--pink);
}

.hero h1,
h1,
h2 {
  margin: 0;
  color: var(--text);
  font: 800 clamp(38px, 5.2vw, 68px) / 1.02 Manrope, sans-serif;
  letter-spacing: -0.06em;
}

em {
  color: var(--primary);
  font-style: normal;
}

.hero p {
  max-width: 480px;
  margin: 24px 0 30px;
  color: var(--secondary);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font: 700 13px Inter;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #9f7aea, var(--pink));
  box-shadow: 0 14px 28px rgba(255, 79, 163, 0.16);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.text-link,
.back-link {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 490px;
}

.petal {
  position: absolute;
  z-index: 0;
  width: 74px;
  height: 40px;
  border-radius: 80% 20% 70% 30%;
  background: linear-gradient(135deg, rgba(255, 79, 163, 0.42), rgba(139, 92, 246, 0.18));
  filter: blur(0.4px);
  opacity: 0.72;
  pointer-events: none;
  animation: petalFloat 11s ease-in-out infinite;
}

.petal::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.petal-one {
  top: 96px;
  left: 26px;
  transform: rotate(-18deg);
}

.petal-two {
  right: 38px;
  bottom: 92px;
  width: 56px;
  height: 30px;
  animation-duration: 13s;
  animation-delay: -3s;
  transform: rotate(21deg);
}

.petal-three {
  right: 132px;
  top: 68px;
  width: 44px;
  height: 24px;
  animation-duration: 9.5s;
  animation-delay: -5s;
  transform: rotate(36deg);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
}

.orb-one {
  top: 34px;
  right: 60px;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle at 35% 30%, #ff4fa3, transparent 58%);
  opacity: 0.38;
}

.orb-two {
  bottom: 15px;
  left: 60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 50% 50%, #8b5cf6, transparent 65%);
  opacity: 0.35;
}

.flower-card {
  position: relative;
  width: 280px;
  height: 360px;
  overflow: hidden;
  transform: rotate(6deg);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03)),
    url('../images/flowera-logo.png') center / 150px no-repeat;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
  padding: 26px;
}

.flower-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(9, 13, 24, 0.92));
}

.flower-card span,
.flower-card strong {
  position: relative;
  z-index: 1;
}

.flower-card span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.flower-card strong {
  position: absolute;
  bottom: 28px;
  left: 26px;
  font: 800 31px/1 Manrope;
}

.floating-stat {
  position: absolute;
  right: 12px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.86);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.floating-stat b {
  color: var(--pink);
  font: 800 24px Manrope;
}

.floating-stat span {
  color: var(--secondary);
  font-size: 11px;
  line-height: 1.25;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 20px 0 90px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--border);
}

.trust-row div {
  padding: 22px 24px;
  background: rgba(17, 24, 39, 0.75);
}

.trust-row b {
  display: block;
  font: 700 14px Manrope;
}

.trust-row span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 20px 0 40px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.section h2 {
  font-size: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card,
.auth-card,
.cart-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--glass);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.18);
  color: var(--primary);
  font-size: 22px;
}

.feature-icon.pink {
  background: rgba(255, 79, 163, 0.15);
  color: var(--pink);
}

.feature-icon.blue {
  background: rgba(56, 189, 248, 0.15);
  color: var(--blue);
}

.feature-card h3 {
  margin: 22px 0 7px;
  font: 700 15px Manrope;
}

.feature-card p,
.muted {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.notice {
  margin-bottom: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.1);
  color: #b9f6cb;
  font-size: 13px;
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 80px;
  max-width: 960px;
  margin: 40px auto;
}

.auth-art h1 {
  font-size: 54px;
}

.auth-art p {
  max-width: 430px;
  margin-top: 22px;
  color: var(--secondary);
}

.auth-card h2 {
  margin: 0 0 24px;
  font-size: 30px;
}

.auth-card label {
  display: block;
  margin: 16px 0;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
}

.auth-card input,
.search input,
.buy-row input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--raised);
  color: var(--text);
  font: inherit;
  outline: 0;
}

.auth-card input:focus,
.search:focus-within {
  border-color: var(--stroke);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.full {
  width: 100%;
  margin-top: 10px;
}

.auth-card .muted {
  margin-top: 16px;
  text-align: center;
}

.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.page-heading h1 {
  font-size: 46px;
}

.page-heading p {
  margin: 12px 0 0;
  color: var(--secondary);
}

.store-pill {
  padding: 10px 14px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 99px;
  background: rgba(34, 197, 94, 0.08);
  color: #b9f6cb;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.store-pill i {
  background: var(--success);
  box-shadow: none;
}

.shop-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 38px;
}

.sidebar h3 {
  margin: 0 0 16px;
  font: 700 14px Manrope;
}

.category {
  display: flex;
  justify-content: space-between;
  margin: 3px 0;
  padding: 11px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.category:hover,
.category.active {
  background: rgba(139, 92, 246, 0.14);
  color: var(--text);
}

.category b {
  color: var(--muted);
  font-size: 10px;
}

.category.sale-category {
  border: 1px solid rgba(255, 64, 85, 0.28);
  background: rgba(217, 39, 62, 0.08);
  color: #ff7b88;
  font-weight: 800;
}

.category.sale-category:hover,
.category.sale-category.active {
  border-color: rgba(255, 64, 85, 0.62);
  background: rgba(217, 39, 62, 0.18);
  color: #fff;
}

.side-note {
  margin-top: 38px;
  padding: 5px 0 5px 14px;
  border-left: 2px solid var(--pink);
}

.side-note span {
  color: var(--pink);
}

.side-note b {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

.side-note p {
  color: var(--muted);
  font-size: 11px;
}

.catalog-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--glass);
  color: var(--muted);
}

.search input {
  margin: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
}

.sort {
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--glass);
  color: var(--secondary);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 392px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--glass);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--stroke);
  box-shadow: 0 18px 30px rgba(4, 10, 22, 0.28);
}

.product-image {
  display: grid;
  place-items: center;
  height: 228px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(56, 189, 248, 0.08));
  color: var(--primary);
  font-size: 44px;
  text-decoration: none;
}

.product-image img,
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.product-card:hover .product-image img,
.product-card:hover .product-image span {
  transform: scale(1.03);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-info small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.product-info h3 {
  min-height: 38px;
  margin: 5px 0;
  font: 700 16px/1.2 Manrope;
}

.product-info p {
  min-height: 32px;
  max-height: 32px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
}

.product-flags {
  margin-top: 4px;
}

.product-flag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  color: #d9c8ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.sale-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 27px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: #d9273e;
  box-shadow: 0 8px 20px rgba(130, 8, 25, 0.28);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.product-info > .sale-badge {
  margin-bottom: 7px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.product-bottom form {
  margin: 0;
}

.product-bottom strong,
.detail-price {
  font: 800 20px Manrope;
}

.product-bottom del,
.detail-price del {
  margin-right: 5px;
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 600;
}

.sale-price {
  color: #ff5c6c;
}

.add-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--stroke);
  border-radius: 11px;
  background: rgba(139, 92, 246, 0.18);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.add-btn:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(159, 122, 234, 0.75);
  background: rgba(139, 92, 246, 0.28);
  box-shadow: 0 10px 18px rgba(27, 41, 77, 0.28);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 70px 25px;
  border: 1px dashed var(--border);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.empty-state span {
  color: var(--primary);
  font-size: 42px;
}

.empty-state h3 {
  margin: 14px 0 6px;
  color: var(--text);
  font: 700 19px Manrope;
}

.empty-state p {
  margin: 0 0 20px;
  font-size: 13px;
}

.back-link {
  display: inline-block;
  margin-bottom: 25px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.detail-buy-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.variant-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.variant-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.variant-title {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 220px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(23, 33, 56, 0.72);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.variant-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-option span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.variant-option strong {
  font-size: 15px;
}

.variant-option small {
  color: var(--muted);
  font-size: 12px;
}

.variant-option::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 11px;
  height: 11px;
  border: 1.5px solid rgba(146, 160, 192, 0.5);
  border-radius: 999px;
  background: transparent;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.variant-option:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.42);
  background: rgba(30, 43, 72, 0.84);
}

.variant-option.is-selected {
  border-color: rgba(255, 79, 163, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 79, 163, 0.12), rgba(139, 92, 246, 0.08)),
    rgba(23, 33, 56, 0.92);
  box-shadow: 0 12px 26px rgba(15, 18, 38, 0.28);
  transform: translateY(-2px);
}

.variant-option.is-selected::after {
  background: linear-gradient(135deg, #9f7aea, var(--pink));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 5px rgba(255, 79, 163, 0.1);
  transform: scale(1.06);
}

.buy-row-controls {
  display: flex;
  gap: 12px;
}

.detail-image {
  display: grid;
  place-items: center;
  height: 500px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(56, 189, 248, 0.1));
  color: var(--primary);
  font-size: 70px;
}

.detail-copy h1 {
  font-size: 48px;
}

.detail-copy > p {
  margin: 24px 0;
  color: var(--secondary);
}

.detail-price {
  margin: 25px 0 8px;
  font-size: 32px;
}

.stock {
  color: #b9f6cb;
  font-size: 12px;
}

.buy-row {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.buy-row input {
  width: 80px;
  margin: 0;
  text-align: center;
}

.cart-card {
  max-width: 850px;
  margin: auto;
}

.cart-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.mini-image {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.16);
  color: var(--primary);
  font-size: 25px;
}

.cart-line h3 {
  margin: 0;
  font: 700 15px Manrope;
}

.cart-line span {
  color: var(--muted);
  font-size: 12px;
}

.cart-line form {
  margin-left: auto;
}

.remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
}

.pulse-badge {
  animation: badgePulse 0.42s ease;
}

@keyframes petalFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-12deg);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotate(6deg);
  }
}

@keyframes badgePulse {
  0% {
    transform: scale(0.92);
  }
  60% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

.large {
  margin-top: 80px;
}

.auth-card select,
.auth-card textarea,
.auth-card input[type='date'],
.auth-card input[type='time'] {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--raised);
  color: var(--text);
  font: inherit;
  outline: 0;
}

.auth-card input[type='date'],
.auth-card input[type='time'] {
  color-scheme: dark;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 28px;
  max-width: 900px;
  margin: auto;
}

.order-summary {
  height: max-content;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(17, 24, 39, 0.65);
}

.order-summary h2 {
  margin: 10px 0;
  font-size: 28px;
}

.order-summary p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 850px) {
  .container {
    width: min(100% - 28px, 620px);
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    min-height: auto;
    padding: 12px 0;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-logo {
    width: 158px;
  }

  .avatar {
    padding: 0 12px;
  }

  .avatar::after {
    font-size: 12px;
  }

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

  .main-nav {
    position: fixed;
    top: 78px;
    right: 14px;
    left: 14px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(60, 82, 128, 0.55);
    border-radius: 18px;
    background: rgba(11, 18, 34, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav::-webkit-scrollbar,
  .sidebar::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(23, 33, 56, 0.7);
    white-space: nowrap;
  }

  .main-nav a.is-active {
    border-color: var(--stroke);
    background: rgba(139, 92, 246, 0.16);
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-actions {
    margin-left: auto;
  }

  .hero,
  .split-section,
  .auth-layout,
  .product-detail,
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-art {
    min-height: 380px;
  }

  .petal-one {
    left: 8px;
    top: 52px;
  }

  .petal-two {
    right: 10px;
    bottom: 46px;
  }

  .petal-three {
    right: 86px;
    top: 28px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .flower-card {
    width: 230px;
    height: 300px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    margin-bottom: 55px;
  }

  .trust-row div {
    padding: 16px;
  }

  .feature-grid,
  .form-grid,
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    gap: 20px;
  }

  .sidebar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin: 0 -2px;
    scrollbar-width: none;
  }

  .sidebar h3,
  .side-note {
    display: none;
  }

  .category {
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid var(--border);
    background: rgba(23, 33, 56, 0.66);
    white-space: nowrap;
  }

  .category b {
    display: none;
  }

  .auth-layout {
    margin-top: 15px;
  }

  .auth-art h1,
  .detail-copy h1 {
    font-size: 42px;
  }

  .page-heading {
    flex-direction: column;
    align-items: start;
    gap: 18px;
  }

  .store-pill {
    align-self: stretch;
    justify-content: center;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .product-card {
    min-height: 0;
  }

  .product-image {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .product-info {
    padding: 12px;
  }

  .product-info h3 {
    min-height: 34px;
    font-size: 14px;
  }

  .product-info p {
    min-height: auto;
    max-height: none;
  }

  .catalog-toolbar {
    flex-wrap: wrap;
  }

  .search {
    min-width: 100%;
  }

  .catalog-toolbar .sort,
  .catalog-toolbar .icon-btn,
  .catalog-toolbar .btn {
    flex: 1 1 170px;
  }

  .catalog-toolbar .icon-btn {
    display: flex;
    justify-content: center;
    min-height: 46px;
  }

  .detail-image {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .detail-copy h1 {
    font-size: 40px;
  }

  .detail-price {
    font-size: 28px;
  }

  .buy-row,
  .buy-row-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .buy-row input,
  .buy-row-controls input,
  .buy-row-controls .btn {
    width: 100%;
  }

  .variant-option {
    padding: 13px 14px;
    flex-basis: 100%;
  }

  .cart-line {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }

  .cart-line form {
    margin-left: 0;
  }

  .checkout-layout {
    gap: 20px;
  }

  .auth-card,
  .order-summary {
    padding: 20px;
  }

  .cart-footer,
  .site-footer .container {
    flex-direction: column;
  }

  .cart-footer {
    align-items: stretch;
    text-align: center;
  }

  .site-footer .container {
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .container {
    width: min(100% - 22px, 100%);
  }

  .hero-actions,
  .catalog-toolbar {
    flex-direction: column;
  }

  .hero-actions {
    align-items: stretch;
    gap: 15px;
  }

  .hero-art {
    min-height: 340px;
  }

  .floating-stat {
    right: 0;
  }

  .sort {
    height: 44px;
  }

  .main-nav {
    right: 11px;
    left: 11px;
  }

  .main-nav a,
  .category {
    padding: 10px 12px;
    font-size: 12px;
  }

  .brand-logo {
    width: 142px;
  }

  .avatar {
    width: 42px;
    padding: 0;
  }

  .avatar::after {
    display: none;
  }

  .store-pill,
  .catalog-toolbar .sort,
  .catalog-toolbar .icon-btn,
  .catalog-toolbar .btn {
    width: 100%;
  }

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

  .product-card {
    min-height: 0;
  }

  .product-image {
    height: 220px;
  }

  .variant-option {
    padding: 12px 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .auth-card,
  .order-summary {
    padding: 18px;
    border-radius: 18px;
  }

  .detail-copy h1 {
    font-size: 32px;
  }

  .main-content {
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .page-heading h1 {
    font-size: 34px;
  }
}

.catalog-toolbar .price-filter{width:118px;min-width:105px}.catalog-toolbar .date-filter{display:flex;align-items:center;gap:8px;margin:0;padding:6px 10px;border:1px solid var(--border);border-radius:14px}.catalog-toolbar .date-filter span{white-space:nowrap;font-size:12px;color:var(--text-muted)}.catalog-toolbar .date-filter input{min-width:145px;border:0;background:transparent}@media(max-width:900px){.catalog-toolbar{flex-wrap:wrap}.catalog-toolbar .search{flex-basis:100%}}@media(max-width:500px){.catalog-toolbar .price-filter,.catalog-toolbar .date-filter{width:100%}.catalog-toolbar .date-filter input{width:100%}}
