
/* ==========================================
   MYBENTO_CAKE — PREMIUM BAKERY
   Main Stylesheet
   Font: Montserrat
   ========================================== */

/* ========== 1. VARIABLES ========== */

:root {
  --burgundy: #651326;
  --burgundy-dark: #430c1a;
  --burgundy-light: #87324a;

  --pink: #f7dce4;
  --pink-light: #fff0f3;
  --pink-muted: #e9c9d3;

  --cream: #fff9f7;
  --white: #ffffff;

  --text: #351d26;
  --text-light: #886b75;
  --border: #eddae0;

  --success: #368263;
  --error: #c34e5f;

  --shadow-sm: 0 4px 20px rgba(101, 19, 38, 0.05);
  --shadow-md: 0 12px 35px rgba(101, 19, 38, 0.09);
  --shadow-lg: 0 20px 60px rgba(101, 19, 38, 0.15);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: 0.3s ease;

  --container: 1240px;
}

/* ========== 2. RESET ========== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll,
body.modal-open,
body.cart-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--burgundy-light);
  outline-offset: 3px;
}

::selection {
  background: var(--pink);
  color: var(--burgundy);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--burgundy-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.section-heading h2,
.about-content h2,
.custom-text h2 {
  color: var(--burgundy);
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.25;
}

.section-heading p {
  margin-top: 15px;
  color: var(--text-light);
  font-size: 14px;
}

/* ========== 3. BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 50px;
  padding: 13px 25px;

  border: 1px solid transparent;
  border-radius: 50px;

  font-size: 12px;
  font-weight: 700;
  text-align: center;

  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(101, 19, 38, 0.15);
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  box-shadow: 0 12px 30px rgba(101, 19, 38, 0.23);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-outline:hover {
  color: var(--white);
  background: var(--burgundy);
}

.btn-light {
  background: var(--white);
  color: var(--burgundy);
}

.btn-light:hover {
  background: var(--pink-light);
}

.btn-full {
  width: 100%;
}

/* ========== 4. TOP BAR ========== */

.top-bar {
  background: var(--burgundy);
  color: var(--white);
  text-align: center;
  padding: 9px 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ========== 5. HEADER ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(255, 249, 247, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 49px;
  height: 49px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--burgundy);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.brand-logo span {
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--burgundy);
  letter-spacing: -0.7px;
}

.brand-text small {
  font-size: 8px;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--burgundy);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 2px;
  width: 0;
  background: var(--burgundy);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: flex;
  padding: 4px;
  gap: 3px;
  background: #f1e3e7;
  border-radius: 30px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--burgundy);
  padding: 7px 10px;
  border-radius: 25px;
  font-size: 10px;
  font-weight: 700;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--burgundy);
  color: var(--white);
}

.icon-btn {
  position: relative;
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  background: transparent;
  color: var(--burgundy);

  font-size: 27px;
  transition: transform var(--transition);
}

.icon-btn:hover {
  transform: scale(1.1);
}

.cart-counter {
  position: absolute;
  top: -2px;
  right: -5px;

  min-width: 17px;
  height: 17px;
  padding: 0 4px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);

  font-size: 9px;
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  width: 36px;
  height: 36px;

  border: 0;
  background: transparent;
}

.mobile-menu-btn span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--burgundy);
  border-radius: 10px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== 6. HERO SECTION ========== */

.hero-section {
  position: relative;
  overflow: hidden;

  padding: 85px 0 100px;

  background:
    radial-gradient(
      circle at 80% 25%,
      rgba(247, 220, 228, 0.9),
      transparent 38%
    ),
    linear-gradient(130deg, #fffaf8, #fff0f3);
}

.hero-section::before {
  content: "♡";
  position: absolute;
  left: -20px;
  bottom: -100px;

  color: rgba(101, 19, 38, 0.035);
  font-size: 360px;
  line-height: 1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 9px 15px;
  margin-bottom: 28px;

  border: 1px solid #eacbd4;
  border-radius: 30px;

  background: rgba(255, 255, 255, 0.75);
  color: var(--burgundy);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--burgundy);
  border-radius: 50%;
}

