:root {
  --black: #0a0a0a;
  --ink: #191919;
  --gray-900: #262626;
  --gray-700: #555;
  --gray-500: #888;
  --gray-300: #d8d8d8;
  --gray-200: #eeeeee;
  --gray-100: #f7f7f7;
  --white: #ffffff;
  --line: rgba(0, 0, 0, 0.12);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

body.cart-only-page {
  background: var(--gray-100);
  padding-bottom: 112px;
}

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

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 22px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 2px 0 4px;
  border: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--gray-300);
  background: var(--gray-100);
}

.search span {
  font-size: 23px;
  line-height: 1;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.nav-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.nav-actions button,
.nav-actions .icon-btn,
.favorite {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.cart-link {
  position: relative;
}

.cart-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-link .cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  color: var(--white);
  background: var(--black);
  border-radius: 999px;
  font-size: 11px;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 0 20px 14px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  scroll-behavior: smooth;
  scroll-padding-inline: 42px;
}

.menu a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  scroll-snap-align: center;
}

.menu a.active,
.menu a:hover {
  color: var(--black);
  border-color: var(--black);
}

.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gray-100);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 33%, rgba(255, 255, 255, 0.1) 64%);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 9500ms ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - 1180px) / 2 + 20px));
  padding: 42px 0;
  animation: fadeUp 680ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(54px, 9vw, 116px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: lowercase;
}

.hero p:not(.eyebrow) {
  max-width: 470px;
  margin: 24px 0;
  color: var(--gray-900);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--black);
  font-weight: 800;
  text-transform: uppercase;
}

.btn.primary,
.buy {
  background: var(--black);
  color: var(--white);
}

.buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.76);
}

.btn.light {
  color: var(--black);
  background: var(--white);
}

.quick-links,
.products,
.campaigns,
.catalog-preview,
.catalog-hero,
.catalog-filters,
.catalog-grid,
.model-editorial,
.benefits,
.section-head,
.promo-band,
.reviews-section,
.footer,
.category-hero,
.product-page,
.product-description,
.cart-title,
.cart-layout {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.quick-links,
.section-head,
.products,
.campaigns,
.catalog-preview,
.catalog-hero,
.catalog-filters,
.catalog-grid,
.model-editorial,
.promo-band,
.benefits,
.reviews-section,
.category-hero,
.product-page,
.product-description,
.cart-title,
.cart-layout {
  animation: fadeUp 620ms ease both;
}

.quick-links a {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 22px;
  background: var(--white);
}

.quick-links strong {
  font-size: 18px;
}

.quick-links span {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.4;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 64px 0 22px;
}

.section-head h2,
.promo-band h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.section-head > a {
  border-bottom: 2px solid var(--black);
  font-weight: 800;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 64px;
}

.catalog-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 70px;
  padding: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    url("assets/hero-perfumes.png") center/cover;
}

.catalog-preview h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.catalog-preview p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--gray-700);
  line-height: 1.6;
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: stretch;
  margin-top: 28px;
  padding: 46px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    url("assets/hero-perfumes.png") center/cover;
}

.catalog-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--black);
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
}

.catalog-hero p:not(.eyebrow) {
  max-width: 610px;
  margin: 22px 0;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.6;
}

.catalog-cover {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.92)),
    url("assets/hero-perfumes.png") center/cover;
  box-shadow: var(--shadow);
}

