﻿/* ================= VARIABLES ================= */
:root {
  --primary: #6a5bd6;
  --primary-dark: #5042b3;
  --primary-light: #ece9fc;
  --accent: #ff6b6b;

  --bg-body: #fbf9f6;
  --bg-card: #ffffff;

  --text-main: #2d2a32;
  --text-muted: #666666;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.12);

  --radius: 16px;
  --container: 1200px;
}

/* ================= BASE ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Heebo", sans-serif;
  font-size: 18px;
  font-weight: 500;
  background-color: var(--bg-body);
  background-image: radial-gradient(#e5e5f7 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.decorative-shape {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}
.shape-1 {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(106, 91, 214, 0.15) 0%,
    transparent 70%
  );
}
.shape-2 {
  bottom: 0;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 107, 0.08) 0%,
    transparent 70%
  );
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}
ul,
ol {
  padding-right: 20px;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.center {
  text-align: center;
}
.text-muted {
  color: var(--text-muted);
}
.text-danger {
  color: #d63031;
}
.mt-4 {
  margin-top: 1.5rem;
}
.small {
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  gap: 8px;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(106, 91, 214, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  font-weight: 700;
}
.btn-ghost:hover {
  background: var(--primary-light);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-light {
  border: 2px solid white;
  color: white;
  background: transparent;
}
.btn-outline-light:hover {
  background: white;
  color: var(--primary);
}
.btn-lg {
  padding: 16px 40px;
  font-size: 1.2rem;
}
.btn-block {
  width: 100%;
}
.btn-wide {
  width: 100%;
  max-width: 320px;
}
.flex-fill {
  flex: 1 1 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 50px;
  height: 50px;
}
.brand-title {
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--text-main);
}
.desktop-nav {
  display: flex;
  gap: 30px;
}
.desktop-nav a {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.05rem;
}
.desktop-nav a:hover {
  color: var(--primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  padding: 5px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  padding: 20px;
  box-shadow: var(--shadow-md);
  border-top: 1px solid #eee;
}
.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-weight: 800;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-nav.show {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  text-align: center;
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-text-box {
  color: white;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}
.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 10px;
  font-weight: 900;
  letter-spacing: -1px;
}
.hero-subtitle-large {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #f0f0f0;
}
.hero-desc {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 40px;
  max-width: 700px;
  margin-inline: auto;
  opacity: 0.95;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= SECTIONS ================= */
.section {
  padding: 60px 0;
}

#how,
#pricing,
#gallery {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 100%
  );
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  border: 2px solid rgba(106, 91, 214, 0.25);
  border-bottom-color: rgba(255, 107, 107, 0.25);
  border-right-color: rgba(255, 107, 107, 0.25);
  box-shadow:
    0 20px 50px rgba(106, 91, 214, 0.08),
    0 0 30px rgba(255, 107, 107, 0.05),
    inset 0 0 20px rgba(106, 91, 214, 0.03);
  margin: 50px auto;
  width: calc(100% - 40px);
  max-width: 1400px;
  position: relative;
  overflow: hidden;
}

.section-bg {
  background: none;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  width: 100%;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--text-main);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0 auto 60px;
}

@media (max-width: 768px) {
  #how,
  #pricing,
  #gallery {
    border-radius: 24px;
    margin: 30px auto;
    width: calc(100% - 20px);
    padding: 40px 0;
  }
  .section {
    padding: 40px 0;
  }
}

/* Steps */
.steps-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.step-card {
  background: linear-gradient(
    145deg,
    #ffffff 60%,
    rgba(106, 91, 214, 0.06) 100%
  );
  border: 1px solid rgba(106, 91, 214, 0.1);
  border-bottom: 4px solid rgba(106, 91, 214, 0.15);
  padding: 40px 25px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
}
.step-card:hover {
  transform: translateY(-8px);
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 15px 35px rgba(106, 91, 214, 0.15);
}
.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}
.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-weight: 900;
}

@media (min-width: 992px) {
  .steps-grid {
    position: relative;
  }
  .steps-grid li:not(:last-child) {
    position: relative;
  }
  .steps-grid li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 60px;
    left: -20px;
    width: 40px;
    border-top: 3px dotted rgba(106, 91, 214, 0.3);
    z-index: -1;
  }
}

