:root {
  --blue: #0d47a1;
  --blue-dark: #083678;
  --turquoise: #48b8c9;
  --purple: #941580;
  --yellow: #ffd580;
  --ink: #28364a;
  --muted: #596779;
  --line: #dde6ed;
  --pale-blue: #eef8fb;
  --white: #fff;
  --display: 'Fredoka One', 'Poppins', sans-serif;
  --body: 'Poppins', sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 15px; line-height: 1.65; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button:disabled { cursor: default; opacity: .55; }
::selection { color: var(--blue-dark); background: #bcebf2; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
input { caret-color: var(--blue); }
img { display: block; max-width: 100%; height: auto; }
svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 20; padding: 12px 20px; color: white; background: var(--blue); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid #edf1f5; background: white; }
.header-content { min-height: 106px; display: flex; align-items: center; gap: 36px; }
.brand { flex: 0 0 205px; }
.brand img { width: 205px; }
.main-nav { margin-left: auto; display: flex; gap: 28px; color: var(--blue-dark); }
.main-nav a { text-decoration: none; font-size: 14px; font-weight: 500; }
.main-nav a:hover { text-decoration: underline; }
.button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 13px 23px; border: 1px solid transparent; border-radius: 9px; color: white; background: var(--blue); text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.5; transition: background-color 160ms var(--ease); }
.button:hover { background: var(--blue-dark); }
.button-small { min-height: 44px; padding: 10px 17px; font-size: 13px; }
.button-outline { background: white; color: var(--blue); border-color: #a3b5d0; }
.button-outline:hover { background: var(--pale-blue); }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 48px; padding-block: 46px 45px; }
.hero-copy { padding-block: 12px; }
.hero h1 { color: var(--blue); font-family: var(--display); font-size: clamp(36px, 4.1vw, 55px); font-weight: 400; line-height: 1.16; letter-spacing: -.025em; }
.hero-copy > p { max-width: 47ch; margin-top: 18px; margin-bottom: 25px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-products { position: relative; min-height: 305px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 15px; align-items: center; padding: 10px 0; }
.hero-feature { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 14px; border-radius: 20px; color: var(--blue-dark); text-decoration: none; }
.hero-feature-main { align-self: start; background: var(--pale-blue); }
.hero-feature-small { margin-top: 55px; background: #f7eef7; }
.hero-feature img { aspect-ratio: 1; width: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 180ms var(--ease); }
.hero-feature:hover img { transform: scale(1.025); }
.hero-feature span { position: relative; padding: 5px 2px 0; font-size: 12px; line-height: 1.5; font-weight: 500; }
.brand-dot { position: absolute; z-index: 1; width: 13px; height: 13px; border-radius: 50%; pointer-events: none; }
.dot-turquoise { top: 3px; left: -9px; width: 18px; height: 18px; background: var(--turquoise); }
.dot-purple { top: 26px; right: 24px; background: var(--purple); }
.dot-yellow { bottom: 0; right: 45%; width: 22px; height: 22px; background: var(--yellow); }
.catalog-section { padding-block: 35px 64px; border-top: 1px solid #edf1f5; }
.catalog-heading { margin-bottom: 24px; }
h2 { color: var(--blue-dark); font-size: 27px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.catalog-heading p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.catalog-tools { display: flex; gap: 28px; align-items: center; }
.search { flex: 1; display: flex; align-items: center; position: relative; min-width: 0; color: var(--muted); }
.search > svg { position: absolute; left: 17px; pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 13px 48px; border: 1px solid #cbd7e2; border-radius: 9px; color: var(--ink); background: white; font-size: 14px; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { border-color: var(--blue); }
.clear-search { display: flex; position: absolute; right: 7px; padding: 7px; border: 0; background: white; border-radius: 6px; }
.sort-control { display: flex; align-items: center; gap: 10px; color: var(--muted); white-space: nowrap; font-size: 12px; }
.sort-control select { min-height: 48px; max-width: 185px; padding: 10px 30px 10px 12px; border: 1px solid #cbd7e2; border-radius: 9px; color: var(--ink); background: white; font-size: 13px; }
.category-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.filter { min-height: 42px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: white; font-size: 13px; transition: background-color 160ms var(--ease); }
.filter.active { background: var(--blue); border-color: var(--blue); color: white; }
.filter:not(.active):hover { color: var(--blue); background: var(--pale-blue); border-color: #a6cfdd; }
.results-bar { display: flex; align-items: center; justify-content: space-between; min-height: 61px; margin-top: 7px; gap: 14px; }
.results-bar p { color: var(--muted); font-size: 12px; }
.text-button { border: 0; padding: 6px 0; color: var(--blue); background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; row-gap: 34px; }
.product-card { min-width: 0; }
.product-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: var(--radius); }
.product-photo { overflow: hidden; border-radius: var(--radius); background: #f6f8fa; aspect-ratio: 1; }
.product-photo > img { width: 100%; height: 100%; object-fit: contain; background: white; }
.product-card .product-photo { padding: 13px; background: #f6f8fa; }
.product-card .product-photo > img { background: #f6f8fa; mix-blend-mode: multiply; transition: transform 180ms var(--ease); }
.product-card-link:hover .product-photo > img { transform: scale(1.035); }
.product-card-copy { padding: 15px 2px 0; flex: 1; display: flex; flex-direction: column; }
.product-category { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.product-card h3 { font-size: 14px; font-weight: 500; line-height: 1.55; text-wrap: initial; overflow-wrap: anywhere; }
.product-price { color: var(--blue-dark); margin-top: 9px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-more { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: auto; padding-top: 11px; color: var(--blue); font-size: 12px; }
.product-more svg { width: 16px; height: 16px; }
.no-photo { width: 100%; height: 100%; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #5f7181; background: #f1f6f8; font-size: 13px; }
.no-photo svg { width: 46px; height: 46px; stroke-width: 1.4; }
.load-more { text-align: center; margin-top: 38px; }
.catalog-feedback { padding-block: 64px; max-width: 65ch; margin-inline: auto; text-align: center; }
.catalog-feedback h1, .catalog-feedback h3 { color: var(--blue-dark); font-size: 26px; line-height: 1.4; }
.catalog-feedback p { margin-block: 15px 24px; color: var(--muted); }
.about-section { display: grid; grid-template-columns: .85fr 1.15fr; column-gap: 80px; padding-block: 52px 66px; border-top: 1px solid var(--line); align-items: center; }
.about-mark { padding: 28px; background: var(--pale-blue); border-radius: 20px; }
.about-mark img { width: 100%; mix-blend-mode: multiply; }
.about-copy h2 { font-family: var(--display); font-size: 29px; font-weight: 400; }
.about-copy p { color: var(--muted); margin-top: 16px; font-size: 14px; max-width: 65ch; }
.text-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 20px; color: var(--blue); font-weight: 600; font-size: 14px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.site-footer { background: var(--blue-dark); color: white; padding-block: 27px; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.footer-content p { font-weight: 600; }
.footer-content p span { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: #d8e8fc; }
.footer-content > div { display: flex; gap: 24px; }
.footer-content a { text-decoration: none; }
.footer-content a:hover { text-decoration: underline; }
.product-main { min-height: 65vh; padding-block: 27px 70px; }
.breadcrumbs { display: flex; gap: 12px; color: var(--muted); margin-bottom: 28px; font-size: 12px; align-items: baseline; }
.breadcrumbs a { flex: 0 0 auto; color: var(--blue); }
.breadcrumbs span:last-child { overflow-wrap: anywhere; }
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.product-gallery { min-width: 0; }
.product-main-photo { padding: 20px; background: #f6f8fa; }
.main-image-link { display: block; width: 100%; height: 100%; }
.main-image-link img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbnails { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.thumbnail { width: 74px; height: 74px; padding: 5px; background: white; border: 2px solid transparent; border-radius: 9px; }
.thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.thumbnail.selected { border-color: var(--blue); }
.thumbnail:not(.selected):hover { border-color: #9cbdcf; }
.detail-category { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.product-information h1 { font-family: var(--body); color: var(--blue-dark); font-size: clamp(25px, 2.7vw, 36px); line-height: 1.3; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: initial; }
.detail-price { margin-top: 21px; color: var(--blue-dark); font-size: 29px; font-weight: 600; font-variant-numeric: tabular-nums; }
.availability { display: flex; gap: 9px; align-items: center; margin-block: 8px 23px; color: var(--muted); font-size: 12px; }
.availability span { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--turquoise); }
.whatsapp-product { width: 100%; }
.share-button { display: flex; align-items: center; justify-content: center; width: 100%; gap: 10px; padding: 14px; border: 0; background: transparent; color: var(--blue); font-size: 13px; }
.share-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.share-link { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
.description { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 16px; font-size: 14px; }
.description h2 { color: var(--ink); font-size: 18px; letter-spacing: 0; margin-bottom: 15px; }
.description p { margin-top: 13px; max-width: 70ch; }
.description strong { font-weight: 600; }
.description ul, .description ol { padding-left: 22px; }
.description li { margin-block: 7px; }
.age-info { display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 25px; font-size: 12px; }
.age-info span { color: var(--muted); }
.age-info strong { font-weight: 500; }
.purchase-note { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.related-section { margin-top: 65px; padding-top: 35px; border-top: 1px solid var(--line); }
.related-section h2 { margin-bottom: 25px; }
.toast { position: fixed; z-index: 10; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 14px 20px; max-width: calc(100% - 32px); width: max-content; border-radius: 9px; color: white; background: var(--blue-dark); font-size: 13px; box-shadow: 0 6px 24px #153d7226; }
@media (min-width: 1600px) { .hero { column-gap: 110px; } }
@media (max-width: 1050px) {
  .container { width: calc(100% - 56px); }
  .header-content { gap: 22px; }
  .main-nav { gap: 18px; }
  .hero { column-gap: 32px; }
  .hero h1 { font-size: 44px; }
  .hero-products { gap: 10px; min-height: 260px; }
  .hero-feature { padding: 10px; border-radius: 16px; }
  .product-grid { column-gap: 18px; }
  .about-section { column-gap: 45px; }
  .product-layout { gap: 36px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  .container { width: calc(100% - 36px); }
  .header-content { min-height: 84px; gap: 16px; justify-content: space-between; }
  .brand { flex-basis: 158px; }
  .brand img { width: 158px; }
  .main-nav { display: none; }
  .header-content .button-small { min-height: 42px; padding: 10px 12px; font-size: 12px; }
  .header-content .button-small svg { width: 19px; height: 19px; }
  .hero { padding-block: 30px 32px; gap: 25px; }
  .hero h1 { font-size: 35px; }
  .hero-copy > p { font-size: 13px; margin-block: 13px 19px; }
  .hero .button { font-size: 12px; padding-inline: 14px; min-height: 46px; }
  .hero-products { grid-template-columns: 1fr; min-height: 0; gap: 0; padding: 0; }
  .hero-feature-main { padding: 10px; }
  .hero-feature-small { display: none; }
  .hero-feature span { font-size: 12px; }
  .dot-purple { top: auto; bottom: -9px; right: 18px; }
  .dot-yellow { display: none; }
  .catalog-section { padding-block: 27px 45px; }
  h2 { font-size: 23px; }
  .catalog-heading p { font-size: 13px; }
  .catalog-tools { gap: 13px; align-items: stretch; }
  .sort-control { gap: 0; }
  .sort-control label { display: none; }
  .sort-control select { font-size: 12px; max-width: 140px; padding-left: 10px; }
  .search input { min-height: 49px; font-size: 12px; padding-left: 41px; }
  .search > svg { width: 19px; height: 19px; left: 13px; }
  .category-filters { flex-wrap: nowrap; overflow-x: auto; gap: 7px; padding: 3px 2px 10px; margin: 12px -2px 0; scrollbar-width: thin; scrollbar-color: #a8c4d0 transparent; }
  .filter { flex: 0 0 auto; font-size: 12px; padding: 9px 13px; }
  .results-bar { min-height: 43px; margin-top: 0; }
  .results-bar p { font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .product-card .product-photo { padding: 9px; border-radius: 12px; }
  .product-card-copy { padding-top: 11px; }
  .product-card h3 { font-size: 13px; }
  .product-price { font-size: 16px; }
  .product-more { font-size: 12px; padding-top: 9px; }
  .product-category { font-size: 12px; }
  .about-section { grid-template-columns: 1fr; gap: 28px; padding-block: 35px 45px; }
  .about-mark { display: none; }
  .about-copy h2 { font-size: 27px; }
  .footer-content { align-items: start; font-size: 12px; }
  .footer-content > div { flex-direction: column; gap: 7px; }
  .product-main { padding-top: 20px; }
  .breadcrumbs { font-size: 12px; margin-bottom: 20px; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .product-main-photo { padding: 18px; }
  .thumbnail { width: 65px; height: 65px; }
  .product-information h1 { font-size: 28px; }
  .detail-price { margin-top: 16px; }
  .related-section { margin-top: 45px; }
}
@media (max-width: 480px) {
  .hero { grid-template-columns: 1.25fr .75fr; gap: 12px; }
  .hero h1 { font-size: clamp(27px, 7.9vw, 36px); }
  .hero-copy > p { font-size: 12px; line-height: 1.7; }
  .hero-feature { padding: 5px 5px 9px; border-radius: 12px; }
  .hero-feature span { padding: 5px 4px; font-size: 12px; }
  .hero .button svg { display: none; }
  .hero-products { align-self: start; margin-top: 13px; }
  .dot-turquoise { width: 12px; height: 12px; left: -5px; top: -7px; }
  .catalog-tools { flex-direction: column; gap: 10px; }
  .sort-control { justify-content: space-between; }
  .sort-control label { display: inline; font-size: 12px; }
  .sort-control select { min-height: 40px; max-width: 180px; font-size: 12px; }
  .search input { min-height: 50px; }
  .catalog-heading { margin-bottom: 19px; }
  .no-photo { min-height: 110px; font-size: 12px; }
  .product-more { font-size: 12px; }
}
@media (max-width: 340px) {
  .header-content { flex-wrap: wrap; padding-block: 10px; }
  .header-content .button-small { width: 100%; }
  .brand { margin-inline: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-products { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card h3 { font-size: 15px; }
  .product-more { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
