/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* =========================================================================
   PORTABLE STORE TEMPLATE - design tokens & utilities
   The only place hex values are allowed. Everything else references either
   these tokens or Flatsome's Customizer colours via --fs-color-*.
   ====================================================================== */

:root {
  --tpl-surface:     #F4F6F9;
  --tpl-surface-alt: #EDF1F6;
  --tpl-ink:         #1F2430;
  --tpl-ink-muted:   #5B6472;
  --tpl-line:        rgba(14,23,38,.12);
  --tpl-radius:      10px;
}

/* ---- Colour utilities: reference the Customizer, never a hex ---------- */
.bg-primary-fs    { background-color: var(--fs-color-primary) !important; }
.bg-secondary-fs  { background-color: var(--fs-color-secondary) !important; }
.bg-success-fs    { background-color: var(--fs-color-success) !important; }
.bg-surface       { background-color: var(--tpl-surface) !important; }
.bg-surface-alt   { background-color: var(--tpl-surface-alt) !important; }

.text-primary-fs   { color: var(--fs-color-primary) !important; }
.text-secondary-fs { color: var(--fs-color-secondary) !important; }
.text-muted-fs     { color: var(--tpl-ink-muted) !important; }
.border-primary-fs { border-color: var(--fs-color-primary) !important; }

/* ---- Typography helpers ---------------------------------------------- */
.tpl-eyebrow {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72em;
  font-weight: 600;
}
h1, h2, h3 { letter-spacing: -.02em; }

/* ---- Hero ------------------------------------------------------------- */
.tpl-hero {
  background-image:
    radial-gradient(120% 90% at 78% 18%, rgba(11,99,246,.42) 0%, rgba(11,99,246,0) 58%),
    radial-gradient(90% 80% at 12% 88%, rgba(18,133,91,.30) 0%, rgba(18,133,91,0) 60%),
    linear-gradient(155deg, #0E1726 0%, #12203a 48%, #0B1220 100%);
  background-color: #0E1726;
}
.tpl-hero .tpl-eyebrow { color: rgba(255,255,255,.72); }

/* ---- Cards ------------------------------------------------------------ */
.tpl-card {
  background: #fff;
  border: 1px solid var(--tpl-line);
  border-radius: var(--tpl-radius);
  padding: 30px 26px;
  height: 100%;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tpl-card:hover {
  border-color: var(--fs-color-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14,23,38,.09);
}
.tpl-card p:last-child { margin-bottom: 0; }

/* ---- Trust strip ------------------------------------------------------ */
.tpl-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.tpl-trust-item svg { color: #fff; opacity: .95; margin-bottom: 10px; }
.tpl-trust-item h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -.01em;
}
.tpl-trust-item p {
  margin: 0;
  font-size: .86rem;
  color: rgba(255,255,255,.66);
  line-height: 1.5;
}
@media (max-width: 849px) {
  .tpl-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
}

/* ---- Footer ----------------------------------------------------------- */
.ux-footer-menu { list-style: none; margin: 0; padding: 0; }
.ux-footer-menu li { margin: 0 0 .55em; }
.ux-footer-menu a { opacity: .82; }
.ux-footer-menu a:hover { opacity: 1; color: var(--fs-color-primary); }

.footer .ux-menu-link__link { padding: 3px 0; opacity: .8; }
.footer .ux-menu-link__link:hover { opacity: 1; color: #fff; }
.ux-menu-title {
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .74rem;
  opacity: .55;
  margin-bottom: .9em;
}

.tpl-footer-contact a { color: inherit; opacity: .82; display: inline-block; }
.tpl-footer-contact a:hover { opacity: 1; color: #fff; }

.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.payment-icons .payment-icon { width: 44px; }
.payment-icons .payment-icon svg { width: 100%; height: auto; display: block; }

/* ---- Newsletter ------------------------------------------------------- */
.tpl-newsletter { display: flex; gap: 8px; }
.tpl-newsletter .wpcf7-form-control-wrap { flex: 1 1 auto; }
.tpl-newsletter input[type="email"] {
  width: 100%;
  margin: 0;
  height: 44px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  border-radius: 8px;
  box-shadow: none;
}
.tpl-newsletter input[type="email"]::placeholder { color: rgba(255,255,255,.45); }
.tpl-newsletter input[type="submit"] {
  margin: 0;
  height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  background-color: var(--fs-color-primary);
}
.tpl-consent { font-size: .76rem; opacity: .55; margin: 10px 0 0; line-height: 1.5; }
.tpl-consent a { text-decoration: underline; }
@media (max-width: 549px) { .tpl-newsletter { flex-direction: column; } }

/* ---- FAQ -------------------------------------------------------------- */
.tpl-faq .accordion-item {
  background: #fff;
  border: 1px solid var(--tpl-line);
  border-radius: var(--tpl-radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.tpl-faq .accordion-title {
  font-weight: 600;
  padding: 16px 18px;
  border: 0;
  font-size: 1rem;
}
.tpl-faq .accordion-title.active { color: var(--fs-color-primary); }
.tpl-faq .accordion-inner { padding: 0 18px 18px; line-height: 1.7; }

/* ---- Policy pages: readable long-form -------------------------------- */
.tpl-policy { max-width: 820px; margin: 0 auto; }
.tpl-policy h2 { margin-top: 2em; font-size: 1.35rem; }
.tpl-policy h3 { margin-top: 1.6em; font-size: 1.08rem; }
.tpl-policy table { width: 100%; margin: 1.2em 0; font-size: .93rem; }
.tpl-policy table th,
.tpl-policy table td { padding: 10px 12px; border: 1px solid var(--tpl-line); vertical-align: top; }
.tpl-policy table th { background: var(--tpl-surface); text-align: left; }
.tpl-policy ul { margin-bottom: 1.2em; }
.tpl-policy li { margin-bottom: .4em; }
.tpl-policy .tpl-policy-meta {
  background: var(--tpl-surface);
  border-left: 3px solid var(--fs-color-primary);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: .92rem;
}

/* ---- Testimonials ----------------------------------------------------- */
.testimonial-box { padding: 0 14px; }
.testimonial-box .star-rating { margin: 0 auto .7em; color: var(--fs-color-primary); }
.testimonial-text { font-size: .98rem; }

/* ---- Top bar announcement --------------------------------------------- */
.html_topbar_left { font-size: .8rem; letter-spacing: .02em; }

@media only screen and (max-width: 48em) {
  /*************** MOBILE ONLY ***************/
  .tpl-card { padding: 24px 20px; }
  .tpl-policy h2 { font-size: 1.2rem; }
  .tpl-policy table,
  .tpl-policy tbody,
  .tpl-policy tr,
  .tpl-policy td { display: block; width: 100%; }
  .tpl-policy thead { display: none; }
  .tpl-policy td { border-top: 0; }
  .tpl-policy tr { margin-bottom: 12px; }
}