/* ================= PRICING ================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: linear-gradient(
    145deg,
    #ffffff 70%,
    rgba(106, 91, 214, 0.04) 100%
  );
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(106, 91, 214, 0.1);
  border-bottom: 4px solid rgba(106, 91, 214, 0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(106, 91, 214, 0.15);
  border-bottom: 4px solid var(--primary);
}

.pc-head {
  padding: 35px 20px;
  text-align: center;
  background: linear-gradient(
    to bottom,
    rgba(106, 91, 214, 0.05) 0%,
    transparent 100%
  );
  border-bottom: 1px solid rgba(106, 91, 214, 0.08);
}

.pc-head h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-weight: 900;
}

.pc-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pc-body {
  padding: 25px 30px;
  flex-grow: 1;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 10px;
  border-bottom: 1px dashed rgba(106, 91, 214, 0.15);
  font-size: 1.1rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:hover {
  background: rgba(106, 91, 214, 0.04);
}

.price-row strong {
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
  padding: 6px 14px;
  border-radius: 10px;
  font-weight: 800;
  border: 1px solid rgba(106, 91, 214, 0.15);
  box-shadow: 0 4px 10px rgba(106, 91, 214, 0.08);
}

.price-row.highlight {
  background: linear-gradient(to left, #fffbe6, transparent);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 204, 0, 0.2);
  margin-bottom: 5px;
}

.alert-box {
  margin-top: 20px;
  padding: 15px;
  background: linear-gradient(to left, #fff5f5, transparent);
  color: #c0392b;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid #feb2b2;
  border-right: 4px solid #e74c3c;
  line-height: 1.5;
}

.special-prices-box {
  background: linear-gradient(
    145deg,
    #ffffff 60%,
    rgba(255, 107, 107, 0.04) 100%
  );
  border: 1px solid rgba(255, 107, 107, 0.15);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.08);
  position: relative;
  overflow: hidden;
  border-right: 6px solid var(--accent);
}

.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.sp-item {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(106, 91, 214, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s;
}

.sp-item:hover {
  transform: translateY(-3px);
}

.sp-item strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

/* Gallery */
.gallery-pager-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}
.gallery-viewport {
  flex: 1;
  overflow: hidden;
  min-height: 650px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
  width: 100%;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
  cursor: zoom-in;
}
.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
.gallery-nav {
  background: white;
  border: 1px solid #ddd;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--primary);
  z-index: 10;
  transition: 0.2s;
}
.gallery-nav:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.gallery-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f0f0f0;
  color: #ccc;
}
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
.dot {
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #eaeaea;
  padding: 50px 0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.footer-brand img {
  width: 70px;
  height: auto;
}
.footer-text h3 {
  margin: 0 0 5px 0;
  font-size: 1.5rem;
  color: var(--text-main);
}
.footer-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}
.footer-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: right;
  }
  .footer-brand {
    flex-direction: row;
    text-align: right;
  }
}

/* ================= MODALS & CATALOG ================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal[aria-hidden="true"] {
  display: none;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* Full Screen Modal (Compact Catalog) */