.catalog-cover span,
.catalog-cover small {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-cover strong {
  max-width: 260px;
  font-size: 38px;
  line-height: 0.98;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.catalog-filters a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--gray-100);
  color: var(--gray-900);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-count {
  color: var(--gray-700);
  font-weight: 800;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 28px;
}

.catalog-item {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.catalog-item.featured {
  grid-column: span 2;
}

.catalog-product-link {
  display: grid;
  flex: 1;
  grid-template-rows: auto 1fr;
}

.catalog-item.featured .catalog-product-link {
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 24px;
  align-items: stretch;
}

.catalog-item .product-visual {
  height: 245px;
}

.catalog-item.featured .product-visual {
  height: 100%;
  min-height: 370px;
}

.catalog-info {
  display: flex;
  flex-direction: column;
  padding: 4px 0 16px;
}

.catalog-info h3 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 28px;
  line-height: 1.05;
}

.catalog-info p:not(.tag) {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.5;
}

.catalog-price {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 22px;
}

.catalog-price strong {
  color: var(--black);
  font-size: 26px;
}

.catalog-price span {
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 700;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-link {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  text-decoration: none;
}

.product-visual {
  display: grid;
  place-items: end center;
  height: 210px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at center 82%, rgba(0, 0, 0, 0.14), transparent 25%),
    linear-gradient(145deg, #f8f8f8, #dedede);
}

.product-visual span {
  position: relative;
  display: block;
  width: 76px;
  height: 142px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 16px 16px 10px 10px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.06) 26%, rgba(0, 0, 0, 0.14) 88%);
  box-shadow: 12px 14px 22px rgba(0, 0, 0, 0.16);
  animation: bottleFloat 3600ms ease-in-out infinite;
}

.product-visual span::before {
  content: "";
  position: absolute;
  left: 21px;
  top: -34px;
  width: 34px;
  height: 36px;
  background: linear-gradient(90deg, #111, #888, #222);
}

.product-visual span::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 62px;
  width: 40px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
}

.bottle-one span {
  background-color: #111;
}

.bottle-two span {
  width: 68px;
  border-radius: 10px;
  background-color: #5f5f5f;
}

.bottle-three span {
  background-color: #dcdcdc;
}

.bottle-four span {
  width: 106px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, #111 0 47%, transparent 47% 53%, #d8d8d8 53% 100%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.32), rgba(0, 0, 0, 0.12));
}

.tag {
  width: max-content;
  margin: 0 0 10px;
  padding: 5px 8px;
  color: var(--white);
  background: var(--gray-900);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.description {
  min-height: 44px;
  margin: 0 0 16px;
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.45;
}

.price {
  margin: auto 0 4px;
  color: var(--black);
  font-size: 22px;
  font-weight: 800;
}

.installments {
  margin: 0 0 14px;
  color: var(--gray-700);
  font-size: 13px;
}

.buy {
  min-height: 44px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
}

.buy.large,
.btn.full {
  width: 100%;
  min-height: 52px;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  padding: 54px 0;
}

.gallery {
  animation: fadeUp 620ms ease both;
}

.gallery {
  min-width: 0;
}

.product-hero-bottle {
  height: 560px;
  margin: 0;
  background:
    radial-gradient(circle at center 78%, rgba(0, 0, 0, 0.16), transparent 28%),
    linear-gradient(145deg, #fafafa, #d7d7d7);
}

.product-hero-bottle span {
  width: 150px;
  height: 285px;
  margin-bottom: 70px;
  border-radius: 26px 26px 14px 14px;
}

.product-hero-bottle span::before {
  left: 42px;
  top: -58px;
  width: 66px;
  height: 60px;
}

.product-hero-bottle span::after {
  left: 35px;
  top: 132px;
  width: 80px;
  height: 46px;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.thumb {
  display: grid;
  place-items: end center;
  height: 120px;
  border: 1px solid var(--line);
  background: var(--gray-100);
  cursor: pointer;
  overflow: hidden;
}

.thumb.active {
  border-color: var(--black);
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--black);
}

.thumb span {
  position: relative;
  display: block;
  width: 42px;
  height: 74px;
  margin-bottom: 16px;
  border-radius: 10px 10px 6px 6px;
  box-shadow: 8px 10px 16px rgba(0, 0, 0, 0.12);
}

.thumb span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: -20px;
  width: 18px;
  height: 22px;
  background: linear-gradient(90deg, #111, #888, #222);
}

.product-info {
  align-self: start;
  position: sticky;
  top: 198px;
  animation: fadeUp 720ms ease both;
}

.breadcrumb {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  font-weight: 800;
}

.product-info h1,
.cart-title h1 {
  margin: 6px 0 14px;
  color: var(--black);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.subtitle {
  margin: 0 0 18px;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.5;
}

.rating {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}

.rating span {
  color: var(--gray-700);
  font-weight: 600;
}

.product-price {
  margin: 0 0 4px;
  color: var(--black);
  font-size: 34px;
  font-weight: 800;
}

.purchase-box {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--gray-100);
}

.purchase-box label,
.coupon label,
.cart-qty label,
.freight-box label {
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

select,
.coupon input,
.qty-stepper input,
.freight-box input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--ink);
}

.qty-stepper {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  min-height: 46px;
  border: 1px solid var(--gray-300);
  background: var(--white);
}

.qty-stepper.compact {
  grid-template-columns: 38px 52px 38px;
}

.qty-stepper button {
  border: 0;
  background: var(--gray-100);
  color: var(--black);
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
}

.qty-stepper input {
  min-height: 44px;
  border-width: 0 1px;
  text-align: center;
  font-weight: 800;
}

.freight-box {
  display: grid;
  gap: 8px;
}

.freight-box div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 8px;
}

