﻿@font-face {
  font-family: 'Futura Cyrillic';
  src: url('./font/FuturaCyrillicLight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Futura Cyrillic';
  src: url('./font/FuturaCyrillicBook.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Futura Cyrillic';
  src: url('./font/FuturaCyrillicMedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Futura Cyrillic';
  src: url('./font/FuturaCyrillicDemi.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Futura Cyrillic';
  src: url('./font/FuturaCyrillicBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Futura Cyrillic';
  src: url('./font/FuturaCyrillicHeavy.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Futura Cyrillic', Arial, sans-serif;
  color: #231815;
  background: #fff;
}

button,
input {
  font: inherit;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #231815;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icon {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-icon:hover {
  opacity: 0.6;
}

.header-icon svg {
  width: 22px;
  height: 22px;
}

.icon-button {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

.shop-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 10px 18px;
  background: linear-gradient(45deg, #0ce39a, #69007f, #fc0987);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  overflow: visible;
  transition: transform 0.2s;
}

.shop-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: #272727;
  border-radius: 9px;
  transition: 0.5s;
}

.shop-btn:hover::before {
  opacity: 0.7;
}

.shop-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #0ce39a, #69007f, #fc0987);
  border-radius: 9px;
  transition: 0.5s;
  opacity: 0;
  filter: blur(20px);
  z-index: 0;
}

.shop-btn:hover::after {
  opacity: 1;
}

.shop-btn:hover {
  transform: translateY(-1px);
}

.shop-btn-content,
.shop-btn-icon {
  position: relative;
  z-index: 1;
}

.shop-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 16, 0.38);
  backdrop-filter: blur(8px);
}

.login-overlay.hidden {
  display: none;
}

.login-modal {
  width: 380px;
  height: 450px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  padding: 45px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: auto;
}

.login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f3f3f3;
  color: #231815;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.login-title {
  font-size: 33px;
  font-weight: 600;
  color: #231815;
}

.login-subtitle {
  font-size: 15px;
  color: #8e8e8e;
  margin-bottom: 18px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.login-label {
  display: block;
  font-size: 14px;
  color: #000000;
  margin-bottom: 6px;
}

.login-input {
  width: 100%;
  height: 42px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #f3f3f3;
  padding: 0 14px 0 0.8em;
  color: #231815;
  outline: none;
  overflow: hidden;
  transition: all 0.5s;
}

.login-input:hover,
.login-input:focus {
  border-color: #ffba3b;
  box-shadow: 0 0 0 7px rgba(212, 202, 176, 0.45);
  background: #fff;
}

.login-link {
  display: inline-block;
  font-size: 14px;
  color: #6f6f6f;
  text-decoration: underline;
  margin-top: 2px;
}

.login-primary,
.login-secondary {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  cursor: pointer;
}

.login-primary {
  background: #231815;
  color: #fff;
  margin-top: 6px;
}

/* ===== Banner ===== */
.banner {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #000;
}

.banner-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.banner-title {
  font-size: 75px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 11px;
}

.banner-subtitle {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 1.5px;
  line-height: 1.8;
  opacity: 0.85;
}

.banner-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  animation: banner-bounce 1.8s ease-in-out infinite;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.banner-scroll-indicator:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.85);
}

.banner-scroll-indicator svg {
  width: 22px;
  height: 22px;
  display: block;
}

@keyframes banner-bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

.banner-snapping {
  overflow: hidden;
}

/* ===== Search Bar ===== */
.search-section {
  padding: 50px 20px 20px;
  display: flex;
  justify-content: center;
  scroll-margin-top: 80px;
}

.search-bar {
  width: 100%;
  max-width: 560px;
  position: relative;
}

.search-main {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-white,
.search-border,
.search-dark-border,
.search-glow {
  inset: 0;
  position: absolute;
  overflow: hidden;
  z-index: -1;
  border-radius: 32px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 56px;
  border-radius: 30px;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #231815;
  padding: 14px 20px 14px 48px;
  font-size: 14px;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, box-shadow 0.3s;
}

.search-input::placeholder {
  color: #aaa;
  letter-spacing: 0.5px;
}

.search-input:focus {
  outline: none;
  border-color: #bca9ef;
  box-shadow: 0 0 0 4px rgba(188, 169, 239, 0.16);
}

.search-main:focus-within > .search-input-mask {
  opacity: 0;
}

.search-input-mask {
  pointer-events: none;
  width: 120px;
  height: 24px;
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96));
  top: 18px;
  left: 74px;
  z-index: 2;
  transition: opacity 0.3s;
}

