/* --- UPGRADED DESIGN & RESPONSIVE/ACCESSIBILITY ENHANCEMENTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900;700;600&family=Raleway:ital,wght@1,700&display=swap');
:root {
  --pink: #E75480;
  --pink-dark: #c03964;
  --text: #111;
  --bg: #fff;
  --muted: #F8F6F7;
  --header-height: 80px;
  --nav-padding: 18px;
  --section-pad: 80px;
  --max-width: 1200px;
  --transition: all .18s cubic-bezier(.4,.2,.2,1);
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', 'Raleway', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  margin: 0 0 18px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
}
h1 { font-size: clamp(56px, 7vw, 72px); }
h2 { font-size: clamp(36px, 5vw, 48px); }
h3 { font-size: 28px; font-weight: 700; }
.highlight {
  font-style: italic;
  color: var(--pink);
  font-family: 'Raleway', 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: none;
}
/* --- Button Harmonization --- */
.btn-primary {
  background: var(--pink);
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 9999px;
  padding: 16px 36px;
  font-size: 1.13rem;
  border: none;
  cursor: pointer;
  transition: opacity .18s, box-shadow .18s, transform .18s;
  box-shadow: 0 2px 16px rgba(231,84,128,0.12);
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  opacity: .92;
  transform: scale(1.04);
  outline: 2px solid var(--pink-dark);
  outline-offset: 2px;
}
.btn-ghost {
  background: none;
  color: var(--pink);
  border: 2px solid var(--pink);
  border-radius: 9999px;
  padding: 16px 36px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-ghost:hover, .btn-ghost:focus {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink-dark);
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
/* --- Header/Navbar --- */
header.taesti-navbar {
  position: sticky;
  top: 0; left: 0; width: 100vw;
  background: var(--bg);
  z-index: 99;
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 12px rgba(231,84,128,0.03);
  height: var(--header-height);
  display: flex; align-items: center;
}
.taesti-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.taesti-logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--pink);
  letter-spacing: 0.04em;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.taesti-logo:focus, .taesti-logo:hover { color: #c03964; outline: none; }
.taesti-logo .logo-heart {
  font-size: 1.25em;
  color: var(--pink);
  font-style: italic;
  margin-left: -0.12em;
  margin-right: 0.1em;
  position: relative;
  top: -0.30em;
}
.taesti-nav-center {
  display: flex;
  justify-content: center;
  gap: 2.6rem;
}
.taesti-link {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--text);
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.4rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.taesti-link.active,
.taesti-link[aria-current="page"] {
  color: var(--pink);
  border-bottom: 2px solid var(--pink);
}
.taesti-link:hover, .taesti-link:focus {
  color: var(--pink);
  border-bottom: 2px solid var(--pink);
  outline: none;
}
.taesti-nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.taesti-profile-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 2rem;
  border-radius: 50%;
  transition: box-shadow .18s, transform .18s, background .18s;
  outline: none;
  display: flex; align-items: center;
}
.taesti-profile-btn.active img {
  box-shadow: 0 0 0 3px var(--pink);
}
.taesti-profile-btn img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffe8f0;
  display: block;
  transition: box-shadow .18s, transform .18s;
}
.taesti-profile-btn:focus img,
.taesti-profile-btn:hover img {
  transform: scale(1.07);
  background: var(--pink);
  box-shadow: 0 2px 8px rgba(231,84,128,0.23);
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
/* Hamburger nav */
.taesti-burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 0.22rem;
  cursor: pointer;
  margin-left: 1.5rem;
  padding: .4rem;
}
.taesti-burger-bar {
  display: block;
  width: 28px;
  height: 4px;
  background: var(--pink);
  border-radius: 2px;
}
@media (max-width: 900px) {
  .taesti-nav { grid-template-columns: auto 1fr auto; padding: 0 1rem; }
  .taesti-nav-center { gap: 1.4rem; }
  .taesti-logo { font-size: 2.1rem; }
}
@media (max-width: 700px) {
  .taesti-nav-center {
    display: none;
    position: fixed;
    left: 0;
    top: var(--header-height);
    width: 100vw;
    background: var(--bg);
    box-shadow: 0 4px 24px rgba(231,84,128,0.09);
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
    padding: 2rem 0;
    z-index: 199;
    border-radius: 0 0 32px 32px;
    animation: taesti-slide-in .35s cubic-bezier(.6,-0.28,.74,.05) forwards;
  }
  .taesti-nav-center.open { display: flex; }
  .taesti-burger { display: flex; }
  body.menu-open { overflow: hidden; }
}
@keyframes taesti-slide-in {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Hero Section */
.hero {
  width: 100vw;
  max-width: 100%;
  background: var(--bg);
  padding-top: 3.2rem;
  padding-bottom: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 10;
  padding: 0 1rem;
}
.hero-headline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
}
.hero-title-main {
  color: var(--text);
  letter-spacing: .02em;
}
.hero-title-sub {
  color: var(--pink);
  font-style: italic;
  font-family: 'Raleway', 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 0.12em;
}
.hero-desc {
  font-size: 1.16rem;
  margin-bottom: 2.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
}
.hero-cta {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}
@media (max-width: 700px) {
  .hero-headline { font-size: 2.2rem; }
  .hero-content { max-width: 98vw; }
  .hero-cta { flex-direction: column; gap: 1rem; }
}
/* Marquee */
.marquee {
  width: 100vw;
  overflow: hidden;
  background: var(--muted);
  border-radius: 0 0 32px 32px;
  margin-bottom: 2.5rem;
  font-size: 1.12rem;
  color: var(--pink);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  height: 2.8em;
  display: flex;
  align-items: center;
}
.marquee__track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 14s linear infinite;
  will-change: transform;
  padding-left: 2vw;
  padding-right: 2vw;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Section + grid */