.freight-box button {
  min-height: 46px;
  border: 0;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.details-grid div {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: var(--white);
}

.details-grid strong {
  font-size: 13px;
}

.details-grid span {
  color: var(--gray-700);
  font-size: 13px;
  line-height: 1.35;
}

.product-description {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  padding: 20px 0 56px;
}

.product-description h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.product-description > p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.7;
}

.reviews-section {
  display: grid;
  gap: 24px;
  padding: 10px 0 18px;
}

.reviews-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.reviews-head h2 {
  max-width: 680px;
  margin: 0;
  color: var(--black);
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1;
}

.review-score {
  display: grid;
  min-width: 180px;
  gap: 4px;
  justify-items: end;
}

.review-score strong {
  color: var(--black);
  font-size: 42px;
  line-height: 1;
}

.review-score span,
.review-meta span {
  color: var(--black);
  font-size: 14px;
  letter-spacing: 0;
}

.review-score small {
  color: var(--gray-700);
  font-weight: 700;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  border: 1px solid var(--line);
  background: var(--white);
}

.review-photo {
  height: 220px;
  margin: 0;
}

.review-photo span {
  width: 62px;
  height: 118px;
  margin-bottom: 24px;
}

.review-content {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.review-meta strong {
  color: var(--black);
  font-size: 16px;
}

.review-content p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.55;
}

.review-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--gray-100);
}

.review-form > div:first-child,
.review-form .star-picker,
.review-form button {
  grid-column: 1 / -1;
}

.review-form h3 {
  margin: 0;
  color: var(--black);
  font-size: 30px;
  line-height: 1;
}

.review-form label {
  align-self: end;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.review-form input,
.review-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}

.star-picker {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-picker label {
  cursor: pointer;
  color: var(--gray-300);
  font-size: 34px;
  line-height: 1;
}

.star-picker label:hover,
.star-picker label:hover ~ label,
.star-picker input:checked ~ label {
  color: var(--black);
}

.cart-page {
  padding-bottom: 44px;
}

.cart-only-page .cart-page {
  padding-top: 10px;
}

.cart-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 54px 0 22px;
}

.cart-title-clean {
  padding-top: 34px;
}

.cart-title span {
  color: var(--gray-700);
  font-weight: 700;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.cart-layout-clean {
  padding-bottom: 30px;
}

.cart-items,
.summary {
  border: 1px solid var(--line);
  background: var(--white);
}

.cart-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 100px 120px;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.cart-line {
  position: relative;
  grid-template-columns: 132px minmax(0, 1fr) 120px 120px auto;
  border-bottom: 1px solid var(--line);
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-product-visual {
  height: 132px;
  margin: 0;
}

.cart-product-visual span {
  width: 48px;
  height: 86px;
  margin-bottom: 18px;
}

.cart-product-visual span::before {
  left: 13px;
  top: -22px;
  width: 22px;
  height: 24px;
}

.cart-product-visual span::after {
  left: 11px;
  top: 38px;
  width: 26px;
  height: 16px;
}

.cart-item h2,
.summary h2 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 22px;
}

.cart-line-info {
  min-width: 0;
}

.cart-item p {
  margin: 0 0 10px;
  color: var(--gray-700);
  line-height: 1.45;
}

.cart-item a {
  border-bottom: 1px solid var(--black);
  font-weight: 800;
}

.cart-item > strong {
  justify-self: end;
  color: var(--black);
  font-size: 18px;
}

.remove-item {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-summary-panel {
  position: sticky;
  top: 20px;
}

.summary {
  display: grid;
  gap: 16px;
  padding: 22px;
  animation: fadeUp 720ms ease both;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.summary-line {
  color: var(--gray-700);
}

.coupon {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-total {
  align-items: baseline;
  color: var(--black);
  font-size: 22px;
  font-weight: 800;
}

.cart-bottom-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  gap: 18px;
  align-items: center;
  padding: 14px max(20px, calc((100vw - 1180px) / 2 + 20px));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
}

.cart-bottom-bar div {
  display: grid;
  gap: 4px;
}

.cart-bottom-bar span {
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-bottom-bar strong {
  color: var(--black);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1;
}

.cart-bottom-bar .buy {
  min-height: 52px;
  padding: 0 28px;
}

.empty-cart {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.empty-cart h2 {
  margin: 0;
  color: var(--black);
  font-size: 30px;
}

.empty-cart p {
  margin: 0;
  color: var(--gray-700);
}

.promo-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  padding: 44px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.68)),
    url("assets/hero-perfumes.png") center/cover;
}

.campaigns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 70px;
}

.category-campaigns {
  margin-bottom: 70px;
}

.campaign-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  overflow: hidden;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78)),
    url("assets/hero-perfumes.png") center/cover;
}