.hero-content h1 {
  max-width: 600px;

  color: var(--burgundy);
  font-size: clamp(34px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.19;
  letter-spacing: -2.5px;
}

.hero-description {
  max-width: 450px;
  margin-top: 25px;

  color: var(--text-light);
  font-size: 15px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 33px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;

  margin-top: 43px;
  font-size: 11px;
  color: var(--burgundy-light);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-width: 0;
  animation: fadeIn 1s ease both;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

.hero-image-placeholder {
  width: 100%;
  min-height: 490px;
  aspect-ratio: 1 / 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;

  border-radius: 48% 48% 24px 24px;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(255,255,255,0.98),
      rgba(247,220,228,0.7) 65%
    );

  border: 9px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-cake-symbol {
  font-size: 140px;
  line-height: 1.4;
  filter: drop-shadow(0 18px 20px rgba(101,19,38,0.12));
  animation: floating 5s ease-in-out infinite;
}

.hero-image-placeholder > span {
  color: var(--burgundy);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-image-placeholder > small {
  color: var(--burgundy-light);
  font-size: 11px;
  letter-spacing: 2px;
}

.hero-floating-label {
  position: absolute;
  left: -30px;
  bottom: 45px;

  display: flex;
  align-items: center;
  gap: 12px;

  background: var(--white);
  padding: 17px 22px;
  border-radius: 17px;
  box-shadow: var(--shadow-md);
}

.floating-heart {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  background: var(--pink-light);
  border-radius: 50%;

  font-size: 26px;
  color: var(--burgundy);
}

.hero-floating-label div {
  display: flex;
  flex-direction: column;
}

.hero-floating-label strong {
  color: var(--burgundy);
  font-size: 11px;
}

.hero-floating-label small {
  color: var(--text-light);
  font-size: 9px;
  margin-top: 3px;
}

/* ========== 7. BENEFITS ========== */

.benefits-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding-block: 32px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 17px;
}

.benefit-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--pink-light);
  color: var(--burgundy);
  border-radius: 15px;
  font-size: 25px;
}

.benefit h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 3px;
}

.benefit p {
  color: var(--text-light);
  font-size: 10px;
  line-height: 1.6;
}

/* ========== 8. CATEGORIES ========== */

.categories-section {
  background: var(--cream);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 13px;
  padding: 17px 13px 20px;

  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);

  text-align: center;
  cursor: pointer;
  overflow: hidden;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink-muted);
  box-shadow: var(--shadow-md);
}

.category-card.active {
  border-color: var(--burgundy);
}

.category-image,
.category-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  border-radius: 14px;

  background: linear-gradient(
    145deg,
    #fff0f4,
    #f3d6df
  );
}

.category-image img,
.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-emoji {
  font-size: clamp(39px, 5vw, 60px);
  line-height: 1;
}

.category-card h3,
.category-name {
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.category-count {
  color: var(--text-light);
  font-size: 10px;
}

/* ========== 9. CATALOG ========== */

.catalog-section {
  background: #fff0f3;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}

.catalog-search-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.catalog-search-wrap input {
  width: 100%;
  height: 48px;

  padding: 12px 18px 12px 43px;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;

  color: var(--text);
  font-size: 12px;
  outline: none;

  transition: border-color var(--transition);
}

.catalog-search-wrap input:focus {
  border-color: var(--burgundy);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--burgundy);
  font-size: 25px;
  line-height: 1;
}

.catalog-sort {
  min-height: 48px;
  padding: 10px 36px 10px 15px;

  background: var(--white);
  color: var(--burgundy);
  border: 1px solid var(--border);
  border-radius: 12px;

  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.category-filters {
  display: flex;
  gap: 9px;
  overflow-x: auto;

  padding-bottom: 14px;
  margin-bottom: 25px;

  scrollbar-width: thin;
  scrollbar-color: var(--pink-muted) transparent;
}

.filter-btn,
.category-filter {
  flex-shrink: 0;

  padding: 10px 17px;
  border: 1px solid #e8c5d0;
  border-radius: 30px;

  background: var(--white);
  color: var(--burgundy);

  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
}

.filter-btn:hover,
.category-filter:hover {
  background: #f9e1e8;
}

.filter-btn.active,
.category-filter.active {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
}

/* Product cards generated by JavaScript */

.product-card {
  position: relative;
  min-width: 0;

  background: var(--white);
  border: 1px solid rgba(101,19,38,0.06);
  border-radius: 19px;
  overflow: hidden;

  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.product-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  aspect-ratio: 1 / 1;

  background: linear-gradient(
    145deg,
    #fcebf0,
    #f3dce3
  );

  overflow: hidden;
  cursor: pointer;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.07);
}

.product-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;

  width: 100%;
  height: 100%;

  color: var(--burgundy);
  text-align: center;
}

