* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 44, 164, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(0, 229, 229, 0.14), transparent 28%),
    linear-gradient(180deg, #06070b 0%, #0b0d14 100%);
  color: #ffffff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 6, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  text-decoration: none;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ff4db1;
  text-shadow:
    0 0 6px rgba(255, 77, 177, 0.9),
    0 0 14px rgba(255, 77, 177, 0.7),
    0 0 28px rgba(255, 77, 177, 0.45);
  white-space: nowrap;
}

.logo span {
  color: #00e5e5;
  font-size: 18px;
  margin-left: 8px;
  vertical-align: middle;
  text-shadow:
    0 0 6px rgba(0, 229, 229, 0.9),
    0 0 14px rgba(0, 229, 229, 0.65),
    0 0 24px rgba(0, 229, 229, 0.35);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s;
  opacity: 0.92;
}

.nav a:hover,
.instagram-link {
  background: rgba(255, 255, 255, 0.08);
  color: #00e5e5;
  box-shadow: 0 0 14px rgba(0, 229, 229, 0.18);
}

.hero,
.catalog-top {
  padding: 92px 20px 60px;
  text-align: center;
}

.category-hero {
  padding-bottom: 45px;
}

.catalog-top-inner,
.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.label {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  color: #00e5e5;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0, 229, 229, 0.08);
  border: 1px solid rgba(0, 229, 229, 0.35);
  box-shadow: 0 0 18px rgba(0, 229, 229, 0.1);
}

.hero h2,
.catalog-top h1 {
  font-size: 54px;
  line-height: 1.08;
  margin: 22px 0;
}

.hero p,
.catalog-top p {
  font-size: 19px;
  line-height: 1.7;
  color: #d7d8e0;
  max-width: 820px;
  margin: 0 auto;
}

.hero-buttons {
  margin-top: 28px;
}

.hero-search {
  margin-top: 30px;
}

.btn,
.small-btn,
.contact-btn,
button {
  display: inline-block;
  padding: 15px 26px;
  background: linear-gradient(135deg, #ff3fa4, #00dede);
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: 0.25s;
  box-shadow: 0 14px 36px rgba(255, 63, 164, 0.23);
}

.btn:hover,
.small-btn:hover,
.contact-btn:hover,
button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(0, 222, 222, 0.24);
}

.secondary,
.secondary-button {
  background: transparent;
  color: #00e5e5;
  border: 1px solid rgba(0, 229, 229, 0.45);
  box-shadow: none;
}

.floating-back {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: auto;
  z-index: 2500;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid rgba(0, 229, 229, 0.45);
  background: rgba(10, 13, 22, 0.88);
  backdrop-filter: blur(10px);
  color: #00e5e5;
  box-shadow: 0 14px 36px rgba(0,0,0,0.35);
}

.floating-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: auto;
  z-index: 2500;
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 63, 164, 0.55);
  background: rgba(10, 13, 22, 0.88);
  backdrop-filter: blur(10px);
  color: #ff8cc8;
  font-weight: bold;
  box-shadow: 0 14px 36px rgba(0,0,0,0.35);
}

#floatingCartCount {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3fa4, #00dede);
  color: #ffffff;
  font-size: 13px;
}

.small-btn {
  padding: 12px 20px;
  font-size: 14px;
  margin-bottom: 12px;
}

.features,
.categories,
.products,
.how,
.contacts,
.constructor-preview,
.product-addons,
.reviews {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

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

.features div {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  border-radius: 22px;
  text-align: center;
  font-weight: bold;
}

.categories h2,
.products h2,
.how h2,
.contacts h2,
.constructor-preview h2,
.product-addons h2,
.reviews h2 {
  font-size: 34px;
  margin-top: 0;
  margin-bottom: 14px;
}

.products p,
.product-addons p,
.contacts p,
.constructor-preview p,
.reviews p {
  color: #d0d3dc;
  line-height: 1.6;
}

.search-box {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: left;
}

.search-box input {
  font-size: 17px;
  padding: 17px 18px;
  border-radius: 20px;
}

.empty-message {
  color: #ff8cc8;
  font-weight: bold;
  margin-top: 24px;
}

.category-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.category-link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 18px;
  border-radius: 20px;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(0, 229, 229, 0.18);
  transition: 0.25s;
}

.category-link-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ff3fa4, #00dede);
  box-shadow: 0 14px 36px rgba(0, 229, 229, 0.18);
}

