:root {
  --bg: #120a2e;
  --ink: #f8f5ff;
  --accent: #ff4fc0;
  --accent-strong: #ff2ca8;
  --paper: rgba(23, 16, 55, 0.7);
  --warn: #ff7b54;
  --line: rgba(191, 188, 255, 0.3);
  --neon-gold: #ffb41f;
  --neon-blue: #58d9ff;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: #0c0820;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("IMGT1.png") center center / cover no-repeat;
  filter: blur(3px) brightness(0.72);
  transform: scale(1.03);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 45%, rgba(66, 38, 122, 0.15) 0%, rgba(8, 6, 20, 0.45) 75%);
}

.layout {
  width: min(980px, calc(100vw - 560px));
  margin: 2rem auto;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
}

h1,
h2,
p {
  margin: 0;
}

.auth-card {
  max-width: 450px;
  margin: 4rem auto 0;
}

.home-card {
  position: relative;
  max-width: 1040px;
  margin: 1.3rem auto 0;
  padding: 1.7rem 1.4rem 2.1rem;
  background: linear-gradient(180deg, rgba(18, 13, 41, 0.52) 0%, rgba(12, 9, 30, 0.48) 100%);
  border: 1px solid rgba(248, 162, 231, 0.44);
  box-shadow: 0 0 0 1px rgba(106, 196, 255, 0.16) inset, 0 20px 44px rgba(0, 0, 0, 0.42), 0 0 24px rgba(255, 90, 205, 0.16);
  overflow: visible;
}

.home-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 14px;
  border: 1px solid rgba(66, 24, 75, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 118, 217, 0.52) inset;
  pointer-events: none;
  z-index: 1;
}

.home-card::after {
  content: "";
  position: absolute;
  left: 11%;
  right: 11%;
  top: -15px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 121, 219, 0.28) 0%, rgba(106, 233, 255, 0.08) 62%, transparent 100%);
  filter: blur(11px);
  pointer-events: none;
}

.home-frame-glow {
  position: absolute;
  inset: -18% 12% auto;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 207, 0.28) 0%, rgba(96, 242, 255, 0.05) 58%, transparent 78%);
  filter: blur(20px);
  pointer-events: none;
}

.home-rabbit-corner {
  position: absolute;
  left: -148px;
  top: 50%;
  transform: translateY(-50%);
  width: min(130px, 11vw);
  height: auto;
  z-index: 8;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.98;
  background: transparent;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
}

.home-rabbit-right {
  position: absolute;
  right: -148px;
  top: 50%;
  transform: translateY(-50%);
  width: min(160px, 13vw);
  height: auto;
  z-index: 8;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.98;
  background: transparent;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
}

.home-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(205, 198, 255, 0.26);
  background: linear-gradient(180deg, rgba(37, 31, 82, 0.54) 0%, rgba(20, 16, 49, 0.42) 100%);
  box-shadow: inset 0 0 12px rgba(105, 177, 255, 0.12);
  backdrop-filter: blur(3px);
  overflow: hidden;
}