.product-placeholder span {
  font-size: clamp(42px, 5vw, 73px);
}

.product-placeholder small {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-light);
}

.product-tag {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;

  padding: 7px 11px;
  border-radius: 20px;

  background: rgba(255,255,255,0.94);
  color: var(--burgundy);

  font-size: 9px;
  font-weight: 700;
}

.favorite-btn {
  position: absolute;
  z-index: 3;
  right: 12px;
  top: 12px;

  width: 33px;
  height: 33px;

  border: 0;
  border-radius: 50%;

  background: rgba(255,255,255,0.95);
  color: var(--burgundy);

  font-size: 20px;
  display: grid;
  place-items: center;
}

.favorite-btn.active {
  background: var(--burgundy);
  color: var(--white);
}

.product-info {
  padding: 18px;
}

.product-category {
  display: block;
  margin-bottom: 7px;

  color: var(--text-light);
  font-size: 9px;
  font-weight: 600;
}

.product-title {
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.product-description {
  color: var(--text-light);
  font-size: 10px;
  line-height: 1.7;
  min-height: 34px;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;

  padding-top: 16px;
  margin-top: 13px;
  border-top: 1px solid var(--border);
}

.product-price {
  display: flex;
  flex-direction: column;
  color: var(--burgundy);
  font-size: 14px;
  font-weight: 800;
}

.product-price small {
  color: var(--text-light);
  font-size: 9px;
  font-weight: 500;
}

.product-add-btn,
.product-select-btn {
  border: 0;
  background: var(--burgundy);
  color: var(--white);

  padding: 11px 13px;
  border-radius: 11px;

  font-size: 10px;
  font-weight: 700;
  transition: var(--transition);
}

.product-add-btn:hover,
.product-select-btn:hover {
  background: var(--burgundy-dark);
}

.catalog-bottom {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  font-size: 55px;
  color: var(--burgundy-light);
  line-height: 1.3;
}

.empty-state h3 {
  color: var(--burgundy);
  font-size: 18px;
  margin: 10px 0;
}

.empty-state p {
  color: var(--text-light);
  font-size: 12px;
}

/* ========== 10. PRICING ========== */

.pricing-section {
  background: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 970px;
  margin: 0 auto;
}

.price-card {
  position: relative;

  padding: 45px 25px 35px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--white);
  text-align: center;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.size-label {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--burgundy-light);
}

.price-card.featured .size-label {
  color: var(--pink);
}

.price-card h3 {
  margin: 15px 0 7px;
  font-size: 65px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--burgundy);
}

.price-card.featured h3 {
  color: var(--white);
}

.price-value {
  font-size: 23px;
  font-weight: 800;
  color: var(--burgundy);
}

.price-card.featured .price-value {
  color: var(--white);
}

.price-card p {
  margin-top: 8px;
  color: var(--text-light);
  font-size: 11px;
}

.price-card.featured p {
  color: #edc9d4;
}

.price-card-link {
  display: inline-block;
  margin-top: 25px;

  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
}

.price-card.featured .price-card-link {
  color: var(--white);
}

.pricing-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  max-width: 760px;
  padding: 18px 22px;
  margin: 35px auto 0;

  background: var(--pink-light);
  border-radius: 15px;
  color: var(--burgundy);
}