.search-pink-mask {
  pointer-events: none;
  width: 44px;
  height: 28px;
  position: absolute;
  background: rgba(207, 48, 170, 0.35);
  top: 15px;
  left: 16px;
  filter: blur(18px);
  opacity: 0.7;
  transition: all 2s;
  z-index: 0;
}

.search-main:hover > .search-pink-mask {
  opacity: 0.25;
}

.search-white {
  inset: 2px;
  border-radius: 30px;
  filter: blur(2px);
}

.search-white::before {
  content: "";
  z-index: -2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(83deg);
  position: absolute;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-position: 0 0;
  filter: brightness(1.2);
  background-image: conic-gradient(
    rgba(0, 0, 0, 0) 0%,
    #a099d8,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 0) 50%,
    #dfa2da,
    rgba(0, 0, 0, 0) 58%
  );
  transition: all 2s;
}

.search-border {
  inset: 1px;
  border-radius: 30px;
  filter: blur(0.5px);
}

.search-border::before {
  content: "";
  z-index: -2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(70deg);
  position: absolute;
  width: 600px;
  height: 600px;
  filter: brightness(1.3);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    #1c191c,
    #402fb5 5%,
    #1c191c 14%,
    #1c191c 50%,
    #cf30aa 60%,
    #1c191c 64%
  );
  transition: all 2s;
}

.search-dark-border {
  inset: 0;
}

.search-dark-border::before {
  content: "";
  z-index: -2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(82deg);
  position: absolute;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    rgba(0, 0, 0, 0),
    #18116a,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 0) 50%,
    #6e1b60,
    rgba(0, 0, 0, 0) 60%
  );
  transition: all 2s;
}

.search-main:hover > .search-dark-border::before {
  transform: translate(-50%, -50%) rotate(-98deg);
}

.search-main:hover > .search-glow::before {
  transform: translate(-50%, -50%) rotate(-120deg);
}

.search-main:hover > .search-white::before {
  transform: translate(-50%, -50%) rotate(-97deg);
}

.search-main:hover > .search-border::before {
  transform: translate(-50%, -50%) rotate(-110deg);
}

.search-main:focus-within > .search-dark-border::before {
  transform: translate(-50%, -50%) rotate(442deg);
  transition: all 4s;
}

.search-main:focus-within > .search-glow::before {
  transform: translate(-50%, -50%) rotate(420deg);
  transition: all 4s;
}

.search-main:focus-within > .search-white::before {
  transform: translate(-50%, -50%) rotate(443deg);
  transition: all 4s;
}

.search-main:focus-within > .search-border::before {
  transform: translate(-50%, -50%) rotate(430deg);
  transition: all 4s;
}

.search-glow {
  filter: blur(30px);
  opacity: 0.22;
}

.search-glow::before {
  content: "";
  z-index: -2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(60deg);
  position: absolute;
  width: 999px;
  height: 999px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    #000,
    #402fb5 5%,
    #000 38%,
    #000 50%,
    #cf30aa 60%,
    #000 87%
  );
  transition: all 2s;
}

.search-icon svg {
  display: block;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #231815;
  opacity: 0.4;
}

@keyframes rotate {
  100% {
    transform: translate(-50%, -50%) rotate(450deg);
  }
}

/* ===== Filter Tabs ===== */
.filter-section {
  display: flex;
  justify-content: center;
  padding: 20px 20px 30px;
  gap: 0;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0;
}

.filter-tab {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #231815;
  cursor: pointer;
  background: none;
  border: none;
  position: relative;
  transition: all 0.2s;
}

.filter-tab:hover {
  color: #000;
}

.filter-tab.active {
  background: #D4CAB0;
  color: #231815;
  border-radius: 20px;
}

/* ===== Product Grid ===== */
.products-section {
  padding: 10px 24px 80px;
}

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

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
  outline: none;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s;
  transition-delay: calc(var(--card-index, 0) * 55ms);
}

.products-grid.is-visible .product-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.products-grid.is-visible .product-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.product-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(232, 87, 42, 0.45);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.2s;
  }

  .products-grid.is-visible .product-card:hover {
    transform: none;
  }
}

.product-info {
  padding: 16px 18px 20px;
  background: #F7F7F7;
}