.brand-banner {
  width: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  filter: saturate(0.86) brightness(0.94) contrast(0.94) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.floating-login-btn {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 30;
  min-height: 42px;
  padding: 0.58rem 1rem;
  white-space: nowrap;
}

.home-hero {
  margin-top: 0.45rem;
  text-align: center;
}

.home-tagline {
  margin-top: 0.75rem;
  text-align: center;
  font-family: "Audiowide", sans-serif;
  font-size: clamp(1.2rem, 2.7vw, 1.9rem);
  letter-spacing: 0.03em;
  color: rgba(246, 243, 255, 0.95);
  text-shadow: 0 0 14px rgba(109, 214, 255, 0.35), 0 0 10px rgba(255, 66, 188, 0.25);
}

.home-hero h1 {
  font-family: "Audiowide", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  letter-spacing: 0.04em;
  color: #f6f3ff;
  text-shadow: 0 0 20px rgba(109, 214, 255, 0.55), 0 0 10px rgba(255, 66, 188, 0.45);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-hero p {
  margin-top: 0.5rem;
  color: rgba(236, 232, 255, 0.85);
}

.home-shop-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.webshop-widget {
  position: fixed;
  top: 74px;
  right: 18px;
  width: 210px;
  z-index: 28;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 184, 236, 0.42);
  background: linear-gradient(180deg, rgba(38, 24, 86, 0.82) 0%, rgba(18, 12, 42, 0.82) 100%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), inset 0 0 16px rgba(105, 177, 255, 0.16);
}

.news-widget {
  position: fixed;
  top: 74px;
  left: 18px;
  width: 245px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  z-index: 28;
  padding: 0.7rem;
  border-radius: 16px;
  border: 1px solid rgba(140, 224, 255, 0.35);
  background: linear-gradient(180deg, rgba(18, 41, 73, 0.88) 0%, rgba(12, 22, 47, 0.82) 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36), inset 0 0 18px rgba(127, 219, 255, 0.14);
}

.news-widget h3 {
  margin: 0;
  text-align: center;
  font-family: "Rakkas", serif;
  font-size: 1.4rem;
  color: #9fe8ff;
}

.news-widget-list {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.7rem;
}

.news-widget-card {
  border-radius: 12px;
  border: 1px solid rgba(160, 229, 255, 0.24);
  background: linear-gradient(180deg, rgba(20, 37, 76, 0.94) 0%, rgba(12, 20, 42, 0.94) 100%);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.news-widget-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: rgba(5, 9, 22, 0.9);
}

.news-widget-copy {
  padding: 0.65rem;
}

.news-widget-copy h4 {
  margin: 0;
  font-family: "Audiowide", sans-serif;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #f2fbff;
}

.news-widget-copy p {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(225, 244, 255, 0.9);
}

.news-widget-empty {
  margin-top: 0.7rem;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px dashed rgba(159, 232, 255, 0.35);
  text-align: center;
  color: rgba(225, 244, 255, 0.85);
}

.webshop-widget h3 {
  margin: 0;
  text-align: center;
  font-family: "Rakkas", serif;
  font-size: 1.35rem;
  color: #ffd979;
}

.webshop-video {
  margin-top: 0.45rem;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(201, 191, 255, 0.35);
  background: rgba(8, 6, 18, 0.75);
}

.webshop-schedule {
  margin: 0.55rem 0 0;
  padding: 0.45rem 0.55rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 217, 121, 0.45);
  background: linear-gradient(180deg, rgba(60, 43, 117, 0.72) 0%, rgba(27, 20, 58, 0.72) 100%);
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #fff4cc;
  text-shadow: 0 0 8px rgba(255, 182, 80, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 241, 184, 0.18);
}

