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

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ========================================================
   Fullwidth Two-Column Product Layout
   ======================================================== */

/* 1) Container & Flex Setup */
.fullwidth-two-column-template .two-column-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;               /* gutter between columns */
  align-items: flex-start; /* top-align columns */
  justify-content: center;  /* center columns in container */
  padding: 40px 20px;
  background: #fafafa;     /* light page background */
}

/* 2) Columns */
.fullwidth-two-column-template .product-left  { flex: 1 1 45%; }
.fullwidth-two-column-template .product-right { flex: 1 1 45%; }

/* 3) Video & Image Preview Box */
.fullwidth-two-column-template .product-media {
  width: 100%;
  max-width: 360px;        /* narrow preview */
  margin: 0 auto 30px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.fullwidth-two-column-template .product-video,
.fullwidth-two-column-template .product-image {
  width: 100%;
  height: auto;
  max-height: 200px;       /* cap height */
  object-fit: cover;
  border-radius: 4px;
}

/* 4) Title Section */
.fullwidth-two-column-template .product-title {
  font-size: 2.5rem;
  margin: 0 0 20px;
  text-align: center;
  position: relative;
  color: #333;
}
.fullwidth-two-column-template .product-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ff6600;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* 5) Description */
.fullwidth-two-column-template .product-description {
  margin-bottom: 30px;
  line-height: 1.6;
  padding: 0 10px;
  color: #555;
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

/* 6) Purchase Box */
.fullwidth-two-column-template .product-purchase {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 30px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

/* 7) Section Separator Utility */
.fullwidth-two-column-template .section-heading {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 15px;
}
.fullwidth-two-column-template .section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #ff6600;
  border-radius: 2px;
}

/* 8) Meta Sections Card Styling */
.fullwidth-two-column-template .product-meta-sections {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.fullwidth-two-column-template .product-meta-sections > div {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.fullwidth-two-column-template .product-meta-sections h2 {
  font-size: 1.3rem;
  margin: 0 0 12px;
  color: #333;
}
.fullwidth-two-column-template .product-meta-sections ul {
  list-style: disc inside;
  line-height: 1.6;
  margin: 0;
  padding-left: 1.2em;
  color: #555;
}

/* 9) Smooth Fade-In (optional) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fullwidth-two-column-template .animate-fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s forwards ease-out;
}

/* 10) Mobile Responsiveness */
@media (max-width: 768px) {
  .fullwidth-two-column-template .two-column-layout {
    flex-direction: column;
    gap: 25px;
    padding: 20px 10px;
  }
  .fullwidth-two-column-template .product-left,
  .fullwidth-two-column-template .product-right {
    flex: 1 1 100%;
    align-items: center;
  }
  .fullwidth-two-column-template .product-description,
  .fullwidth-two-column-template .product-purchase,
  .fullwidth-two-column-template .product-meta-sections > div {
    max-width: 100%;
    text-align: center;
    padding: 15px;
  }
  .fullwidth-two-column-template .product-media {
    max-width: 100%;
    padding: 8px;
  }
  .fullwidth-two-column-template .product-video,
  .fullwidth-two-column-template .product-image {
    max-height: none;
  }
}

/* ============================================================================
 * PIKAASO MIGRATION CSS — added 2026-05-14 by Phase L (landing-page migration).
 * Styles for pages migrated from seemymarriage.com + vriddle.com that use
 * the page-imported.php template. Goal: clean, readable, Flatsome-native look
 * without custom fonts or any per-page CSS.
 * ============================================================================ */

.page-template-page-imported .imported-page {
    padding: 2em 0 3em;
}
.page-template-page-imported .entry-header {
    margin-bottom: 1.5em;
    text-align: left;
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
}
.page-template-page-imported .entry-title {
    font-size: 2.2em;
    line-height: 1.2;
    margin-bottom: 0.3em;
}
.page-template-page-imported .entry-subtitle {
    font-size: 1.05em;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
.page-template-page-imported .entry-content {
    font-size: 17px;
    line-height: 1.7;
    color: #2b2b2b;
}
.page-template-page-imported .entry-content h2 {
    font-size: 1.6em;
    line-height: 1.25;
    margin: 1.5em 0 0.5em;
}
.page-template-page-imported .entry-content h3 {
    font-size: 1.3em;
    line-height: 1.3;
    margin: 1.4em 0 0.4em;
}
.page-template-page-imported .entry-content p { margin-bottom: 1.1em; }
.page-template-page-imported .entry-content ul,
.page-template-page-imported .entry-content ol {
    line-height: 1.8;
    margin-left: 1.4em;
}
.page-template-page-imported .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1em 0;
}
.page-template-page-imported .entry-content blockquote {
    border-left: 3px solid #ddd;
    padding: 0.4em 1em;
    color: #555;
    margin: 1.2em 0;
    font-style: italic;
}
.page-template-page-imported .entry-content a {
    text-decoration: underline;
}
.page-template-page-imported .entry-content .button,
.page-template-page-imported .entry-content button {
    text-decoration: none;
}
/* Landing-page filter row (used by LPs that had source product-filter shortcodes) */
.page-template-page-imported .lp-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4em;
    align-items: flex-start;
    margin: 1.5em 0;
}
.page-template-page-imported .lp-facets { flex: 0 0 240px; }
.page-template-page-imported .lp-products { flex: 1 1 60%; min-width: 280px; }
@media (max-width: 768px) {
    .page-template-page-imported .lp-facets,
    .page-template-page-imported .lp-products { flex: 1 1 100%; }
}

/* Accordion styling for imported FAQ pages */
.page-template-page-imported details.imported-toggle {
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    margin: 0.5em 0;
    background: #fafafa;
    overflow: hidden;
}
.page-template-page-imported details.imported-toggle > summary {
    cursor: pointer;
    padding: 0.85em 1em 0.85em 2.4em;
    font-weight: 600;
    list-style: none;
    background: #f4f4f4;
    position: relative;
    user-select: none;
}
.page-template-page-imported details.imported-toggle > summary::-webkit-details-marker { display: none; }
.page-template-page-imported details.imported-toggle > summary::before {
    content: "+";
    position: absolute;
    left: 0.9em;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #F1641E;
    font-size: 1.2em;
    line-height: 1;
}
.page-template-page-imported details.imported-toggle[open] > summary::before { content: "−"; }
.page-template-page-imported details.imported-toggle[open] > summary { background: #ececec; }
.page-template-page-imported details.imported-toggle > div {
    padding: 0.9em 1.2em 1em;
    background: #fff;
    border-top: 1px solid #e6e6e6;
}
.page-template-page-imported details.imported-toggle:hover > summary { background: #efefef; }

/* Legacy image reference placeholder visibility */
.page-template-page-imported .legacy-image-ref {
    display: none;
}
