.prices-container {
  max-width: 1140px;
  margin: 120px auto 60px;
  padding: 0 24px;
  direction: rtl;
  text-align: right;
}
.prices-header {
  margin-bottom: 40px;
  text-align: center;
}
.prices-header h2 {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: 12px;
}
.prices-header p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

/* Children Count Entry Card */
.children-count-card {
  margin: 26px auto 0;
  max-width: 460px;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.children-count-label {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0;
}
.children-count-input-wrap {
  width: 100%;
  max-width: 220px;
}
.children-count-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid var(--color-border);
  background: var(--color-bg-warm);
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-dark);
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.children-count-input::placeholder {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.children-count-input:focus {
  border-color: var(--color-accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(235, 35, 113, 0.12);
}

/* Standalone Products Big Photo Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.product-card {
  position: relative;
  width: 100%;
  background-color: var(--color-white);
  border-radius: 24px;
  border: 1.5px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}
.product-card.admin-only-product {
  position: relative;
  border: 2px dashed #eb2371;
  background: linear-gradient(180deg, #fff7fa 0%, #ffffff 100%);
}
.product-card.admin-only-product:hover {
  border-color: #d1125d;
  box-shadow: 0 12px 28px rgba(235, 35, 113, 0.18);
}
.admin-only-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.03em;
}
.admin-only-badge .admin-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}
.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  overflow: hidden;
  background-color: var(--color-bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover .product-image {
  transform: scale(1.05);
}
.product-details {
  padding: 18px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.product-card-title {
  margin: 0;
  color: var(--color-dark);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.25;
}
.product-details p {
  font-size: 0.94rem;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}
.price-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  min-height: 46px;
}
.price-starting-group {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.price-starting-prefix {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
}
.price-discount {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}
.price-original {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.price-missing-kids-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
}
.price-warning-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.product-calc-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-right: auto;
}

.prices-cta-section {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.prices-create-class-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 38px;
  border-radius: 16px;
  border: none;
  background-color: var(--color-accent);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.12rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(235, 35, 113, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.prices-create-class-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(235, 35, 113, 0.36);
}

.prices-create-class-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .prices-container {
    margin-top: 90px;
    padding: 0 12px;
  }
  .prices-header h2 {
    font-size: 2rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-card {
    max-width: 100%;
    border-radius: 16px;
  }
  .product-image-wrapper {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .product-details {
    padding: 12px 12px 14px;
    gap: 8px;
  }
  .product-card-title {
    font-size: 1.02rem;
  }
  .product-details p {
    font-size: 0.78rem;
    line-height: 1.4;
  }
  .price-wrapper {
    padding-top: 10px;
    min-height: 0;
    gap: 6px;
  }
  .price-starting-prefix {
    font-size: 0.82rem;
  }
  .price-discount {
    font-size: 1.18rem;
  }
  .price-original {
    font-size: 0.82rem;
  }
  .price-missing-kids-note {
    font-size: 0.74rem;
    gap: 5px;
  }
  .price-warning-icon {
    width: 16px;
    height: 16px;
  }
  .product-calc-cta {
    font-size: 0.76rem;
    margin-right: 0;
  }
}
