/*===========================
Theme Name: EmbedUp
Theme URI: https://wordpress.org/themes/mv/
Author: Md Mehedi Hasan
Author URI: https://github.com/mehedi891?tab=repositories
Description: Embed Shopify products into blogs, partner sites, and landing pages. Fully customizable, trackable, and synced with Shopify in real time.
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 5.6
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spc
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments
=============================*/

/* seach form style */


/* Smooth scroll everywhere */
html { scroll-behavior: smooth;  }

/* Keep anchors visible below your fixed header */
[id] { scroll-margin-top: 80px; }         /* header height (desktop) */
@media (max-width: 860px){
  [id] { scroll-margin-top: 64px; }       /* header height (mobile) */
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
}


/* Same rules but scoped to #fluentform_2 */
.footerSubscribe #fluentform_2 fieldset {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footerSubscribe #fluentform_2 fieldset {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width:640px) {
  .footerSubscribe #fluentform_2 fieldset {
    flex-wrap: nowrap;
  }
}

.footerSubscribe #fluentform_2 .ff-el-group {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 220px;
}

.footerSubscribe #fluentform_2 .ff-el-input--content {
  margin: 0 !important;
}

.footerSubscribe #fluentform_2 .ff-el-form-control {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.footerSubscribe #fluentform_2 .ff-el-form-control::placeholder {
  color: var(--muted);
}

.footerSubscribe #fluentform_2 .ff-el-form-control:focus {
  border-color: rgba(62, 207, 142, .9);
  box-shadow: 0 0 0 4px rgba(62, 207, 142, .15);
}

.footerSubscribe #fluentform_2 .ff_submit_btn_wrapper {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto;
}

.footerSubscribe #fluentform_2 .ff-btn-submit {
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #FA1450;
  color:#fff;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.footerSubscribe #fluentform_2 .ff-btn-submit:hover {
  background: linear-gradient(360deg, var(--brand), var(--brand-2));
}

:root[data-theme="light"] .footerSubscribe #fluentform_2 .ff-el-form-control {
  background: rgba(0, 0, 0, .03);
}

:root[data-theme="light"] .footerSubscribe #fluentform_2 .ff-btn-submit {
  background: rgba(0, 0, 0, .06);
}

:root[data-theme="light"] .footerSubscribe #fluentform_2 .ff-btn-submit:hover {
  background: rgba(0, 0, 0, .10);
}


/* Same rules, but scoped to #fluentform_1 */
.contactMain #fluentform_1 fieldset {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.contactMain #fluentform_1 .ff-column-container {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width:780px) {
  .contactMain #fluentform_1 .ff-column-container {
    grid-template-columns: 1fr;
  }
}

.contactMain #fluentform_1 .ff-el-group {
  margin: 0 0 10px 0 !important;
}

.contactMain #fluentform_1 .ff-el-input--label label {
  display: block;
  margin: 0 0 6px 2px;
  font-size: .92rem;
  color: var(--muted);
}

.contactMain #fluentform_1 .ff-el-form-control {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  outline: 0;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}

.contactMain #fluentform_1 .ff-el-form-control::placeholder {
  color: var(--muted);
}

.contactMain #fluentform_1 .ff-el-form-control:focus {
  border-color: rgba(62, 207, 142, .9);
  box-shadow: 0 0 0 4px rgba(62, 207, 142, .15);
}

.contactMain #fluentform_1 textarea.ff-el-form-control {
  height: 140px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.45;
}

.contactMain #fluentform_1 .ff_submit_btn_wrapper {
  margin: 8px 0 0 0 !important;
  padding: 0 !important;
  text-align: left;
}

.contactMain #fluentform_1 .ff-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0b0f14;
  font-weight: 700;
  cursor: pointer;
  transition: transform .06s, opacity .2s;
  text-decoration: none;
  width: 100%;
  font-size: 16px;
}

.contactMain #fluentform_1 .ff-btn-submit:hover {
  background: linear-gradient(340deg, var(--brand), var(--brand-2));
}

.contactMain #fluentform_1 .ff-el-is-error .ff-el-form-control {
  border-color: #e25555;
}

.contactMain #fluentform_1 .ff-el-is-error .ff-el-help-text {
  color: #e25555;
}

.contactMain #fluentform_1 .ff-errors-in-stack {
  margin-top: 10px;
  color: #e25555;
}

/* Light mode */
:root[data-theme="light"] .contactMain #fluentform_1 .ff-el-form-control {
  background: rgba(0, 0, 0, .03);
}

:root[data-theme="light"] .contactMain #fluentform_1 .ff-btn-submit {
  background: rgba(0, 0, 0, .06);
}

:root[data-theme="light"] .contactMain #fluentform_1 .ff-btn-submit:hover {
  background: rgba(0, 0, 0, .10);
}

#fluentform_1 {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}


/* ===== CHILD MENUS (desktop) ===== */
.nav .navList > li { position: relative; }              /* parent is positioning context */

.nav .sub-menu{
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 50;
}
.nav .sub-menu li { position: relative; }
.nav .sub-menu a { display:block; padding: 8px 10px; border-radius:8px; color: var(--muted); }
.nav .sub-menu a:hover { background: rgba(255,255,255,.06); color: var(--fg); }

/* show submenu on hover or keyboard focus */
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { opacity:1; visibility:visible; transform:none; }

/* 2nd level fly-out */
.nav .sub-menu .sub-menu{
  top: 0;
  left: 100%;
  margin-left: 8px;
}

/* little caret indicator on parents (desktop only) */
.nav .menu-item-has-children > a::after{
  content: "▾";
  font-size: .7rem;
  margin-left: 6px;
  opacity: .7;
}

/* ===== MOBILE (<=860px): accordion submenus) ===== */
@media (max-width: 860px){
  /* submenus become in-flow and hidden by default */
  .nav .sub-menu{
    position: static;
    margin: 6px 0 0;
    padding: 6px;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;                 /* hide until toggled open */
    background: rgba(11,15,20,.95);
    border-radius: 10px;
  }
  /* when JS adds .is-open to the parent LI, show it */
  .nav .menu-item-has-children.is-open > .sub-menu { display:block; }

  /* caret button inserted by JS */
  .submenuToggle{
    margin-left: 6px;
    width: 30px; height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--fg);
    display: inline-grid; place-items: center;
    cursor: pointer;
  }
  .submenuToggle svg{ width:14px; height:14px; transition: transform .2s; }
  .menu-item-has-children.is-open > .submenuToggle svg{ transform: rotate(180deg); }

  /* don’t show the desktop caret on mobile (we have a button) */
  .nav .menu-item-has-children > a::after{ content: none; }
}

/* Light theme tweaks */
:root[data-theme="light"] .nav .sub-menu a:hover { background: rgba(0,0,0,.06); }
@media(min-width:768px){
.submenuToggle{
  display: none;
}
}

.prehero{
  text-align: center;
  line-height: 1.6;
}