.category-grid,
.product-grid,
.steps,
.review-grid {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

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

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

.category-card,
.product-card,
.steps div,
.constructor,
.product-photo-box,
.product-info-box,
.review-card,
.review-form,
.contact-info,
.map-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px;
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  color: #ffffff;
}

.product-card,
.review-card {
  display: flex;
  flex-direction: column;
}

.product-card h3,
.review-card h3 {
  margin-top: 0;
  color: #ffffff;
}

.product-card p,
.review-card p {
  flex: 1;
  color: #d0d3dc;
}

.product-image {
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,63,164,0.24), rgba(0,222,222,0.18));
  box-shadow: inset 0 0 20px rgba(255,255,255,0.05);
}

.product-card span {
  display: block;
  margin: 18px 0;
  font-weight: bold;
  color: #00e5e5;
  font-size: 18px;
}

.product-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 20px 40px;
}

.product-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}

.product-big-image {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 140px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255,63,164,0.24), transparent 35%),
    radial-gradient(circle at bottom right, rgba(0,222,222,0.22), transparent 35%),
    rgba(255,255,255,0.04);
}

.product-info-box h1 {
  font-size: 42px;
  margin: 18px 0;
}

.product-info-box p {
  color: #d0d3dc;
  line-height: 1.6;
}

.product-page-price {
  font-size: 30px;
  font-weight: bold;
  color: #00e5e5;
  margin: 25px 0;
}

.product-detail-block {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.product-detail-block h3 {
  margin-top: 0;
}

.product-detail-block ul {
  padding-left: 20px;
  color: #d0d3dc;
  line-height: 1.8;
}

.product-addons {
  padding-top: 30px;
}

.full-btn {
  width: 100%;
  text-align: center;
  margin-top: 14px;
}

.constructor,
.review-form {
  max-width: 680px;
  margin: 55px auto;
  text-align: left;
}

.constructor h2,
.review-form h3 {
  text-align: center;
  color: #ffffff;
  margin-top: 0;
}

.mini-cart {
  max-width: 680px;
}

.form-title {
  margin-top: 28px;
  margin-bottom: 10px;
  color: #00e5e5;
  font-size: 20px;
}

label {
  display: block;
  margin-top: 16px;
  color: #ffffff;
  font-weight: 600;
}

select,
input,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(0, 229, 229, 0.3);
  border-radius: 14px;
  margin-top: 8px;
  background: #10131a;
  color: #ffffff;
  outline: none;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

textarea {
  min-height: 95px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #8e93a3;
}

input[type="checkbox"] {
  width: auto;
  accent-color: #ff3fa4;
  margin-right: 8px;
}

button {
  width: 100%;
  margin-top: 22px;
}

.price {
  margin-top: 22px;
  font-size: 21px;
  font-weight: bold;
  color: #00e5e5;
}

.hint {
  margin-top: 8px;
  color: #00e5e5;
  font-size: 14px;
}

#pickupBlock,
#addressBlock {
  margin-top: 10px;
}

.cart-item {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}

.cart-item button {
  margin-top: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(20,22,32,0.98), rgba(10,12,18,0.98));
  border: 1px solid rgba(0, 229, 229, 0.25);
  border-radius: 26px;
  padding: 28px;
  color: #ffffff;
  box-shadow: 0 25px 80px rgba(0,0,0,0.55);
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
  color: #00e5e5;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: auto;
  margin: 0;
  padding: 6px 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 24px;
  line-height: 1;
  box-shadow: none;
}

.order-preview {
  white-space: pre-wrap;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 18px;
  color: #e7e8ef;
  line-height: 1.55;
  margin: 20px 0;
}

.modal-actions {
  display: grid;
  gap: 12px;
}

.review-stars {
  color: #ffd45a;
  font-size: 18px;
  margin-bottom: 10px;
}

.review-photo {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: 12px;
}

.contact-info,
.map-box {
  max-width: 760px;
  margin: 24px auto;
  text-align: left;
}

.contact-actions {
  margin-top: 20px;
}

.contact-btn {
  margin: 8px;
}

.map-box {
  text-align: center;
  border-color: rgba(0, 229, 229, 0.25);
}

.map-box a {
  color: #00e5e5;
  font-weight: bold;
  text-decoration: none;
}

