/* family-product.css (Basic / Pro / Enterprise / Servis / FoodCheck)
   Page blocks share the same width/visual language as hero-slider.
*/

.product-wrap{ margin-top: 16px; }

.product-card{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.product-card .top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.product-card h1,
.product-card h2{
  margin:0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .2px;
}

.product-card .lead{
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 96ch;
}

.product-card .bullets{
  margin-top: 12px;
  display:grid;
  gap: 8px;
}

.product-card .bullet{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  line-height: 1.6;
}

.product-card .bullet .dot{
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(139,92,255,.9);
  box-shadow: 0 0 0 4px rgba(139,92,255,.18);
  flex: 0 0 auto;
}

.inline-legal{
  color: rgba(255,255,255,.78);
  font-size: 12px;
  margin-top: 10px;
}
.inline-legal a{
  color: rgba(255,255,255,.86);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,.28);
}
.inline-legal a:hover{ border-bottom-color: rgba(255,255,255,.55); }

.store-row{
  margin-top: 14px;
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap: wrap;
}

.store-badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  text-decoration:none;
  transition: transform .12s ease, background .12s ease;
}
.store-badge:hover{ transform: translateY(-1px); background: rgba(255,255,255,.05); }
.store-badge[aria-disabled="true"]{ opacity: .65; cursor: default; }
.store-badge[aria-disabled="true"]:hover{ transform: none; background: rgba(255,255,255,.03); }

.store-badge img{
  height: 54px; /* user-tunable */
  width: 180px; /* user-tunable */
  object-fit: contain;
  display:block;
}

.store-note{
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .15px;
}

/* Galleries */
.gallery-card{
  margin-top: 16px;
}

.gallery-title{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.gallery-title h2{ font-size: 14px; }
.gallery-title .hint{ color: var(--muted); font-size: 12px; }

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.gallery-item{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  cursor: pointer;
  aspect-ratio: 9 / 16;
  position: relative;
}
.gallery-item img{
  width:100%; height:100%; object-fit: cover; display:block;
}
.gallery-item::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.30), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity .12s ease;
}
.gallery-item:hover::after{ opacity: 1; }

@media (max-width: 1100px){
  .gallery-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 820px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  display:none;
  z-index: 999;
}
.lightbox.is-open{ display:flex; }
.lightbox .inner{
  width: min(980px, 92vw);
  height: min(86vh, 860px);
  margin: auto;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightbox img{
  max-width: 100%;
  max-height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
}
.lightbox .btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(7,7,17,.55);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
}
.lightbox .btn.prev{ left: -6px; }
.lightbox .btn.next{ right: -6px; }
.lightbox .close{
  position:absolute;
  top: -10px;
  right: -10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(7,7,17,.65);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size: 18px;
}
@media (max-width: 820px){
  .lightbox .btn.prev{ left: 8px; }
  .lightbox .btn.next{ right: 8px; }
  .lightbox .close{ top: 10px; right: 10px; }
}


/* ===== Support page ===== */
.support-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.support-card{
  margin-top: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}

.support-card .top{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.support-card h1{ margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -0.25px; }
.support-card .lead{ margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; max-width: 100ch; }

.support-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  align-items: start;
}

/* Support info banner */
.support-info{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding: 12px 14px;
}
.support-info .support-info-title{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15px;
}
.support-info .support-info-text{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  max-width: 92ch;
}
.support-info a{
  color: rgba(255,255,255,.86);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,.28);
}
.support-info a:hover{ border-bottom-color: rgba(255,255,255,.55); }


.support-panel{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding: 14px;
}

.support-h{ margin: 0; font-size: 13px; font-weight: 900; letter-spacing: .15px; }
.support-p{ margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* FAQ (details/summary) */
.faq-item{ border-bottom: 1px solid rgba(255,255,255,.06); padding: 10px 0; }
.faq-item:last-child{ border-bottom: 0; }
.faq-item summary{
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item p{ margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* Form */
.support-form .row{ margin-top: 12px; }
.support-form .row:first-child{ margin-top: 10px; }
.support-form .row.two{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.support-form label span{
  display:block;
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,.72);
  margin-bottom: 6px;
}

.support-form input,
.support-form select,
.support-form textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: var(--text);
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
}

.support-form textarea{ resize: vertical; min-height: 120px; }

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus{
  border-color: rgba(139,92,255,.50);
  box-shadow: 0 0 0 4px rgba(139,92,255,.18);
}

.support-form .actions{ display:flex; align-items:center; gap: 10px; flex-wrap: wrap; }
.btn-primary{
  border: 1px solid rgba(139,92,255,.45);
  background: rgba(139,92,255,.18);
  color: var(--text);
  font-weight: 900;
  letter-spacing: .2px;
  border-radius: 14px;
  padding: 10px 14px;
  cursor: pointer;
}
.btn-primary:hover{ background: rgba(139,92,255,.26); }

.hint{ color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.5; }

/* Direct contact */
.support-contact{ margin-top: 10px; display:flex; align-items:center; gap: 10px; flex-wrap: wrap; }
.contact-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  text-decoration:none;
  font-size: 12px;
  font-weight: 900;
}
.contact-chip:hover{ background: rgba(255,255,255,.06); }
.contact-note{ color: rgba(255,255,255,.55); font-size: 11px; }

@media (max-width: 980px){
  .support-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
  .support-form .row.two{ grid-template-columns: 1fr; }
}