.product-label {
  font-size: 14px;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.product-title {
  font-size: 20px;
  font-weight: 600;
  color: #231815;
}

.product-heart {
  cursor: pointer;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.product-heart:hover {
  transform: scale(1.2);
}

.product-heart svg {
  width: 18px;
  height: 18px;
}

.product-heart.liked svg path {
  fill: #E8572A;
}

.product-divider {
  margin: 14px 0 16px;
  border-top: 1px dashed #E6DDD5;
}

.product-details {
  display: flex;
  align-items: center;
  gap: 0;
  background: #e5e5e5;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  padding: 12px 0;
}

.detail-item {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  background: transparent;
  border-right: 1px solid #BEBEBE;
}

.detail-item:last-child {
  border-right: none;
}

.detail-label {
  font-size: 14px;
  color: #7E7E7E;
  margin-bottom: 4px;
  white-space: nowrap;
}

.detail-value {
  font-size: 14px;
  font-weight: 600;
  color: #231815;
}

/* ===== Footer Spacing ===== */
.footer-space {
  height: 60px;
}

.hidden {
  display: none !important;
}

/* ===== Logged-in Profile Page ===== */
.profile-page {
  min-height: 100vh;
  background: #fff;
  font-size: 10px;
}

.profile-main {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 84px 24px 72px;
}

.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-avatar {
  width: 104px;
  height: 104px;
  margin-bottom: 14px;
  border: 2px solid #111;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-name {
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
  color: #080808;
}

.profile-email {
  margin-top: 10px;
  color: #a4a4a4;
  font-size: 17px;
  line-height: 1;
}

.profile-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 19px;
}

.profile-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 120px;
  height: 30px;
  padding: 0 12px;
  border: none;
  border-radius: 5px;
  background: #efefef;
  color: #111;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.profile-tab:hover {
  transform: translateY(-1px);
}

.profile-tab.active {
  background: #d3c8ad;
}

.profile-recipes {
  margin-top: 34px;
}

.profile-empty {
  margin-top: 30px;
  text-align: center;
  color: #8e8e8e;
  font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 601px) and (max-width: 1400px) {
  .search-section {
    padding: 40px 24px 20px;
  }

  .search-bar {
    max-width: 720px;
  }

  .filter-section {
    padding: 18px 24px 28px;
  }

  .filter-tabs {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .products-section {
    padding: 10px 24px 70px;
  }
}

@media (min-width: 901px) and (max-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-main {
    padding-inline: 28px;
  }

  .products-section {
    padding: 10px 16px 60px;
  }

  .banner-title {
    font-size: 40px;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .header {
    padding: 12px 20px;
  }

  .profile-main {
    padding: 78px 14px 44px;
  }

  .profile-avatar {
    width: 92px;
    height: 92px;
  }

  .profile-name {
    font-size: 28px;
  }

  .profile-tabs {
    gap: 12px;
  }

  .profile-recipes {
    margin-top: 28px;
  }

  .products-section {
    padding: 10px 8px 40px;
  }

  .banner-title {
    font-size: 30px;
    letter-spacing: 4px;
  }

  .product-info {
    padding: 14px 12px 16px;
  }

  .product-title {
    font-size: 18px;
    line-height: 1.2;
  }

  .product-title-row {
    align-items: flex-start;
    gap: 8px;
  }

  .product-details {
    align-items: stretch;
  }

  .detail-item {
    min-width: 0;
    padding: 0 8px;
  }

  .detail-label {
    font-size: 9px;
    line-height: 1.3;
    white-space: normal;
  }

  .detail-value {
    font-size: 11px;
    line-height: 1.2;
    word-break: break-word;
  }

  .filter-tab {
    padding: 8px 14px;
    font-size: 11px;
  }

  .login-modal {
    max-width: 320px;
    padding: 24px 20px;
  }
}

/* ≥1401px 大屏：网格收窄居中，避免 4 列在宽屏下撑得过满；
   该断点专为修复原默认 padding 600px 失控而设，不影响 ≤1400 的现有外观。 */
@media (min-width: 1401px) {
  .products-grid {
    max-width: 1280px;
    margin-inline: auto;
  }
}

/* ===== Recipe Detail Page ===== */
.recipe-page {
  background: #ECECEC;

  /* ---- Layout knobs (change these to resize the page) ---- */
  --recipe-aside-w: 190px;   /* left column (cover image) width */
  --recipe-content-w: 650px; /* right column (white cards) max width */
  --recipe-gap: 14px;        /* gap between left and right columns */
  --recipe-pad-x: 20px;      /* horizontal padding inside <main> */
}

.recipe-main {
  max-width: calc(
    var(--recipe-aside-w) + var(--recipe-gap) +
    var(--recipe-content-w) + var(--recipe-pad-x) * 2
  );
  margin: 0 auto;
  padding: 86px var(--recipe-pad-x) 36px;
}

.recipe-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.recipe-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #231815;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  transition: opacity 0.2s, transform 0.2s;
}

.recipe-back-link:hover {
  opacity: 0.65;
  transform: translateX(-2px);
}

.recipe-back-link svg {
  width: 18px;
  height: 18px;
}

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

.recipe-action-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #DCDCDC;
  color: #231815;
  transition: transform 0.2s, background 0.2s;
  padding: 0;
}