.footer {
  text-align: center;
  padding: 28px 20px;
  background: rgba(5, 5, 8, 0.85);
  color: #bfc3cf;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    white-space: normal;
    text-align: center;
  }

  .logo span {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .nav {
    justify-content: center;
  }

  .category-filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features,
  .category-grid,
  .product-grid,
  .steps,
  .product-page-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .catalog-top {
    padding: 70px 16px 45px;
  }

  .hero h2,
  .catalog-top h1 {
    font-size: 36px;
  }

  .hero p,
  .catalog-top p {
    font-size: 16px;
  }

  .product-big-image {
    min-height: 260px;
    font-size: 90px;
  }

  .product-info-box h1 {
    font-size: 32px;
  }

  .floating-back {
    left: 12px;
    bottom: 12px;
    padding: 10px 14px;
  }

  .floating-cart {
    right: 12px;
    bottom: 12px;
    padding: 10px 14px;
  }
}

@media (max-width: 520px) {
  .category-filter-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 30px;
  }

  .categories h2,
  .products h2,
  .how h2,
  .contacts h2,
  .constructor-preview h2,
  .product-addons h2,
  .reviews h2 {
    font-size: 28px;
  }
}


/* ПОКРОКОВИЙ КОНСТРУКТОР ФОНТАНІВ */

.constructor-intro {
  text-align: center;
  color: #d0d3dc;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.wizard-progress span {
  padding: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #d0d3dc;
  text-align: center;
  font-weight: bold;
  border: 1px solid rgba(255,255,255,0.08);
}

.wizard-progress span.active {
  background: linear-gradient(135deg, #ff3fa4, #00dede);
  color: white;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-step h3,
.wizard-step h4 {
  text-align: center;
}

.wizard-card {
  min-height: 240px;
  white-space: normal;
}

.wizard-card strong {
  display: block;
  font-size: 20px;
  margin: 12px 0;
}

.wizard-card span {
  color: #ffffff;
}

.mini-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 32px;
}

.mini-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 18px;
  text-align: center;
}

.mini-card img {
  width: 100%;
  max-width: 160px;
  border-radius: 18px;
  display: block;
  margin: 0 auto 12px;
}

.mini-card strong {
  display: block;
  margin-bottom: 8px;
}

.mini-card span {
  display: block;
  color: #00e5e5;
  font-weight: bold;
  margin-bottom: 10px;
}

.qty-row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 8px;
  align-items: center;
}

.qty-row button {
  padding: 10px;
  margin: 0;
}

.qty-row input {
  text-align: center;
  margin: 0;
}

.wizard-summary {
  background: rgba(0,229,229,0.07);
  border: 1px solid rgba(0,229,229,0.22);
  border-radius: 18px;
  padding: 18px;
  color: #e7e8ef;
  line-height: 1.7;
  margin: 20px 0;
}