.modal.full-screen .modal-panel {
  position: absolute;
  inset: 20px;
  background: #fdfdfd;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

/* Compact Header */
.modal-header.compact {
  padding: 10px 24px;
  background: white;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 60px;
}
.mh-start {
  display: flex;
  flex-direction: column;
  min-width: 100px;
}
.mh-start h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-main);
}
.picked-badge {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

.catalog-controls {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.search-box.compact {
  width: 100%;
  max-width: 300px;
}
.search-box.compact input {
  width: 100%;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  background: #f8f8f8;
}
.filters-scroll.compact {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-pill {
  padding: 5px 14px;
  background: #f0f0f0;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.filter-pill:hover {
  background: #e0e0e0;
}
.filter-pill.active {
  background: var(--primary);
  color: white;
}

/* Subfilters Bar */
.subfilters-bar {
  background: #fbfbfb;
  border-bottom: 1px solid #eee;
  padding: 6px 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  min-height: 40px;
  align-items: center;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  overscroll-behavior: contain;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

/* Catalog Item */
.catalog-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.2s;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.catalog-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.catalog-item.picked {
  border-color: var(--primary);
  background: #f4f0ff;
}
.ci-img {
  height: 140px;
  background: #f0f0f0;
  overflow: hidden;
}
.ci-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.ci-img:hover img {
  transform: scale(1.08);
}
.ci-details {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ci-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  line-height: 1.2;
}
.ci-sku {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 8px;
}
.ci-btn {
  margin-top: auto;
  padding: 6px;
  border-radius: 6px;
  font-weight: 700;
  width: 100%;
  font-size: 0.85rem;
  background: #eef;
  color: var(--primary);
}
.catalog-item.picked .ci-btn {
  background: var(--primary);
  color: white;
}

.modal-footer {
  padding: 15px 24px;
  background: white;
  border-top: 1px solid #eee;
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}
.close-btn {
  font-size: 1.5rem;
  background: none;
  opacity: 0.5;
  transition: 0.2s;
}
.close-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Popup Modals */
.modal-card {
  position: relative;
  background: white;
  width: 90%;
  max-width: 500px;
  max-height: 85vh; /* גובה מקסימלי שמונע גלישה מהמסך */
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* שומר שהתוכן לא יגלוש מהפינות המעוגלות */
}

.order-card {
  max-width: 550px;
}

/* הסרת padding למודאל של ההזמנה כדי שהטופס והגלילה ישבו נכון */
.order-card .modal-body {
  padding: 0;
}

.order-header {
  padding: 25px 25px 20px;
  background: white;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0; /* מונע מהכותרת להתכווץ בזמן גלילה */
  display: flex;
  align-items: center;
  justify-content: center; /* ממרכז את הכותרת */
  position: relative;
}

.modal-header {
  flex-shrink: 0;
}

.order-header h3 {
  font-size: 1.6rem;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 800;
}

.close-abs-corner {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background: #f8f9fa;
  border: 1px solid #eaeaea;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #666;
  transition: all 0.2s ease;
  cursor: pointer;
}

.close-abs-corner:hover {
  background: #ffe3e3;
  color: #d63031;
  border-color: #ffcccc;
}

.order-form {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.form-group label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-group input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #eaeaea;
  font-size: 1.05rem;
  background: #fafafa;
  width: 100%;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(106, 91, 214, 0.1); /* הילה סגולה עדינה בלחיצה */
}

/* עיצוב הצ'קבוקס (הובלה) כמלבן ברור */
.checkbox-wrapper {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 12px !important;
  background: #f8f9fc;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition:
    background 0.2s,
    border-color 0.2s;
  cursor: pointer;
}

.checkbox-wrapper:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  margin: 0;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-wrapper .label-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  user-select: none;
}

.checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  background: white;
}

input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-size: 14px;
  font-weight: bold;
}

.preview-group {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e9ecef;
  margin-top: 5px;
}

.preview-box {
  background: transparent;
  padding: 0;
  border: none;
  white-space: pre-wrap;
  font-family: inherit;
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.6;
  max-height: 150px;
  overflow-y: auto;
  text-align: right;
}

.order-form button[type="submit"] {
  margin-top: 10px;
  margin-bottom: 20px;
}

.product-card-modal {
  max-width: 900px !important;
  width: 95%;
  border-radius: 30px;
  overflow: hidden;
}
.pcm-image {
  height: 60vh;
  min-height: 400px;
  background: #f8f8f8;
  padding: 0;
  position: relative;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
}
.pcm-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pcm-image:hover img {
  transform: scale(1.05);
}
.pcm-details {
  padding: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .site-header .desktop-nav,
  .header-actions .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .header-actions {
    margin-right: auto;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle-large {
    font-size: 1.5rem;
  }
  .section-header h2 {
    font-size: 2.2rem;
  }
  .form-row.two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .order-form {
    padding: 20px;
  }
  .modal-header.compact {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 15px;
  }
  .catalog-controls {
    flex-direction: column-reverse;
    width: 100%;
  }
  .search-box.compact {
    max-width: 100%;
  }
  .close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
  }
  .gallery-viewport {
    min-height: auto;
    padding: 0 5px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 160px);
    gap: 10px;
  }
  .gallery-pager-container {
    position: relative;
  }
  .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
  }
  .gallery-nav.prev {
    left: -10px;
  }
  .gallery-nav.next {
    right: -10px;
  }
  .modal.full-screen .modal-panel {
    inset: 0;
    border-radius: 0;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .ci-img {
    height: 120px;
  }
  .modal-card {
    max-height: 85vh;
  }
  .pcm-image {
    height: 45vh;
    min-height: 300px;
    border-radius: 24px 24px 0 0;
  }
}