.recipe-action-btn:hover {
  transform: translateY(-1px);
  background: #cfcfcf;
}

.recipe-action-btn svg {
  width: 18px;
  height: 18px;
}

.recipe-action-heart {
  background: #DCDCDC;
}

.recipe-action-heart svg {
  width: 16px;
  height: 16px;
}

.recipe-action-heart svg path {
  fill: #231815;
}

.recipe-action-heart.liked {
  background: #E8572A;
}

.recipe-action-heart.liked svg path {
  fill: #fff;
}

.recipe-share-tip {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  white-space: nowrap;
  background: #231815;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.recipe-share-tip.visible {
  opacity: 1;
  transform: translateY(0);
}

.recipe-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--recipe-aside-w)) minmax(0, var(--recipe-content-w));
  gap: var(--recipe-gap);
  align-items: flex-start;
}

/* ----- Aside ----- */
.recipe-aside {
  position: sticky;
  top: 88px;
}

.recipe-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f0e6;
}

.recipe-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recipe-aside-title {
  margin-top: 18px;
  font-size: 26px;
  font-weight: 700;
  color: #231815;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.recipe-aside-desc {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #2e2e2e;
  letter-spacing: 0.2px;
}

.recipe-tags-block {
  margin-top: 20px;
}

.recipe-tags-label {
  font-size: 13px;
  font-weight: 600;
  color: #231815;
  margin-bottom: 10px;
}

.recipe-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.recipe-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: #4a4541;
  color: #f1ece4;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

/* ----- Content cards ----- */
.recipe-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.recipe-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  min-width: 0;
}

.recipe-block-title {
  font-size: 16px;
  font-weight: 600;
  color: #231815;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.recipe-block-title-center {
  text-align: center;
}

/* Meta Grid (Glass / Ice / Season / Best Time To Use) */
.recipe-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #F4F4F4;
  border-radius: 12px;
  padding: 10px 4px;
  margin-bottom: 22px;
}

.recipe-meta-cell {
  text-align: center;
  padding: 4px 8px;
  border-right: 1px solid #E0E0E0;
}

.recipe-meta-cell:last-child {
  border-right: none;
}

.recipe-meta-cell-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: #9a9a9a;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.recipe-meta-cell-value {
  font-size: 14px;
  font-weight: 600;
  color: #231815;
}

/* Strength & Taste Guide */
/* 让 Taste / Ingredients 两个块在卡片中居中收窄，不影响上方 Meta Grid */
.recipe-taste-block,
.recipe-ingredients-block {
  width: min(100%, 450px);
  margin-inline: auto;
}

.recipe-taste-block {
  margin-bottom: 22px;
}

.recipe-taste {
  position: relative;
  padding: 22px 12px 2px;
}

.recipe-taste-track {
  position: relative;
}

.recipe-taste-segments {
  position: relative;
  height: 14px;
  margin-bottom: 4px;
}

.recipe-taste-seg-label {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 13px;
  color: #6f6f6f;
  letter-spacing: 0.4px;
}

/* 首尾两个标签贴边对齐：Sweet 顶到最左、Dry/Sour 顶到最右 */
.recipe-taste-seg-label:first-child {
  transform: translateX(0);
}

.recipe-taste-seg-label:last-child {
  transform: translateX(-100%);
}

.recipe-taste-rail {
  position: relative;
  height: 2px;
  background: #d8d8d8;
  border-radius: 2px;
}

