/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


body {
	font-family: 'Fredoka', sans-serif;
}

h1, h2, h3, a {
	font-family: 'Fredoka', sans-serif;
}



/* -------------------------------------------------
 Header Base
------------------------------------------------- */
.custom-header {
  background: #faf8f2;
  border-bottom: 1px solid #e5dfd5;
  position: sticky;
  top: 0;
  z-index: 999;
}

.custom-nav {
  max-width: 1300px;
  margin: auto;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
}

/* -------------------------------------------------
 Desktop Menu
------------------------------------------------- */
.nav-left ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-left a {
  text-decoration: none;
  color: #6b4b3e;
  font-weight: 400;
}

/* -------------------------------------------------
 Logo
------------------------------------------------- */
.nav-center img {
  max-height: 48px;
}

/* -------------------------------------------------
 Icons
------------------------------------------------- */
.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 38px;
}

/* .icon {
  font-size: 18px;
  color: #6b4b3e;
  text-decoration: none;
} */

/* Cart Count */
.cart {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #6b4b3e;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
}

/* -------------------------------------------------
 Hamburger
------------------------------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #6b4b3e;
  transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* -------------------------------------------------
 Mobile Slide-in Drawer
------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #faf8f2;
  padding: 80px 24px;
  transition: right 0.35s ease;
  z-index: 1001;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin-bottom: 18px;
}

.mobile-menu a {
  text-decoration: none;
  color: #6b4b3e;
  font-size: 18px;
  font-weight: 500;
}

/* -------------------------------------------------
 Drawer Overlay
------------------------------------------------- */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 1000;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Lock scroll */
body.drawer-open {
  overflow: hidden;
}

/* -------------------------------------------------
 Responsive
------------------------------------------------- */
@media (max-width: 1024px) {

  .desktop-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .custom-nav {
    grid-template-columns: auto auto auto;
  }
}


/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger span {
  transition: all 0.3s ease;
}


/* Topbar */

.top-bar-align-right .widget:first-child {
    margin-left: 0;
}

.top-bar .inside-top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.topbar h4{
	margin: 0;
	font-size: 0.75rem;
}

/* Form */
.formcraft-css .fc-form.fc-form-1 .form-element .field-cover input[type="text"], .formcraft-css .fc-form.fc-form-1 .form-element .field-cover input[type="email"], .formcraft-css .fc-form.fc-form-1 .form-element .field-cover textarea{
	background-color: transparent !important;
	border-radius: 6px;
}

html .formcraft-css .fc-form .form-element .submit-cover.wide-true .submit-button{
	border-radius: 6px;
}

html .formcraft-css .powered-by{
	display: none;
}