.webshop-cta {
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.contact-strip {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.contact-strip {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(191, 188, 255, 0.18);
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(193, 213, 255, 0.42);
  background: linear-gradient(180deg, rgba(48, 39, 103, 0.78) 0%, rgba(21, 16, 47, 0.78) 100%);
  color: #f6f3ff;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-link i {
  font-size: 1.05rem;
}

.contact-link .fa-whatsapp {
  color: #6af5b8;
}

.contact-link .fa-instagram {
  color: #ff92ee;
}

.contact-link .fa-phone {
  color: #9fd7ff;
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(113, 233, 255, 0.9);
  box-shadow: 0 8px 20px rgba(87, 224, 255, 0.2), inset 0 0 0 1px rgba(255, 129, 234, 0.2);
}

.contact-link:has(.fa-whatsapp):hover {
  border-color: rgba(106, 245, 184, 0.9);
  box-shadow: 0 8px 22px rgba(106, 245, 184, 0.35), inset 0 0 0 1px rgba(106, 245, 184, 0.25);
}

.contact-link:has(.fa-instagram):hover {
  border-color: rgba(255, 146, 238, 0.9);
  box-shadow: 0 8px 22px rgba(255, 100, 220, 0.38), inset 0 0 0 1px rgba(255, 146, 238, 0.25);
}

.contact-link:has(.fa-phone):hover {
  border-color: rgba(159, 215, 255, 0.9);
  box-shadow: 0 8px 22px rgba(88, 217, 255, 0.35), inset 0 0 0 1px rgba(159, 215, 255, 0.25);
}

.pack-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.pack-end-button-wrap {
  margin-top: 0.95rem;
  display: flex;
  justify-content: center;
}

.pack-end-button-box {
  position: relative;
  display: inline-block;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.pack-end-button {
  width: min(170px, 42vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.pack-end-button-label {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  font-family: "Rakkas", serif;
  font-size: clamp(1.05rem, 3.6vw, 1.45rem);
  letter-spacing: 0.02em;
  color: #fff6ff;
  text-shadow: 0 1px 0 #640e58, 0 0 6px rgba(255, 108, 222, 0.8);
  pointer-events: none;
}

.store-card {
  max-width: 780px;
  margin: 1.3rem auto 0;
  text-align: center;
  background: rgba(16, 12, 34, 0.45);
}

.store-card p {
  margin-top: 0.5rem;
  color: rgba(236, 232, 255, 0.86);
}

.store-instructions {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(191, 183, 255, 0.35);
  background: rgba(14, 10, 34, 0.55);
  text-align: left;
}

.store-instructions h3 {
  margin: 0;
  font-family: "Rakkas", serif;
  font-size: 1.35rem;
  color: #ffe38f;
}

.store-instructions p {
  margin-top: 0.6rem;
  color: rgba(244, 240, 255, 0.9);
  line-height: 1.45;
}

.store-video {
  margin-top: 0.9rem;
  width: min(560px, 100%);
  border-radius: 12px;
  border: 1px solid rgba(191, 183, 255, 0.35);
  background: rgba(8, 6, 18, 0.75);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.store-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.product-grid-frame {
  position: relative;
  padding: 18px 14px;
}

.frame-rose {
  position: absolute;
  width: 58px;
  height: auto;
  pointer-events: none;
  z-index: 7;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.frame-rose--tl { top: -29px;    left: -29px;  width: 62px;  transform: rotate(-15deg); }
.frame-rose--tr { top: -29px;    right: -29px; width: 52px;  transform: scaleX(-1) rotate(8deg); }
.frame-rose--bl { bottom: -29px; left: -29px;  width: 55px;  transform: scaleY(-1) rotate(12deg); }
.frame-rose--br { bottom: -29px; right: -29px; width: 66px;  transform: scale(-1, -1) rotate(-20deg); }

.store-product-grid {
  position: relative;
  z-index: 1;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.store-product-card {
  position: relative;
  border-radius: 14px;
  border: 2px solid #ff49c9;
  background: linear-gradient(180deg, #b66bca 0%, #ad61c2 100%);
  box-shadow: 0 0 0 1px #56114a inset, 0 0 14px rgba(255, 78, 208, 0.48);
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 168px;
  overflow: visible;
  isolation: isolate;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.store-product-card::before {

.store-product-card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: #ff82df;
  box-shadow: 0 0 0 1px #7a1466 inset, 0 0 22px rgba(255, 78, 208, 0.72), 0 12px 28px rgba(0, 0, 0, 0.4);
}

.store-product-card:active {
  transform: translateY(-2px) scale(1.01);
}
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 10px;
  border: 1px solid rgba(80, 11, 64, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 120, 220, 0.82) inset;
  pointer-events: none;
  z-index: 2;
}

.store-product-card::after {
  content: "";
  position: absolute;
  top: 51%;
  left: 50%;
  width: 158px;
  height: 120px;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.56;
  pointer-events: none;
  background:
    radial-gradient(52px 34px at 50% 67%, rgba(255, 255, 255, 0.54) 0 70%, transparent 72%),
    radial-gradient(22px 32px at 32% 22%, rgba(255, 255, 255, 0.5) 0 68%, transparent 70%),
    radial-gradient(22px 32px at 68% 22%, rgba(255, 255, 255, 0.5) 0 68%, transparent 70%);
}

.store-product-image {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 150px;
  height: 100px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 2px 3px rgba(37, 5, 29, 0.55));
}

.store-product-card h3 {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: "Audiowide", sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.95rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffb31f;
  text-shadow: 0 2px 0 rgba(161, 63, 0, 0.88), 0 0 12px rgba(255, 174, 50, 0.8);
  z-index: 6;
}

.store-product-stock {
  position: absolute;
  left: 11px;
  top: 9px;
  margin: 0;
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 180, 225, 0.8);
  background: rgba(58, 18, 58, 0.74);
  color: rgba(255, 230, 246, 0.95);
  font-size: 0.64rem;
  font-weight: 700;
  z-index: 6;
}

.store-product-price {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  min-width: 82px;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 151, 224, 0.8);
  background: rgba(22, 8, 38, 0.9);
  color: #ffd663;
  font-family: "Audiowide", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-shadow: 0 0 8px rgba(255, 202, 71, 0.55);
  z-index: 6;
}

.store-product-empty {
  grid-column: 1 / -1;
  border-radius: 12px;
  border: 1px dashed rgba(203, 192, 255, 0.5);
  background: rgba(15, 11, 36, 0.6);
  padding: 1rem;
  text-align: center;
}

.pack-card {
  position: relative;
  min-height: 130px;
  border-radius: 14px;
  border: 2px solid #ff3fc8;
  background: #c06ac7;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 0 0 1px #5f1053 inset, 0 0 14px rgba(255, 54, 204, 0.45);
  transition: transform 0.22s ease;
  isolation: isolate;
}

.pack-card > * {
  position: relative;
  z-index: 2;
}

.pack-rabbit-shadow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 122px;
  height: 106px;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.58;
  pointer-events: none;
  background:
    radial-gradient(56px 38px at 50% 64%, rgba(255, 255, 255, 0.52) 0 70%, transparent 72%),
    radial-gradient(25px 36px at 32% 18%, rgba(255, 255, 255, 0.48) 0 68%, transparent 70%),
    radial-gradient(25px 36px at 68% 18%, rgba(255, 255, 255, 0.48) 0 68%, transparent 70%);
}

.pack-product-icon {
  position: absolute;
  top: 56%;
  left: 50%;
  width: 108px;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(47, 7, 35, 0.45));
}

.pack-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 10px;
  border: 2px solid #29162f;
  box-shadow: 0 0 0 1px #ff62d8;
  z-index: 3;
  pointer-events: none;
}

.pack-card::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 3px 3px, #ff4ad2 0 2px, transparent 2.2px),
    radial-gradient(circle at calc(100% - 3px) 3px, #ff4ad2 0 2px, transparent 2.2px),
    radial-gradient(circle at 3px calc(100% - 3px), #ff4ad2 0 2px, transparent 2.2px),
    radial-gradient(circle at calc(100% - 3px) calc(100% - 3px), #ff4ad2 0 2px, transparent 2.2px);
  z-index: 4;
  pointer-events: none;
}

.pack-card h3 {
  margin: 0;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  z-index: 5;
  font-family: "Audiowide", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: var(--neon-gold);
  text-shadow: 0 3px 0 rgba(168, 67, 0, 0.9), 0 0 14px rgba(255, 168, 24, 0.75);
}

.pack-price {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  min-width: 88px;
  text-align: center;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 150, 229, 0.7);
  background: rgba(22, 9, 41, 0.88);
  color: #ffea7a;
  font-family: "Audiowide", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-shadow: 0 0 8px rgba(255, 199, 69, 0.55);
}

.pack-card p {
  margin: 0.2rem 0 1.1rem;
  font-weight: 700;
  color: rgba(255, 236, 255, 0.95);
}

.pack-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px #5f1053 inset, 0 0 18px rgba(255, 54, 204, 0.58);
}

.pack-card.is-hot {
  background: #c06ac7;
}

.auth-actions {
  display: flex;
  gap: 0.5rem;
}

.success-msg {
  min-height: 1.2rem;
  color: #8ff2a8;
  font-weight: 500;
}

.logout-form {
  margin: 0;
}

.auth-actions .btn {
  flex: 1;
}

.form-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

input {
  width: 100%;
  border: 1px solid rgba(197, 192, 255, 0.35);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: #f4f2ff;
  background: rgba(16, 11, 39, 0.72);
}

textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: 1px solid rgba(197, 192, 255, 0.35);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: #f4f2ff;
  background: rgba(16, 11, 39, 0.72);
}

input:focus {
  outline: 2px solid color-mix(in srgb, var(--neon-blue) 45%, white);
  border-color: var(--accent);
}

textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--neon-blue) 45%, white);
  border-color: var(--accent);
}