.pricing-note span {
  font-size: 26px;
}

.pricing-note p {
  font-size: 11px;
  line-height: 1.7;
}

/* ========== 11. CUSTOM CAKE SECTION ========== */

.custom-section {
  padding: 25px 0 80px;
  background: var(--cream);
}

.custom-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 20px;

  min-height: 310px;
  padding: 55px 70px;

  border-radius: 30px;
  background: linear-gradient(
    120deg,
    var(--burgundy),
    #823049
  );

  color: var(--white);
  overflow: hidden;
}

.custom-text {
  max-width: 660px;
}

.custom-text .section-eyebrow {
  color: #f4cbd6;
}

.custom-text h2 {
  color: var(--white);
  font-size: clamp(25px, 3vw, 39px);
}

.custom-text p {
  max-width: 500px;
  margin: 19px 0 25px;
  color: #f6dfe6;
  line-height: 1.9;
  font-size: 12px;
}

.custom-decoration {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: rgba(255,255,255,0.75);
  text-align: center;
}

.custom-heart {
  font-size: 185px;
  font-weight: 400;
  line-height: 1;
  animation: floating 6s ease-in-out infinite;
}

.custom-decoration span {
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 8px;
}

/* ========== 12. ORDER STEPS ========== */

.steps-section {
  background: #fff0f3;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  position: relative;

  padding: 35px 24px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border);

  text-align: center;
}

.step-number {
  position: absolute;
  right: 16px;
  top: 15px;

  font-size: 25px;
  font-weight: 800;
  color: #f0dce2;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 65px;
  height: 65px;

  margin: 0 auto 22px;
  background: var(--pink-light);
  color: var(--burgundy);
  border-radius: 20px;
  font-size: 31px;
}

.step-card h3 {
  color: var(--burgundy);
  font-size: 13px;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-light);
  font-size: 11px;
  line-height: 1.8;
}

/* ========== 13. ABOUT ========== */

.about-section {
  background: var(--cream);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.about-image-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;

  min-height: 450px;
  padding: 35px;

  border-radius: 45% 45% 25px 25px;
  background: linear-gradient(
    145deg,
    #f5d6df,
    #fff1f4
  );

  color: var(--burgundy);
  text-align: center;
}

.about-image-placeholder span {
  font-size: 135px;
  line-height: 1;
}

.about-image-placeholder strong {
  font-size: 24px;
  font-weight: 800;
}

.about-image-placeholder small {
  font-size: 11px;
  letter-spacing: 2px;
}

.about-content p {
  max-width: 480px;
  margin-top: 25px;

  color: var(--text-light);
  font-size: 13px;
  line-height: 2;
}

.about-signature {
  margin-top: 28px;

  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  color: var(--burgundy);
}

.text-link {
  display: inline-block;
  margin-top: 25px;

  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--burgundy);
  padding-bottom: 5px;
}

/* ========== 14. CONTACTS ========== */

.contact-section {
  background: #fff0f3;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}

.contact-card {
  padding: 37px 25px;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;

  text-align: center;
}

.contact-icon {
  display: grid;
  place-items: center;

  width: 65px;
  height: 65px;
  margin: 0 auto 20px;

  background: var(--pink-light);
  border-radius: 20px;

  color: var(--burgundy);
  font-size: 29px;
}

.contact-card h3 {
  color: var(--burgundy);
  font-size: 14px;
  margin-bottom: 13px;
}

.contact-card p {
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.9;
}

.contact-card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
}

.delivery-note {
  max-width: 700px;
  margin: 35px auto 0;
  text-align: center;
  color: var(--burgundy-light);
  font-size: 11px;
  line-height: 1.8;
}

/* ========== 15. FOOTER ========== */

.site-footer {
  background: var(--burgundy-dark);
  color: var(--white);
  padding-top: 65px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr;
  gap: 45px;
  padding-bottom: 55px;
}

.footer-brand h2 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}