.campaign-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 44%);
}

.campaign-card span,
.campaign-card strong {
  position: relative;
  z-index: 1;
}

.campaign-card span {
  width: max-content;
  padding: 6px 9px;
  color: var(--black);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.campaign-card strong {
  max-width: 310px;
  font-size: 24px;
  line-height: 1.12;
}

.campaign-card.valentine {
  background:
    linear-gradient(180deg, rgba(78, 10, 34, 0.1), rgba(16, 7, 12, 0.84)),
    url("assets/hero-perfumes.png") center/cover;
}

.campaign-card.winter {
  background:
    linear-gradient(180deg, rgba(35, 52, 65, 0.12), rgba(11, 21, 28, 0.86)),
    url("assets/hero-perfumes.png") center/cover;
}

.campaign-card.outlet {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.82)),
    url("assets/hero-perfumes.png") center/cover;
}

.model-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
  padding: 70px 0 0;
}

.editorial-photo {
  min-height: 430px;
  overflow: hidden;
  background: var(--gray-100);
}

.editorial-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.model-editorial h2,
.category-hero h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.96;
}

.model-editorial p:not(.eyebrow),
.category-hero p:not(.eyebrow) {
  max-width: 560px;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.65;
}

.category-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 42px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.62)),
    url("assets/hero-perfumes.png") center/cover;
}

.gift-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.56)),
    url("assets/hero-perfumes.png") center/cover;
}

.outlet-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.48)),
    url("assets/hero-perfumes.png") center/cover;
}

.promo-band .eyebrow,
.promo-band p {
  color: var(--gray-200);
}

.promo-band p:not(.eyebrow) {
  max-width: 540px;
  margin: 14px 0 0;
  line-height: 1.5;
}

.promo-band h2 {
  color: var(--white);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.benefits div {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--gray-100);
}

.benefits strong {
  font-size: 17px;
}

.benefits span {
  color: var(--gray-700);
  line-height: 1.45;
}

.footer {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) minmax(190px, 0.8fr) minmax(260px, 1fr);
  gap: 28px;
  margin-top: 64px;
  padding: 44px 0 50px;
  color: var(--gray-700);
  border-top: 1px solid var(--line);
}

.footer-brand,
.footer-info,
.footer-form {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-form {
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--white), var(--gray-100));
}

.footer-logo {
  width: max-content;
  padding: 0;
  border: 0;
  color: var(--black);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand small,
.footer-info span {
  color: var(--gray-700);
  font-size: 13px;
  line-height: 1.45;
}

.footer-info strong,
.footer-form label {
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-form::after {
  content: "Novidades, ofertas e lancamentos direto no email.";
  color: var(--gray-700);
  font-size: 13px;
  line-height: 1.45;
}

.map-link {
  width: max-content;
  border-bottom: 1px solid var(--black);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
}

.footer-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
  order: 3;
}

.footer-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--gray-300);
  background: var(--white);
}

