:root {
  --text: #191723;
  --bg: #f3f2f8;
  --card: #ffffff;
  --shadow: 0 14px 34px rgba(28, 23, 64, 0.12);
  --sport-main: #ff8f1f;
  --sport-dark: #131117;
  --cos-main: #ffd4e5;
  --cos-dark: #7e3f66;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, #fff 0%, #f3f2f8 40%),
    radial-gradient(circle at 100% 0%, #ffe8f2 0%, #f3f2f8 55%);
}

.topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 14px;
  max-width: 1150px;
  margin: 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

h1, h2, h3, h4 {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 2rem;
  letter-spacing: 0.4px;
  font-weight: 900;
  white-space: nowrap;
}

.title-3b {
  color: #ff6e1f;
}

.title-universe {
  color: #b97b99;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 16px 44px;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: fadeInUp 0.55s ease;
}

.intro {
  max-width: 760px;
  font-size: 1.06rem;
  color: #4b4962;
}

#home .intro {
  max-width: none;
}

/* Preserve admin-entered line breaks in front-end text blocks */
#home-intro,
#about-description,
#sport-hero-description,
#cos-hero-description,
#footer-credits,
#footer-copyright {
  white-space: pre-line;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffffc9;
  border: 1px solid #ebe8f7;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #5a5574;
}

.logo-grid, .product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.logo-card, .product-card, .people-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid #f0edf7;
}

.logo-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.logo-card .action-btn {
  padding: 14px 28px;
  font-size: 1.08rem;
  font-weight: 800;
}

.logo-card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(28, 23, 64, 0.18);
}