.recipe-taste-thumb {
  position: absolute;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #231815;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #231815;
  transform: translate(-50%, -50%);
  transition: left 0.4s ease;
}

.recipe-taste-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 2px;
}

.recipe-taste-tick {
  font-size: 11px;
  color: #9a9a9a;
}

/* Ingredients (orange gradient bars) */
.recipe-ingredients {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recipe-ingredient {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 13px;
  color: #231815;
}

.recipe-ingredient:nth-child(1) {
  background: linear-gradient(90deg, #E5D2B2, #DCC09A);
}

.recipe-ingredient:nth-child(2) {
  background: linear-gradient(90deg, #ECBFA1, #E5A98A);
}

.recipe-ingredient:nth-child(3) {
  background: linear-gradient(90deg, #ECA386, #E58A6E);
}

.recipe-ingredient:nth-child(4) {
  background: linear-gradient(90deg, #E88A50, #DE7232);
}

.recipe-ingredient:nth-child(n + 5) {
  background: linear-gradient(90deg, #D5651E, #BF5212);
  color: #fff;
}

.recipe-ingredient-name {
  font-weight: 500;
  font-size: 14px;
}

.recipe-ingredient-amount {
  font-weight: 500;
  font-size: 14px;
}

/* Two-column row: Steps + Video */
.recipe-row-double {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

/* Steps */
.recipe-card-steps {
  padding: 18px 20px 20px;
}

.recipe-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recipe-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recipe-step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #231815;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-step-text {
  flex: 1;
  background: #F2F2F2;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #4a4541;
}

/* Video */
.recipe-card-video {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
}

.recipe-video {
  position: relative;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1310;
  aspect-ratio: 4 / 5;
  min-height: 180px;
}

.recipe-video-poster,
.recipe-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recipe-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform 0.2s, background 0.2s;
}

.recipe-video-play:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%) scale(1.06);
}

.recipe-video-play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

/* Related Products Carousel */
.recipe-card-related {
  padding: 14px 20px 12px;
}

.recipe-related-viewport {
  overflow: hidden;
}

.recipe-related-track {
  display: flex;
  transition: transform 0.4s ease;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.recipe-related-track.is-dragging {
  cursor: grabbing;
}

.recipe-related-item {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 16px;
}

.recipe-related-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f0e6;
}

.recipe-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.recipe-related-name {
  font-size: 14px;
  font-weight: 600;
  color: #231815;
  letter-spacing: 0.3px;
}

.recipe-related-price {
  margin-top: 2px;
  font-size: 13px;
  color: #8a8480;
}

.recipe-related-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  background: #231815;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.recipe-related-buy:hover {
  background: #000;
  transform: translateY(-1px);
}

.recipe-related-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.recipe-related-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8c8c8;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.recipe-related-dot:hover {
  background: #a0a0a0;
}

.recipe-related-dot.active {
  background: #231815;
  transform: scale(1.2);
}

/* 404 */
.recipe-not-found {
  text-align: center;
  padding: 120px 24px;
}

.recipe-not-found h1 {
  font-size: 32px;
  font-weight: 700;
  color: #231815;
  margin-bottom: 12px;
}

.recipe-not-found p {
  color: #7E7E7E;
  margin-bottom: 24px;
}

.recipe-not-found-link {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: #231815;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===== Recipe Page Responsive ===== */
@media (max-width: 920px) {
  .recipe-page {
    --recipe-pad-x: 18px;
  }

  .recipe-main {
    max-width: 760px;
    padding-top: 82px;
    padding-bottom: 30px;
  }

  .recipe-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .recipe-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .recipe-cover {
    aspect-ratio: 1 / 1;
  }

  .recipe-aside-title,
  .recipe-aside-desc,
  .recipe-tags-block {
    grid-column: 2;
  }

  .recipe-aside-title {
    margin-top: 0;
    font-size: 24px;
  }

  .recipe-row-double {
    grid-template-columns: 1fr;
  }

  .recipe-card-video .recipe-video {
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  .recipe-main {
    max-width: 100%;
    padding-inline: 16px;
  }

  .recipe-toolbar {
    margin-bottom: 18px;
  }

  .recipe-card {
    padding: 16px 18px;
  }

  .recipe-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 12px;
  }

  .recipe-meta-cell:nth-child(2n) {
    border-right: none;
  }

  .recipe-meta-cell:nth-child(n + 3) {
    border-top: 1px solid #E0E0E0;
    padding-top: 12px;
  }

  .recipe-card-video .recipe-video {
    min-height: 210px;
  }
}

@media (max-width: 600px) {
  .recipe-main {
    padding: 78px 14px 24px;
  }

  .recipe-toolbar {
    gap: 12px;
  }

  .recipe-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .recipe-card {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .recipe-aside {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .recipe-aside-title,
  .recipe-aside-desc,
  .recipe-tags-block {
    grid-column: 1;
  }

  .recipe-cover {
    width: min(100%, 220px);
    margin: 0 auto;
  }

  .recipe-aside-title {
    text-align: center;
    margin-top: 2px;
    font-size: 24px;
  }

  .recipe-aside-desc {
    text-align: left;
    font-size: 13px;
  }

  .recipe-tags-block {
    margin-top: 4px;
  }

  .recipe-tags-label {
    text-align: center;
  }

  .recipe-tags-list {
    justify-content: center;
  }

  .recipe-tag {
    font-size: 13px;
  }

  .recipe-taste {
    padding-inline: 2px;
  }

  .recipe-ingredient {
    height: auto;
    min-height: 38px;
    gap: 12px;
    padding: 9px 12px;
  }

  .recipe-ingredient-name,
  .recipe-ingredient-amount {
    font-size: 13px;
    line-height: 1.25;
  }

  .recipe-step {
    align-items: flex-start;
  }

  .recipe-step-text {
    padding: 9px 12px;
    font-size: 13px;
  }

  .recipe-card-video .recipe-video {
    aspect-ratio: 4 / 5;
    min-height: 260px;
  }

  .recipe-related-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .recipe-related-thumb {
    width: 64px;
    height: 64px;
  }

  .recipe-related-info {
    min-width: 0;
  }

  .recipe-related-buy {
    height: 36px;
    min-width: 92px;
    padding: 0 16px;
    justify-self: end;
    font-size: 13px;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 380px) {
  .recipe-main {
    padding-inline: 10px;
  }

  .recipe-card {
    padding-inline: 12px;
  }

  .recipe-meta-cell {
    padding-inline: 6px;
  }

  .recipe-meta-cell-label {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .recipe-related-buy {
    height: 32px;
    min-width: 82px;
    padding-inline: 12px;
    font-size: 12px;
  }
}

/* ===== Video Lightbox Modal ===== */
.recipe-card-video {
  cursor: pointer;
}

.recipe-video-modal {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 0;
  background: #1f1410;
  overflow: hidden;
}

.recipe-video-modal.hidden {
  display: none;
}

.recipe-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.recipe-video-modal-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 4;
  cursor: pointer;
  display: none;
  touch-action: none;
  user-select: none;
}

.recipe-video-modal-progress-fill {
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.1s linear;
}

.recipe-video-modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}

.recipe-video-modal-close:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.06);
}

.recipe-video-modal-close svg {
  width: 18px;
  height: 18px;
}

.recipe-video-modal-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 56px;
  min-width: 0;
  z-index: 1;
}

.recipe-video-modal-frame {
  position: relative;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 64px - 110px);
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.recipe-video-modal-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.recipe-video-modal-quick {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.recipe-video-modal-quick-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}

.recipe-video-modal-quick-btn:hover {
  background: rgba(255, 255, 255, 0.36);
  transform: scale(1.06);
}

.recipe-video-modal-quick-btn svg {
  width: 16px;
  height: 16px;
}

.recipe-video-modal-quick-btn .rvm-icon-mute-off {
  display: none;
}

.recipe-video-modal-quick-btn[data-muted="false"] .rvm-icon-mute-on {
  display: none;
}

.recipe-video-modal-quick-btn[data-muted="false"] .rvm-icon-mute-off {
  display: block;
}

.recipe-video-modal-bottom {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  z-index: 2;
}

.recipe-video-modal-time {
  flex: 0 0 auto;
  min-width: 32px;
  text-align: center;
}

.recipe-video-modal-track {
  position: relative;
  flex: 1 1 auto;
  height: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  outline: none;
  touch-action: none;
  user-select: none;
}

.recipe-video-modal-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.recipe-video-modal-track-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  width: 0%;
  background: #fff;
  border-radius: 999px;
}

.recipe-video-modal-track-thumb {
  position: absolute;
  left: 0%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s;
}

.recipe-video-modal-track:hover .recipe-video-modal-track-thumb,
.recipe-video-modal-track:focus-visible .recipe-video-modal-track-thumb,
.recipe-video-modal-track.is-dragging .recipe-video-modal-track-thumb {
  opacity: 1;
}

.recipe-video-modal-side {
  position: relative;
  background: #fff;
  padding: 28px 22px;
  overflow-y: auto;
  z-index: 2;
}

.recipe-video-modal-side-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: #231815;
  text-align: center;
  letter-spacing: 0.4px;
}