.section {
  max-width: var(--max-width);
  margin: var(--section-pad) auto;
  background: var(--muted);
  border-radius: 2rem;
  padding: 4rem 2rem;
  box-shadow: 0 2px 16px rgba(231,84,128,0.04);
  display: grid;
  gap: 2.8rem;
}
.section-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.3rem;
  margin: 0;
  line-height: 1.1;
  color: var(--text);
  text-transform: uppercase;
}
.section-header .highlight {
  font-style: italic;
  color: var(--pink);
}
.divider {
  width: 80px;
  height: 5px;
  background: var(--pink);
  border-radius: 2px;
  margin: 2rem 0;
}
.section-desc {
  font-size: 1.12rem;
  margin-bottom: 1.3rem;
}
/* Product grid and cards */
.product-list {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  margin-bottom: 2rem;
}
.product-card {
  background: var(--bg);
  border-radius: 1.2em;
  box-shadow: 0 12px 32px rgba(231,84,128,0.08);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  min-height: 350px;
  transition: box-shadow .18s, transform .18s;
  cursor: pointer;
}
.product-card:hover, .product-card:focus-within {
  box-shadow: 0 20px 60px rgba(231,84,128,0.17);
  transform: translateY(-2px) scale(1.02);
}
.product-card img {
  width: 220px;
  max-width: 80vw;
  border-radius: 1em;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.product-card h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 .5rem 0;
  text-align: center;
}
.product-card p {
  text-align: center;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}
.product-card .btn-primary { margin-top: 0.5rem; }
/* Shopify cart overlay */
.cart-drawer {
  position: fixed; right: 0; top: 0; width: min(420px, 90vw); height: 100vh;
  background: var(--bg); box-shadow: -2px 0 12px rgba(0,0,0,0.15);
  transform: translateX(100%); transition: transform .3s ease; z-index: 1500;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.close-cart { position: absolute; top: 1.3rem; right: 1.3rem; background: none; border: none; font-size: 2rem;}
.checkout-btn { display: inline-block; padding: 0.8rem 2.1rem; border: none; background: var(--pink); color: #fff; border-radius: 9999px; margin-top: 2rem; font-size: 1.18rem; font-weight:700; }
.cart-subtotal { font-weight: bold; font-size: 1.25rem; margin-top: 1.5rem; }
.cart-contents { margin-top: 2.5rem; font-size: 1.06rem; }
footer.footer {
  margin-top: var(--section-pad);
  padding: 3.5rem 2rem;
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,.06);
  border-radius: 2rem 2rem 0 0;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 16px rgba(231,84,128,0.04);
}
.taesti-cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 1rem;
  border-radius: 50%;
  transition: box-shadow .18s, transform .18s, background .18s;
  outline: none;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.taesti-cart-btn:focus, .taesti-cart-btn:hover {
  transform: scale(1.07);
  background: #ffe8f0;
  box-shadow: 0 2px 8px rgba(231,84,128,0.23);
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
/* --- ACCESSIBILITY & PERFORMANCE --- */
img {
  loading: lazy;
  max-width: 100%;
  height: auto;
  border-radius: 1em;
}
/* --- MEDIA QUERIES FOR RESPONSIVENESS --- */
@media (max-width: 900px) {
  .section { padding: 2rem 1rem; }
  .product-card { padding: 1.1rem; min-height: 280px; }
}
@media (max-width: 700px) {
  h1 { font-size: 2.2rem; }
  .hero-content { max-width: 98vw; }
  .product-list { grid-template-columns: 1fr; }
  .btn-primary, .btn-ghost { width: 100%; }
  .footer { padding: 2rem 1rem; }
}
/* --- TRANSITIONS FOR ENGAGING FLOW --- */
.section,
.product-card,
.hero-content {
  transition: box-shadow .18s, transform .18s;
}
/* --- FOOTER IMPROVEMENTS --- */
.footer-links .footer-link.active {
  color: var(--pink);
  border-bottom: 2px solid var(--pink);
}