.sport-card {
  background: linear-gradient(160deg, #fff 0%, #fff4e3 100%);
}

.cosmetic-card {
  background: linear-gradient(160deg, #fff 0%, #fff0f6 100%);
}

.logo-round {
  display: block;
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 999px;
  margin: 0 auto 14px;
  border: 5px solid #fff;
  box-shadow: 0 14px 24px rgba(16, 11, 37, 0.2);
}

.chip {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #f6f4ff;
  border: 1px solid #e8e4fa;
  color: #544f72;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.action-btn, .back-btn, .cart-button, .contact-nav-button, #cart-close {
  border: none;
  border-radius: 12px;
  padding: 11px 14px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.action-btn:hover, .back-btn:hover, .cart-button:hover, .contact-nav-button:hover, #cart-close:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.action-btn {
  color: #fff;
  background: #2f2b42;
  font-weight: 700;
}

.sport-btn {
  background: linear-gradient(120deg, #ff9f28 0%, #ff7e1d 100%);
}

.cosmetic-btn {
  background: linear-gradient(120deg, #f6b9d1 0%, #eaa6c2 100%);
  color: #5f3150;
}

.back-btn {
  margin-bottom: 14px;
  background: #ffffffb8;
  border: 1px solid #ebe8f5;
}

.cart-button {
  background: linear-gradient(120deg, #2d263c 0%, #4b3d67 100%);
  color: #fff;
  font-weight: 700;
}

.contact-nav-button {
  border: none;
  background: linear-gradient(120deg, #2d263c 0%, #4b3d67 100%);
  color: #fff;
  font-weight: 700;
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: #2d263c;
  font-size: 0.85rem;
}

.sport-theme {
  background: linear-gradient(180deg, #fff 0%, #fff7ee 100%);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid #ffe4c4;
}

.sport-theme h2 {
  color: var(--sport-dark);
}

.cosmetic-theme {
  background: linear-gradient(180deg, #fff 0%, #fff2f7 100%);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid #ffd5e7;
}

.cosmetic-theme h2 {
  color: var(--cos-dark);
}

.hero {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  margin-bottom: 20px;
}

.hero-logo {
  width: 100%;
  max-width: 240px;
  border-radius: 999px;
  border: 6px solid #fff;
  justify-self: center;
  box-shadow: 0 16px 30px rgba(20, 12, 32, 0.2);
}

.hero-sport {
  background: linear-gradient(120deg, #fff 0%, #ffe9cd 100%);
  border: 1px solid #ffd6a2;
  border-radius: var(--radius);
  padding: 18px;
}

.hero-cosmetic {
  background: linear-gradient(120deg, #fff 0%, #ffe8f2 100%);
  border: 1px solid #ffc8de;
  border-radius: var(--radius);
  padding: 18px;
}

.brand-tagline {
  font-weight: 600;
  line-height: 1.55;
  color: #3e3a52;
}

.price {
  font-weight: 700;
  font-size: 1.05rem;
}

.product-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -55px -55px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  z-index: -1;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(28, 23, 64, 0.16);
}

.people-card {
  background: linear-gradient(140deg, #ffffff 0%, #f7f4ff 100%);
}

.founders-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: center;
}

.founders-photos {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.founder-photo-block {
  text-align: center;
}

.founder-photo-block p {
  margin: 6px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b5475;
}

.founder-photo {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 16px rgba(33, 20, 62, 0.16);
}

.founders-description p {
  margin: 0;
  line-height: 1.55;
  color: #47415f;
}

.product-visual {
  height: 170px;
  border-radius: 14px;
  margin: 6px 0 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-visual.with-image {
  padding: 0;
  overflow: hidden;
  display: block;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.sport-visual {
  background: linear-gradient(130deg, #fff3de 0%, #ffd6a3 100%);
  color: #7a4d12;
  border: 1px solid #ffc98a;
}

.cosmetic-visual {
  background: linear-gradient(130deg, #ffedf4 0%, #ffd4e4 100%);
  color: #784568;
  border: 1px solid #ffc2d8;
}

.contact-card {
  margin-top: 24px;
  background: linear-gradient(140deg, #ffffff 0%, #f5f2ff 100%);
  border: 1px solid #e9e4f8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-weight: 700;
  color: #4f4969;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddd7f1;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  margin: 4px auto 18px;
  max-width: 1100px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #f0edf8;
  background: #ffffff8c;
  backdrop-filter: blur(8px);
}

.site-footer p {
  margin-top: 0;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.72rem;
  color: #7e7397;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.footer-links .footer-link:first-child {
  color: #d6711d;
}

.footer-links .footer-link:last-child {
  color: #b97b99;
}

.copyright {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 0.66rem;
  color: #7a6f95;
  letter-spacing: 0.02em;
}

.credits {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 0.67rem;
  color: #8a7ea7;
  font-style: italic;
}

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: min(360px, 100%);
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: -8px 0 18px rgba(0, 0, 0, 0.14);
  border-left: 1px solid #ece8fb;
  padding: 16px;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  z-index: 20;
  backdrop-filter: blur(8px);
}

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

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#cart-items {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 60vh;
  overflow-y: auto;
}

#cart-items li {
  border-bottom: 1px solid #ebebeb;
  padding: 10px 0;
  font-size: 0.95rem;
}

.cart-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-line-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-line-name {
  font-weight: 700;
  color: #2a2540;
}

.cart-line-unit {
  font-size: 0.82rem;
  color: #6f6988;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #d8d2ea;
  background: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: #352d49;
}

.cart-qty-btn:hover {
  background: #f6f4fb;
}

.cart-qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.cart-remove-btn {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e0c4d4;
  background: #fff5f8;
  color: #8a4568;
  font-size: 0.82rem;
  cursor: pointer;
}

.cart-remove-btn:hover {
  background: #fce8ef;
}

.cart-line-total {
  font-weight: 800;
  color: #352d49;
}

.cart-total {
  margin-top: 12px;
}

a {
  color: #2e2745;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.insta-btn {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.insta-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.insta-sport {
  background: linear-gradient(120deg, #ff9d2d 0%, #ff7e1d 100%);
  color: #fff;
  border-color: #ff9d2d;
}

.insta-cosmetic {
  background: linear-gradient(120deg, #f6c1d8 0%, #e9adc9 100%);
  color: #5f3150;
  border-color: #efb9d1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .topbar {
    top: 6px;
    margin: 0 8px;
  }

  main {
    padding-top: 96px;
  }

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

  .topbar-actions {
    gap: 8px;
  }

  .founders-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .logo-round {
    width: 190px;
    height: 190px;
  }

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