.recipe-video-modal-products {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.recipe-video-modal-product-dots {
  display: none;
}

.rvm-product {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 124px;
  padding: 14px;
  border-radius: 16px;
  background: #f2f2f2;
}

.rvm-product-thumb {
  width: 116px;
  height: 94px;
  border-radius: 10px;
  overflow: hidden;
  background: #ece5d6;
}

.rvm-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rvm-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.rvm-product-name {
  font-size: 15px;
  font-weight: 600;
  color: #231815;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.rvm-product-price {
  font-size: 13px;
  color: #8e8579;
}

.rvm-product-buy {
  align-self: flex-end;
  margin-top: 12px;
  min-width: 86px;
  height: 30px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: #231815;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rvm-product-buy:hover {
  background: #000;
}

/* Mobile layout (≤768px): single column, controls move to top */
@media (max-width: 768px) {
  .recipe-video-modal {
    top: 64px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    background: #f1ece2;
  }

  .recipe-video-modal-progress {
    display: block;
    top: 0;
    bottom: auto;
    height: 3px;
  }

  .recipe-video-modal-close {
    top: 14px;
    left: auto;
    right: 14px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: rgba(255, 255, 255, 0.85);
    color: #231815;
    backdrop-filter: blur(4px);
  }

  .recipe-video-modal-close:hover {
    background: #fff;
  }

  .recipe-video-modal-stage {
    padding: 0;
    justify-content: flex-start;
  }

  .recipe-video-modal-frame {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .recipe-video-modal-player {
    width: 100%;
    height: 100%;
  }

  .recipe-video-modal-quick {
    top: 54px;
    right: 14px;
    bottom: auto;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .recipe-video-modal-quick-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    flex: 0 0 32px;
    background: rgba(255, 255, 255, 0.85);
    color: #231815;
  }

  .recipe-video-modal-quick-btn:hover {
    background: #fff;
  }

  .recipe-video-modal-bottom {
    display: none;
  }

  .recipe-video-modal-side {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 18px;
    padding: 0;
    background: transparent;
    overflow: visible;
    z-index: 3;
    pointer-events: none;
  }

  .recipe-video-modal-side-title {
    display: none;
  }

  .recipe-video-modal-products {
    pointer-events: auto;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
  }

  .recipe-video-modal-products::-webkit-scrollbar {
    display: none;
  }

  .rvm-product {
    flex: 0 0 100%;
    scroll-snap-align: start;
    grid-template-columns: 96px minmax(0, 1fr) 118px;
    gap: 18px;
    align-items: center;
    min-height: 148px;
    padding: 24px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
  }

  .rvm-product-thumb {
    width: 96px;
    height: 96px;
    border-radius: 12px;
  }

  .rvm-product-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 18px;
    color: #fff;
  }

  .rvm-product-name {
    grid-column: 1;
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
  }

  .rvm-product-price {
    grid-column: 1;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
  }

  .rvm-product-buy {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    margin-top: 0;
    min-width: 118px;
    height: 46px;
    padding: 0 22px;
    background: #fff;
    color: #231815;
    font-size: 16px;
    letter-spacing: 0.4px;
  }

  .rvm-product-buy:hover {
    background: #fff;
  }

  .recipe-video-modal-product-dots {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 10px;
  }

  .recipe-video-modal-product-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }

  .recipe-video-modal-product-dot.active {
    background: #fff;
    transform: scale(1.15);
  }
}

@media (max-width: 600px) {
  .recipe-video-modal {
    top: 60px;
  }

  .rvm-product {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    min-height: 116px;
    padding: 18px 20px;
    border-radius: 24px;
  }

  .rvm-product-thumb {
    width: 76px;
    height: 76px;
  }

  .rvm-product-info {
    column-gap: 12px;
  }

  .rvm-product-name {
    font-size: 16px;
  }

  .rvm-product-price {
    font-size: 13px;
  }

  .rvm-product-buy {
    min-width: 94px;
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
  }
}