@media (max-width: 900px) {
  .wizard-progress,
  .mini-catalog {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   REPAIR PATCH — структура сторінок не ламається
   ========================================================= */

body {
  opacity: 1;
}

.header,
.header-inner,
.nav a,
.product-card,
.category-link-card,
.category-card,
.review-card,
.mini-card,
button,
.btn,
.small-btn,
.contact-btn,
.floating-back,
.floating-cart {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

/* Безпечний варіант логотипу через PNG */
.logo-img {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Якщо використовується старий текстовий логотип — лишаємо його акуратним */
.logo {
  line-height: 1;
}

/* Шапка не повинна розвалювати вкладки */
.header-inner {
  min-height: auto;
}

@media (max-width: 900px) {
  .logo-img {
    width: 300px;
    margin: 0 auto;
  }

  .header-inner {
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .logo-img {
    width: 260px;
  }
}

/* STRUCTURED CATALOG PATCH */
.nav a[href='about.html'], .nav a[href='payment-delivery.html']{white-space:nowrap}.instagram-bottom-section{margin-top:30px}


/* CONSTRUCTOR NOTE PATCH */
.constructor-note {
  max-width: 760px;
  margin: 14px auto 24px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(69, 231, 243, 0.07);
  border: 1px solid rgba(69, 231, 243, 0.22);
  color: #dfefff;
  line-height: 1.55;
  text-align: center;
}

.constructor-note strong {
  color: #45e7f3;
}


/* CONSTRUCTOR CONNECTED PATCH */
.mini-card img {
  background: rgba(255,255,255,0.04);
}


/* FILTERS + SORTING PATCH */
.catalog-controls {
  margin: 26px auto 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  text-align: left;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
}

.catalog-controls label {
  font-size: 13px;
  opacity: 0.9;
}

.catalog-controls input,
.catalog-controls select {
  min-height: 48px;
}

.catalog-controls-actions {
  display: flex;
  align-items: end;
}

.catalog-controls-actions button {
  margin-top: 0;
  min-height: 48px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 10px 0 4px;
}

.product-meta span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(69,231,243,0.08);
  border: 1px solid rgba(69,231,243,0.18);
  color: #cfefff;
  font-size: 12px;
}

.product-card .product-includes-preview {
  margin-top: 10px;
  font-size: 13px;
  color: #cfd3dc;
  line-height: 1.45;
}

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

@media (max-width: 560px) {
  .catalog-controls {
    grid-template-columns: 1fr;
  }
}


/* CONSTRUCTOR FILTERS PATCH */
.constructor-filter-panel {
  margin: 18px 0 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
}

.constructor-filter-panel label {
  font-size: 13px;
}

.constructor-filter-panel input,
.constructor-filter-panel select {
  min-height: 46px;
}

.constructor-filter-actions {
  display: flex;
  align-items: end;
}

.constructor-filter-actions button {
  min-height: 46px;
  margin-top: 0;
}

.constructor-back-btn {
  width: auto;
  margin: 0 0 18px;
  padding-left: 22px;
  padding-right: 22px;
}

.constructor-image-fallback {
  width: 100%;
  max-width: 170px;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 58px;
  margin: 0 auto 12px;
  background: rgba(255,255,255,0.05);
}

@media (max-width: 980px) {
  .constructor-filter-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .constructor-filter-panel {
    grid-template-columns: 1fr;
  }
}


/* PRODUCT PAGE UPGRADE PATCH */
.product-page-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.product-photo-box,
.product-info-box {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 30px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

.product-big-image {
  width: 100%;
  min-height: 470px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 18%, rgba(255,79,183,0.16), transparent 26%),
    radial-gradient(circle at 75% 28%, rgba(69,231,243,0.14), transparent 24%),
    rgba(255,255,255,0.035);
  display: grid;
  place-items: center;
}

.product-big-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-emoji-large {
  font-size: 120px;
  display: grid;
  place-items: center;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.product-gallery button {
  min-height: 86px;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
}

.product-gallery img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}

.product-info-box h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  margin: 14px 0 12px;
}

.product-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.product-page-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(69,231,243,0.08);
  border: 1px solid rgba(69,231,243,0.20);
  color: #d9fbff;
  font-size: 13px;
}

.product-page-price {
  color: #45e7f3;
  font-size: 34px;
  font-weight: 900;
  margin: 22px 0;
}

.product-main-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.product-main-actions button,
.product-main-actions a {
  margin-top: 0;
}

.product-secondary-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.product-detail-block {
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
}

.product-detail-block h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.product-detail-block p,
.product-detail-block li {
  color: #cfd3dc;
  line-height: 1.6;
}

.product-detail-block ul {
  padding-left: 20px;
  margin: 0;
}

@media (max-width: 900px) {
  .product-page-grid,
  .product-main-actions {
    grid-template-columns: 1fr;
  }

  .product-big-image {
    min-height: 320px;
  }

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


/* REAL PHOTO SUPPORT PATCH */
.product-image-real {
  padding: 0;
  overflow: hidden;
  display: block;
}

.product-image-real img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.product-image-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
}

.product-card .product-image {
  min-height: 220px;
}


/* CART / CHECKOUT UPGRADE PATCH */
.cart-section {
  width: min(1240px, calc(100% - 32px));
  margin: 34px auto;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

.cart-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.cart-row {
  display: grid;
  grid-template-columns: 92px 1fr 150px;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.cart-item-photo {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  font-size: 42px;
}

.cart-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-row-main strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.cart-row-main small {
  color: #cfd3dc;
}

.cart-row-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.cart-row-controls button {
  width: auto;
  min-height: 38px;
  padding: 8px 13px;
  margin: 0;
}

.cart-row-controls input {
  width: 70px;
  min-height: 38px;
  text-align: center;
}

.cart-remove-btn {
  background: transparent !important;
  color: #ff9fd3 !important;
  border: 1px solid rgba(255,79,183,.35) !important;
}

.cart-comment-label {
  margin-top: 6px;
  font-size: 13px;
}

.cart-comment-input {
  min-height: 72px;
  margin-top: 6px;
}

.cart-row-total {
  color: #45e7f3;
  font-size: 20px;
  font-weight: 900;
  text-align: right;
}

.cart-summary {
  margin-top: 20px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(69,231,243,0.07);
  border: 1px solid rgba(69,231,243,0.18);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 22px;
}

.cart-summary span {
  color: #45e7f3;
  font-weight: 900;
}

.cart-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cart-actions button,
.cart-actions a {
  width: auto;
  margin-top: 0;
}

.checkout-box {
  margin-top: 24px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.checkout-full {
  grid-column: 1 / -1;
}

.thank-you-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
}

.thank-you-content {
  position: relative;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(22,25,34,.98), rgba(9,11,16,.98));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}

.thank-you-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  min-height: 42px;
}

.thank-you-order {
  margin: 18px 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.thank-you-order pre {
  white-space: pre-wrap;
  color: #dfefff;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .cart-row {
    grid-template-columns: 1fr;
  }

  .cart-row-total {
    text-align: left;
  }

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

  .cart-actions button,
  .cart-actions a {
    width: 100%;
  }
}


/* LOGIC REPAIR PATCH */
a.category-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.category-card:hover {
  transform: translateY(-3px);
}


/* ORDER FLOW FIX PATCH */
.silent-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  z-index: 5000;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(9, 11, 16, 0.94);
  border: 1px solid rgba(69,231,243,.35);
  color: #eafcff;
  box-shadow: 0 16px 45px rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  text-align: center;
  max-width: calc(100% - 32px);
}

.silent-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* FINAL CONSTRUCTOR FLOW REPAIR PATCH */
.wizard-step.active {
  scroll-margin-top: 110px;
}


/* QUICK ORDER + FAQ PATCH */
.quick-order,
.faq {
  width: min(1240px, calc(100% - 32px));
  margin: 34px auto;
}

.quick-order-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,79,183,0.12), transparent 28%),
    radial-gradient(circle at 84% 30%, rgba(69,231,243,0.10), transparent 28%),
    rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