.btn {
  border: 1px solid rgba(204, 198, 255, 0.34);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: #efeafe;
  background: rgba(32, 20, 74, 0.65);
}

.btn-primary {
  background: linear-gradient(90deg, #ff57c8 0%, #ff2ea7 45%, #ff7d35 100%);
  border-color: rgba(255, 187, 227, 0.65);
  color: #fff8ff;
  box-shadow: 0 8px 24px rgba(255, 47, 174, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #ff6dd1 0%, #ff44b1 45%, #ff8f49 100%);
}

.btn-warn {
  background: rgba(95, 37, 37, 0.6);
  border-color: rgba(255, 151, 120, 0.75);
  color: #ffd3c4;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.toolbar p {
  margin-top: 0.25rem;
  color: rgba(228, 222, 255, 0.8);
}

.toolbar-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-tabs {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.admin-tab {
  min-width: 140px;
  border: 1px solid rgba(167, 210, 255, 0.28);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: rgba(234, 245, 255, 0.92);
  background: linear-gradient(180deg, rgba(25, 23, 63, 0.88) 0%, rgba(14, 12, 37, 0.88) 100%);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(136, 228, 255, 0.7);
}

.admin-tab.is-active {
  border-color: rgba(255, 193, 112, 0.78);
  background: linear-gradient(90deg, rgba(255, 87, 200, 0.88) 0%, rgba(255, 46, 167, 0.88) 42%, rgba(255, 125, 53, 0.88) 100%);
  color: #fff8ff;
  box-shadow: 0 8px 24px rgba(255, 47, 174, 0.25);
}

.admin-tab-panel {
  margin-top: 1.2rem;
}

.product-form {
  margin-top: 1rem;
  grid-template-columns: 170px minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.55rem;
  align-items: center;
}

.product-form input[type="hidden"] {
  display: none;
}

.product-form label {
  grid-column: 1;
  font-weight: 600;
}

.product-form input,
.product-form select,
.product-form textarea {
  grid-column: 2;
}

.product-form .success-msg,
.product-form button,
.product-form a.btn {
  grid-column: 1 / -1;
}

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.admin-subsection {
  margin-top: 1.75rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(191, 188, 255, 0.2);
}

.admin-subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-subsection-head h3 {
  margin: 0;
}

.admin-subsection-head p {
  margin-top: 0.25rem;
  color: rgba(228, 222, 255, 0.8);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem;
  text-align: left;
}

th {
  background: rgba(106, 70, 167, 0.45);
}

.hidden {
  display: none;
}

.error-msg {
  min-height: 1.2rem;
  color: #ff9696;
  font-weight: 500;
}

.hint {
  color: rgba(221, 213, 255, 0.78);
}

@media (max-width: 1180px) {
  .layout {
    width: min(1100px, 95vw);
  }

  .webshop-widget {
    position: static;
    top: auto;
    right: auto;
    max-width: 320px;
    width: 100%;
    justify-self: center;
    z-index: auto;
    margin: 0 auto 0.9rem;
  }

  .news-widget {
    position: static;
    top: auto;
    left: auto;
    max-width: 320px;
    width: 100%;
    max-height: none;
    justify-self: center;
    z-index: auto;
    margin: 0 auto 0.9rem;
  }
}

@media (max-width: 640px) {
  .layout {
    margin: 1rem auto;
  }

  .home-card {
    padding: 1rem 0.85rem 1.4rem;
  }

  .home-rabbit-corner {
    width: min(90px, 20vw);
    left: -44px;
  }

  .home-rabbit-right {
    width: min(90px, 20vw);
    right: -44px;
  }

  .home-top-bar {
    min-height: 72px;
  }

  .brand-banner {
    width: 100%;
  }

  .floating-login-btn {
    top: 10px;
    right: 10px;
    font-size: 0.82rem;
    padding: 0.5rem 0.72rem;
  }

  .pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .store-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .store-product-card {
    min-height: 158px;
  }

  .store-product-card h3 {
    top: -15px;
    font-size: clamp(1.15rem, 7vw, 1.55rem);
  }

  .store-product-image {
    width: 150px;
    height: 100px;
  }

  .store-product-stock {
    font-size: 0.58rem;
    padding: 0.08rem 0.33rem;
  }

  .home-shop-layout {
    grid-template-columns: 1fr;
  }

  .webshop-video {
    aspect-ratio: 16 / 9;
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }

  .product-form {
    grid-template-columns: 1fr;
  }

  .product-form label,
  .product-form input,
  .product-form button,
  .product-form a.btn,
  .product-form .success-msg {
    grid-column: auto;
  }

  .toolbar {
    align-items: flex-start;
  }
  
  .home-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tagline-icon {
  width: 24px;
  height: 24px;
}
}