.footer-brand p {
  margin-top: 10px;
  color: #dcb3bf;
  font-size: 11px;
}

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links a,
.footer-social a {
  color: #eed4dd;
  font-size: 11px;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;

  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.15);

  color: #d7afbb;
  font-size: 10px;
}

/* ========== 16. DIALOGS ========== */

dialog {
  max-width: calc(100% - 30px);
  max-height: calc(100dvh - 30px);

  margin: auto;
  border: none;
  padding: 0;

  border-radius: 24px;
  background: var(--white);
  color: var(--text);

  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

dialog::backdrop {
  background: rgba(25, 7, 14, 0.65);
  backdrop-filter: blur(5px);
}

.product-dialog {
  width: 940px;
}

.dialog-close {
  display: grid;
  place-items: center;

  width: 35px;
  height: 35px;

  border: 0;
  border-radius: 50%;
  background: #f6e8ec;
  color: var(--burgundy);

  font-size: 25px;
  line-height: 1;
  transition: var(--transition);
}

.dialog-close:hover {
  background: var(--burgundy);
  color: var(--white);
}

.product-dialog > .dialog-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 5;
}

.product-dialog-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
}

.product-dialog-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 500px;
  padding: 30px;

  background: linear-gradient(
    145deg,
    #fff0f4,
    #f0d4de
  );

  color: var(--burgundy);
}

.product-dialog-image > span {
  font-size: 100px;
}

.product-dialog-image > small {
  color: var(--text-light);
  font-size: 11px;
}

.product-dialog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-dialog-content {
  padding: 48px 35px 35px;
}

.product-category-label {
  color: var(--burgundy-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-dialog-content h2 {
  margin: 12px 0;
  color: var(--burgundy);
  font-size: 25px;
  line-height: 1.3;
}

.product-dialog-content > p {
  color: var(--text-light);
  font-size: 12px;
  margin-bottom: 24px;
}

/* ========== 17. FORMS ========== */

.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 19px;
}

.form-field label,
.size-fieldset legend,
.delivery-fieldset legend {
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 45px;

  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--white);
  color: var(--text);
  font-size: 12px;

  outline: none;
  transition: border-color var(--transition);
}

.form-field textarea {
  resize: vertical;
  min-height: 83px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--burgundy);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #ad98a0;
}

.form-field small {
  color: var(--text-light);
  font-size: 10px;
  line-height: 1.6;
}

.size-fieldset,
.delivery-fieldset {
  border: none;
  min-width: 0;
  margin-bottom: 22px;
}

.size-fieldset legend,
.delivery-fieldset legend {
  margin-bottom: 12px;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.size-option {
  display: block;
  cursor: pointer;
}

.size-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.size-option span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;

  padding: 13px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;

  background: var(--white);
  color: var(--burgundy);
  transition: var(--transition);
}

.size-option strong {
  font-size: 17px;
}

.size-option small {
  font-size: 10px;
  white-space: nowrap;
}

.size-option input:checked + span {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.size-option input:focus-visible + span {
  outline: 3px solid var(--burgundy-light);
  outline-offset: 2px;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  margin: 12px 0 8px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
}

.product-price-row span {
  color: var(--text-light);
  font-size: 11px;
}

.product-price-row strong {
  color: var(--burgundy);
  font-size: 21px;
}

.product-price-note {
  margin-bottom: 17px;
  color: var(--text-light);
  font-size: 10px;
  line-height: 1.7;
}

/* ========== 18. CART DRAWER ========== */

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;

  background: rgba(22, 6, 12, 0.55);
  opacity: 0;
  transition: opacity var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 201;

  display: flex;
  flex-direction: column;

  width: min(100%, 440px);
  height: 100vh;
  height: 100dvh;

  background: var(--white);
  box-shadow: var(--shadow-lg);

  transform: translateX(105%);
  visibility: hidden;

  transition:
    transform 0.35s ease,
    visibility 0.35s ease;
}

.cart-drawer.active,
.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;

  padding: 25px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h2 {
  color: var(--burgundy);
  font-size: 19px;
}