.quick-order-inner h2,
.faq h2 {
  margin-top: 0;
}

.quick-order-form {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}

.quick-order-form button {
  width: 100%;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 20px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
  color: #f7f7fb;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: #45e7f3;
  font-size: 22px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: #cfd3dc;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .quick-order-inner {
    grid-template-columns: 1fr;
  }
}


/* CLEAN BUILD PHASE 1 PATCH */
.text-page {
  width: min(980px, calc(100% - 32px));
  margin: 34px auto;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  color: #cfd3dc;
  line-height: 1.45;
  font-size: 14px;
}

.privacy-check input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.privacy-check a,
.footer a {
  color: #45e7f3;
}

.logo-img {
  max-width: 220px;
  height: auto;
}


/* CLEAN SCRIPT PHASE 2 PATCH */
.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  text-align: center;
}

.empty-state h3 {
  margin-top: 0;
}

.empty-state p {
  color: #cfd3dc;
}


/* LOCAL SEO / TRUST UPDATE */
.local-delivery,
.trust-block,
.payment-terms,
.product-commercial-note,
.seo-category-block {
  width: min(1240px, calc(100% - 32px));
  margin: 34px auto;
}

.local-delivery-inner,
.payment-terms,
.product-commercial-note,
.seo-category-block {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.local-delivery-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.local-delivery-card,
.checkout-note-box {
  padding: 20px;
  border-radius: 22px;
  background: rgba(69,231,243,0.06);
  border: 1px solid rgba(69,231,243,0.18);
}

.local-delivery-card ul,
.terms-grid ul {
  margin: 0;
  padding-left: 20px;
}

.local-delivery-card li,
.terms-grid li {
  margin-bottom: 8px;
}

.trust-grid,
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trust-grid > div,
.terms-grid > div {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}

.trust-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.trust-grid p,
.local-delivery p,
.terms-grid p,
.product-commercial-note p,
.seo-category-block p {
  color: #cfd3dc;
  line-height: 1.6;
}

.seo-small {
  font-size: 14px;
  opacity: .9;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 820px) {
  .local-delivery-inner,
  .trust-grid,
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 2500;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(9, 11, 16, 0.92);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 50px rgba(0,0,0,.35);
  }

  .mobile-bottom-nav a {
    padding: 11px 8px;
    border-radius: 16px;
    background: rgba(255,255,255,0.055);
    color: #f7f7fb;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
  }

  body {
    padding-bottom: 78px;
  }
}
