:root {
  --pink: #e58fab;
  --deep-pink: #c44773;
  --rose: #fff4f7;
  --green: #48664a;
  --ink: #333333;
  --muted: #777777;
  --line: #ead8dd;
  --cream: #fffaf5;
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(196, 71, 115, 0.36);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(196, 71, 115, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(196, 71, 115, 0);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar {
  background: var(--rose);
  color: #734558;
  font-size: 14px;
}

.topbar-inner,
.header-grid,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar p {
  margin: 10px 0;
}

.socials {
  display: flex;
  gap: 9px;
  align-items: center;
}

.socials a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.socials a:hover {
  transform: translateY(-2px) scale(1.05);
}

.socials img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.site-header {
  background: #ffffff;
  padding: 20px 0;
}

.header-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(190px, 1fr);
}

.search {
  position: relative;
  max-width: 320px;
}

.search input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0 48px 0 18px;
  color: var(--muted);
  outline-color: var(--pink);
}

.search span {
  position: absolute;
  right: 16px;
  top: 50%;
  color: var(--deep-pink);
  font-size: 24px;
  transform: translateY(-52%);
}

.logo {
  width: 130px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo:hover {
  transform: scale(1.025);
}

.hotline {
  justify-self: end;
  color: var(--deep-pink);
  text-align: right;
}

.hotline span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.hotline strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
}

.menu {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--pink);
  box-shadow: 0 5px 18px rgba(196, 71, 115, 0.18);
}

.menu ul {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: block;
  padding: 15px 13px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  transition: background 0.35s ease, color 0.35s ease;
}

.menu a.active,
.menu a:hover {
  background: var(--deep-pink);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08)),
    url("https://tinaflowers.com.vn/thumbs/854x1280x2/upload/photo/img20250311210101-2363.jpg") center 36% / cover;
}

.hero-inner {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(280px, 500px) 1fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--deep-pink);
  font-family: "Times New Roman", "Noto Serif", "DejaVu Serif", serif;
  font-size: 30px;
  font-style: italic;
}

.hero h1,
.page-title h1 {
  margin: 0;
  color: var(--green);
  font-family: "Times New Roman", "Noto Serif", "DejaVu Serif", serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  font-kerning: normal;
  text-rendering: geometricPrecision;
}

.hero p {
  margin: 22px 0 28px;
  max-width: 520px;
  color: #5f5458;
  font-size: 17px;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--deep-pink);
  border-radius: 24px;
  background: var(--deep-pink);
  color: #ffffff;
  font-weight: 700;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease;
}

.btn:hover {
  transform: translateY(-3px);
  background: #b83263;
  box-shadow: 0 14px 26px rgba(196, 71, 115, 0.2);
}

.section {
  padding: 70px 0;
}

.section.soft {
  background: var(--cream);
}

.section-head {
  margin-bottom: 34px;
  text-align: center;
}

.section-head img {
  width: 76px;
  margin: 0 auto 8px;
}

.section-head h2 {
  margin: 0;
  color: var(--green);
  font-family: "Times New Roman", "Noto Serif", "DejaVu Serif", serif;
  font-size: 38px;
  font-kerning: normal;
  text-rendering: geometricPrecision;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--deep-pink);
  font-style: italic;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.intro-grid p,
.content-text p {
  color: #5c5858;
  font-size: 17px;
  line-height: 1.8;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mosaic img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.mosaic img:hover {
  transform: scale(1.018);
  filter: saturate(1.08);
}

.mosaic img:nth-child(2),
.mosaic img:nth-child(3) {
  height: 220px;
}

.category-grid,
.product-grid,
.feature-grid,
.blog-grid {
  display: grid;
  gap: 24px;
}

.category-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.category-card,
.product-card,
.feature-card,
.blog-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(80, 45, 56, 0.08);
}

.category-card,
.feature-card,
.blog-card {
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-card:hover,
.feature-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(80, 45, 56, 0.12);
}

.category-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-card:hover img {
  transform: scale(1.028);
}

.category-card .card-body {
  padding: 20px;
  text-align: center;
}

.category-card h3,
.product-card h3,
.blog-card h3 {
  margin: 0;
  color: var(--green);
  font-size: 20px;
}

.category-card p,
.product-card p,
.blog-card p {
  color: var(--muted);
  line-height: 1.55;
}

.more {
  color: var(--deep-pink);
  font-weight: 700;
}

.product-card {
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(80, 45, 56, 0.12);
}

.product-card img {
  width: 100%;
  aspect-ratio: 275 / 375;
  object-fit: cover;
  background: var(--rose);
  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover img {
  transform: scale(1.026);
  filter: saturate(1.08);
}

.product-info {
  padding: 15px 14px 18px;
  text-align: center;
}

.price {
  margin: 10px 0 0;
  color: var(--deep-pink);
  font-weight: 700;
}

.feature-card {
  padding: 24px;
  text-align: center;
}

.feature-card img {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  object-fit: cover;
  border-radius: 50%;
}

.page-title {
  background:
    linear-gradient(rgba(255, 244, 247, 0.88), rgba(255, 244, 247, 0.88)),
    url("https://tinaflowers.com.vn/thumbs/468x565x1/upload/photo/z76564044011068bbf9d3fb3fba87d2584512e870abfd0-84430.jpg") center / cover;
  padding: 76px 0;
  text-align: center;
}

.breadcrumbs {
  margin: 14px 0 0;
  color: var(--deep-pink);
  font-weight: 700;
}

.content-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.content-panel img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  border-radius: 8px;
}

.contact-band {
  background: var(--rose);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
}

.contact-box input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0 16px;
}

.footer {
  padding: 52px 0;
  background: #3d3436;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  align-items: start;
}

.footer h2 {
  margin: 0 0 18px;
  color: #ffdbe5;
  font-size: 21px;
}

.footer p {
  margin: 8px 0;
  color: #f4e9ec;
  line-height: 1.5;
}

.footer-brand img {
  width: 118px;
  border-radius: 50%;
  animation: softFloat 4.5s ease-in-out infinite;
}

.footer-brand .socials {
  margin: 18px 0;
}

.float-btn {
  position: fixed;
  right: 18px;
  z-index: 30;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--deep-pink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  animation: pulseRing 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.float-btn:hover {
  transform: scale(1.045);
}

.float-btn img {
  width: 28px;
  height: 28px;
}

.float-btn.zalo {
  bottom: 84px;
}

.float-btn.phone {
  bottom: 24px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination span,
.pagination a {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--deep-pink);
  font-weight: 700;
  padding: 0 12px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pagination a:hover,
.pagination a.active {
  background: var(--deep-pink);
  border-color: var(--deep-pink);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .header-grid,
  .intro-grid,
  .content-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .search,
  .hotline {
    justify-self: center;
  }

  .logo {
    justify-self: center;
  }

  .menu-toggle {
    display: block;
    width: 100%;
    padding: 13px 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
  }

  .menu ul {
    display: none;
    flex-direction: column;
    text-align: center;
  }

  .menu.open ul {
    display: flex;
  }

  .category-grid,
  .product-grid,
  .feature-grid,
  .blog-grid,
  .footer-grid,
  .contact-box {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .hero-inner {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .topbar-inner,
  .contact-box,
  .category-grid,
  .product-grid,
  .feature-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .hero {
    background:
      linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72)),
      url("https://tinaflowers.com.vn/thumbs/854x1280x2/upload/photo/img20250311210101-2363.jpg") center top / cover;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 520px;
    text-align: center;
  }

  .hero h1,
  .page-title h1 {
    font-size: 44px;
  }

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