.drawer-close-btn {
  width: 35px;
  height: 35px;

  display: grid;
  place-items: center;

  background: var(--pink-light);
  border: none;
  border-radius: 50%;

  color: var(--burgundy);
  font-size: 25px;
}

.cart-items {
  flex: 1;
  min-height: 0;
  padding: 20px;
  overflow-y: auto;
}

.cart-empty {
  padding: 65px 25px;
  text-align: center;
}

.cart-empty h3 {
  margin: 15px 0 8px;
  color: var(--burgundy);
  font-size: 19px;
}

.cart-empty p {
  color: var(--text-light);
  font-size: 12px;
  margin-bottom: 25px;
}

.cart-item {
  display: flex;
  gap: 13px;

  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-image {
  flex: 0 0 85px;
  width: 85px;
  height: 90px;

  display: grid;
  place-items: center;

  background: var(--pink-light);
  border-radius: 12px;
  overflow: hidden;
  font-size: 40px;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-details h3 {
  color: var(--burgundy);
  font-size: 12px;
  margin-bottom: 5px;
}

.cart-item-details p {
  color: var(--text-light);
  font-size: 10px;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.cart-item-price {
  margin-top: 8px;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 800;
}

.cart-remove-btn {
  align-self: flex-start;
  border: none;
  background: transparent;
  color: var(--error);
  font-size: 20px;
}

.cart-footer {
  padding: 22px 25px;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 9px;
}

.cart-total span {
  color: var(--text-light);
  font-size: 11px;
}

.cart-total strong {
  color: var(--burgundy);
  font-size: 20px;
}

.cart-footer > small {
  display: block;
  color: var(--text-light);
  font-size: 10px;
  margin-bottom: 17px;
}

/* ========== 19. CHECKOUT ========== */

.checkout-dialog {
  width: 570px;
  padding: 30px;
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}

.checkout-header h2 {
  color: var(--burgundy);
  font-size: 22px;
}

.checkout-intro {
  color: var(--text-light);
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.checkout-summary {
  padding: 18px;
  margin-bottom: 24px;
  border-radius: 13px;
  background: var(--pink-light);
  font-size: 11px;
}

.checkout-summary h3 {
  color: var(--burgundy);
  font-size: 13px;
  margin-bottom: 12px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  color: var(--text);
  font-size: 11px;
}

.delivery-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.delivery-fieldset legend {
  width: 100%;
}

.delivery-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 11px;
  font-weight: 600;
  color: var(--burgundy);
  cursor: pointer;
}

.delivery-option input,
.consent-label input {
  accent-color: var(--burgundy);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin: 20px 0;
  color: var(--text-light);
  font-size: 10px;
  line-height: 1.7;
  cursor: pointer;
}

.consent-label input {
  margin-top: 3px;
  flex-shrink: 0;
}

.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  padding: 17px 0;
  margin-bottom: 15px;

  border-top: 1px solid var(--border);
}

.checkout-total span {
  color: var(--text-light);
  font-size: 12px;
}

.checkout-total strong {
  color: var(--burgundy);
  font-size: 21px;
}

.checkout-disclaimer {
  margin-top: 15px;
  color: var(--text-light);
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
}

/* ========== 20. TOAST NOTIFICATION ========== */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 500;

  min-width: 230px;
  max-width: calc(100% - 30px);
  padding: 15px 25px;

  background: var(--burgundy);
  color: var(--white);
  border-radius: 14px;

  box-shadow: var(--shadow-lg);
  text-align: center;
  font-size: 12px;
  font-weight: 600;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translate(-50%, 20px);
  transition: var(--transition);
}

.toast.show,
.toast.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast.error {
  background: var(--error);
}

/* ========== 21. ANIMATIONS ========== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-13px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 22. TABLET RESPONSIVE ========== */

@media (max-width: 1100px) {

  .header-inner {
    gap: 17px;
  }

  .main-nav {
    gap: 16px;
  }

  .nav-link {
    font-size: 10px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .hero-container {
    gap: 35px;
  }

  .hero-image-placeholder {
    min-height: 380px;
  }

  .categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-container {
    gap: 45px;
  }
}

@media (max-width: 900px) {

  .section {
    padding: 75px 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 15px 25px 25px;

    background: var(--cream);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .main-nav.active,
  .main-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 14px 0;
    font-size: 12px;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }

  .hero-section {
    padding: 65px 0 85px;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .hero-content h1 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-image-placeholder {
    min-height: 300px;
  }

  .hero-cake-symbol {
    font-size: 100px;
  }

  .hero-floating-label {
    left: -10px;
    bottom: 25px;
    padding: 12px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-image-placeholder {
    min-height: 350px;
  }

  .footer-main {
    gap: 25px;
  }
}

/* ========== 23. MOBILE RESPONSIVE ========== */

@media (max-width: 650px) {

  .container {
    width: min(100% - 30px, var(--container));
  }

  .section {
    padding: 65px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 27px;
    letter-spacing: -0.8px;
  }

  .section-heading p {
    font-size: 11px;
  }

  .top-bar {
    padding: 8px 0;
    font-size: 9px;
  }

  /* HEADER */

  .header-inner {
    min-height: 69px;
    gap: 9px;
  }

  .brand {
    gap: 7px;
  }

  .brand-logo {
    width: 39px;
    height: 39px;
  }

  .brand-logo span {
    font-size: 12px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text small {
    font-size: 7px;
    letter-spacing: 0.5px;
  }

  .header-actions {
    gap: 4px;
  }

  .language-switcher {
    gap: 1px;
    padding: 3px;
  }

  .lang-btn {
    font-size: 8px;
    padding: 6px;
  }

  .icon-btn {
    width: 30px;
    height: 33px;
    font-size: 24px;
  }

  .search-btn {
    display: none;
  }

  .cart-counter {
    right: -3px;
  }

  .mobile-menu-btn {
    width: 30px;
  }

  /* HERO */

  .hero-section {
    padding: 45px 0 60px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 38px;
  }

  .hero-content {
    width: 100%;
    text-align: center;
  }

  .hero-badge {
    margin-bottom: 22px;
    font-size: 8px;
  }

  .hero-content h1 {
    max-width: 480px;
    margin-inline: auto;

    font-size: clamp(31px, 7.5vw, 43px);
    letter-spacing: -1.7px;
  }

  .hero-description {
    max-width: 420px;
    margin: 17px auto 0;
    font-size: 12px;
    line-height: 1.9;
  }

  .hero-buttons {
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
  }

  .hero-buttons .btn {
    min-height: 46px;
    padding: 12px 16px;
    font-size: 10px;
  }

  .hero-features {
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
    font-size: 9px;
  }

  .hero-visual {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .hero-image-placeholder {
    min-height: 330px;
    border-radius: 45% 45% 22px 22px;
  }

  .hero-cake-symbol {
    font-size: 115px;
  }

  .hero-floating-label {
    left: 4px;
    bottom: -15px;
  }

  /* BENEFITS */

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 25px;
  }

  .benefit {
    gap: 13px;
  }

  .benefit-icon {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    font-size: 23px;
  }

  .benefit h3 {
    font-size: 11px;
  }

  .benefit p {
    font-size: 10px;
  }

  /* CATEGORIES */

  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-card {
    padding: 10px 10px 15px;
    gap: 8px;
    border-radius: 15px;
  }

  .category-image,
  .category-card-image {
    border-radius: 11px;
  }

  .category-emoji {
    font-size: 46px;
  }

  .category-card h3,
  .category-name {
    font-size: 11px;
  }

  .category-count {
    font-size: 9px;
  }

  /* CATALOG */

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .catalog-search-wrap {
    max-width: none;
  }

  .catalog-sort {
    width: 100%;
  }

  .category-filters {
    margin-bottom: 17px;
    gap: 7px;
  }

  .filter-btn,
  .category-filter {
    padding: 9px 13px;
    font-size: 9px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-info {
    padding: 12px;
  }

  .product-category {
    font-size: 8px;
  }

  .product-title {
    font-size: 11px;
    line-height: 1.5;
  }

  .product-description {
    font-size: 9px;
    min-height: 30px;
  }

  .product-tag {
    top: 8px;
    left: 8px;
    padding: 5px 8px;
    font-size: 8px;
  }

  .favorite-btn {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 17px;
  }

  .product-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .product-price {
    font-size: 13px;
  }

  .product-add-btn,
  .product-select-btn {
    width: 100%;
    padding: 10px;
    font-size: 9px;
  }

  .product-placeholder span {
    font-size: 49px;
  }

  .product-placeholder small {
    font-size: 8px;
  }

  /* PRICING */

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    gap: 14px;
  }

  .price-card {
    padding: 28px 20px;
  }

  .price-card h3 {
    font-size: 47px;
    margin: 9px 0;
  }

  .price-value {
    font-size: 22px;
  }

  .price-card-link {
    margin-top: 15px;
  }

  .pricing-note {
    align-items: flex-start;
    padding: 15px;
  }

  /* CUSTOM SECTION */

  .custom-section {
    padding: 0 0 65px;
  }

  .custom-card {
    grid-template-columns: 1fr;
    padding: 35px 25px;
    border-radius: 22px;
  }

  .custom-text h2 {
    font-size: 26px;
  }

  .custom-text p {
    font-size: 11px;
  }

  .custom-decoration {
    display: none;
  }

  /* STEPS */

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .step-card {
    padding: 25px 20px;
  }

  .step-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 13px;
  }

  /* ABOUT */

  .about-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-image-placeholder {
    min-height: 320px;
  }

  .about-content h2 {
    font-size: 29px;
  }

  .about-content p {
    font-size: 12px;
    margin-top: 17px;
  }

  /* CONTACT */

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-card {
    padding: 25px;
  }

  /* FOOTER */

  .site-footer {
    padding-top: 45px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand h2 {
    font-size: 22px;
  }

  .footer-bottom {
    font-size: 9px;
  }

  /* PRODUCT MODAL */

  .product-dialog {
    width: calc(100% - 18px);
    max-width: 500px;
    max-height: calc(100dvh - 20px);
    border-radius: 17px;
  }

  .product-dialog-layout {
    grid-template-columns: 1fr;
  }

  .product-dialog-image {
    min-height: 220px;
    height: 250px;
  }

  .product-dialog-image > span {
    font-size: 75px;
  }

  .product-dialog-content {
    padding: 25px 19px;
  }

  .product-dialog-content h2 {
    font-size: 21px;
  }

  /* CHECKOUT */

  .checkout-dialog {
    width: calc(100% - 18px);
    max-height: calc(100dvh - 20px);
    padding: 23px 18px;
    border-radius: 17px;
  }

  .checkout-header h2 {
    font-size: 18px;
  }

  .checkout-summary {
    padding: 13px;
  }
}

/* ========== 24. SMALL PHONES ========== */

@media (max-width: 370px) {

  .brand-text strong {
    font-size: 11px;
  }

  .brand-text small {
    font-size: 6px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .lang-btn {
    padding: 5px;
    font-size: 8px;
  }

  .hero-content h1 {
    font-size: 29px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .product-info {
    padding: 10px;
  }

  .product-title {
    font-size: 10px;
  }

  .product-price {
    font-size: 12px;
  }

  .size-option small {
    font-size: 9px;
  }
}

/* ========== 25. ACCESSIBILITY ========== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ====================================
   MYBENTO_CAKE — ORIGINAL LOGO
==================================== */

.site-header .brand-logo {
  width: 76px;
  height: 76px;
  min-width: 76px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #651326;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header .brand-logo .mb-original-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

@media (max-width: 600px) {
  .site-header .brand-logo {
    width: 62px;
    height: 62px;
    min-width: 62px;
  }

  .site-header .brand {
    gap: 9px;
  }
}

/* Басты беттегі торт фотосы */

.hero-image-placeholder {
  position: relative;
  overflow: hidden;
}

.hero-main-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 15 КАТЕГОРИЯНЫҢ ФОТОЛАРЫ */

.category-image {
  position: relative;
  overflow: hidden;
}

.category-cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 2;
}