.footer-form button {
  min-height: 48px;
  border: 0;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 12px 18px;
  justify-content: flex-start;
  color: var(--gray-900);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (hover: hover) {
  .product-card,
  .quick-links a,
  .campaign-card,
  .catalog-item,
  .review-card,
  .catalog-filters a,
  .btn,
  .buy,
  .nav-actions button,
  .nav-actions .icon-btn,
  .favorite,
  .thumb {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
  }

  .product-card:hover,
  .quick-links a:hover,
  .campaign-card:hover,
  .catalog-item:hover,
  .review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }

  .catalog-filters a:hover {
    border-color: var(--black);
    background: var(--white);
  }

  .btn.ghost:hover,
  .nav-actions button:hover,
  .nav-actions .icon-btn:hover,
  .favorite:hover {
    border-color: var(--black);
  }

  .buy:hover,
  .btn.primary:hover {
    background: var(--gray-900);
  }

  .thumb:hover,
  .nav-actions .icon-btn:hover {
    transform: translateY(-2px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}

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

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .search {
    grid-column: 1 / -1;
    order: 3;
  }

  .menu {
    justify-content: safe center;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .hero {
    min-height: 680px;
    align-items: end;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.74) 45%, rgba(255, 255, 255, 0.06) 100%);
  }

  .hero-content {
    margin: 0 auto;
    padding-bottom: 42px;
  }

  .quick-links,
  .products,
  .campaigns,
  .catalog-grid,
  .category-products,
  .model-editorial {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-page,
  .cart-layout,
  .product-description,
  .catalog-hero,
  .model-editorial {
    grid-template-columns: 1fr;
  }

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

  .reviews-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-score {
    justify-items: start;
  }

  .freight-box div {
    grid-template-columns: 1fr;
  }

  .catalog-item.featured,
  .catalog-item.featured .catalog-product-link {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .product-info {
    position: static;
  }

  .cart-item {
    grid-template-columns: 112px 1fr;
  }

  .cart-line {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .cart-qty,
  .cart-item > strong {
    justify-self: stretch;
  }

  .remove-item {
    justify-self: start;
  }

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

@media (max-width: 620px) {
  .nav {
    padding: 14px 16px;
  }

  .brand {
    font-size: 25px;
  }

  .nav-actions button,
  .nav-actions .icon-btn {
    min-width: 44px;
    width: auto;
    height: 38px;
    padding: 0 8px;
    font-size: 10px;
  }

  .nav-actions .cart-link {
    width: 38px;
    min-width: 38px;
    padding: 0;
  }

  .quick-links,
  .products,
  .campaigns,
  .catalog-preview,
  .catalog-hero,
  .catalog-filters,
  .catalog-grid,
  .model-editorial,
  .benefits,
  .section-head,
  .promo-band,
  .footer,
  .category-hero,
  .product-page,
  .product-description,
  .reviews-section,
  .cart-title,
  .cart-layout {
    width: min(100% - 28px, 1180px);
  }

  .quick-links,
  .products,
  .campaigns,
  .catalog-grid,
  .category-products {
    grid-template-columns: 1fr;
  }

  .section-head,
  .promo-band,
  .catalog-preview,
  .footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-form div {
    grid-template-columns: 1fr;
  }

  .catalog-preview,
  .catalog-hero {
    padding: 28px;
  }

  .catalog-cover {
    min-height: 260px;
  }

  .footer nav {
    justify-content: flex-start;
  }

  .promo-band {
    padding: 28px;
  }

  .category-hero {
    min-height: 280px;
    padding: 28px;
  }

  .product-card {
    min-height: auto;
  }

  .product-hero-bottle {
    height: 410px;
  }

  .product-hero-bottle span {
    width: 112px;
    height: 220px;
    margin-bottom: 52px;
  }

  .details-grid,
  .review-form {
    grid-template-columns: 1fr;
  }

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

  .review-card {
    grid-template-rows: 190px 1fr;
  }

  .review-photo {
    height: 190px;
  }

  .cart-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .cart-product-visual {
    height: 180px;
  }

  .cart-bottom-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 14px;
  }

  .cart-bottom-bar .buy {
    width: 100%;
  }

  body.cart-only-page {
    padding-bottom: 150px;
  }
}
