/**
 * Theme Name: Sea Moss theme
 * Description: A custom theme for Sea Moss website.
 * Theme URI: http://seamos.co.za
 * Author: Loyiso Ngqwebo
 * Version: 1.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 *
 **/
 html {
    margin-top: 5px !important;
}

/* Body */
body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #333;
}

/* General styles - bg, colors */
.brown {
  color: #895a2b;
}
.green {
  color: #3bb54a;
}
.blue {
  color: #e3f2fd;
}
.bg-brown  {
    background-color:#895a2b;
    padding: 0.5rem;
}
.bg-green {
  background-color: #3bb54a
}
/* Header Styles */

/*  Remove Menu Bullets and Style Navigation */
/* Remove bullets from WordPress-generated menus */
.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ensure list items are displayed inline */
.nav ul li {
    display: inline-block;
    /* margin: 0 10px; */
}

/* Style navigation links */
.nav ul li a {
    text-decoration: none;
    padding: 10px 15px;
    color: #333;
    font-weight: 300;
    transition: color 0.3s ease-in-out;
}

.nav ul li a:hover {
    color: #007BFF;
}

/* site header */
.site-header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
img.custom-logo {
    width: 8rem;
    height: auto;
}

/* Header - Navigations */
/* social navigation */
/* Base for the pseudo‐icons */
/* Make social links “icon‐only” */
/* Base anchor: hide text by making its font-size zero */

/* top navigation - woocommerce */
/* WooCommerce menu container */
#menu-woocommerce-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;                /* inline items */
    justify-content: flex-end;    /* keep it at the right */
  }

  /* WooCommerce menu items */
  #menu-woocommerce-menu li {
    margin: 0;
  }

/* WooCommerce menu links */
#menu-woocommerce-menu li a {
  display: inline-block;
  padding: 0.5rem 0.2rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  position: relative;
}

#menu-woocommerce-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background-color: #865a2c; /* line color */
  transition: width 0.3s ease;
}

#menu-woocommerce-menu li a:hover::after,
#menu-woocommerce-menu li a:focus::after {
  width: 100%;
}

#menu-woocommerce-menu li a:hover,
#menu-woocommerce-menu li a:focus {
  color: #865a2c;
}


.wpmenucart-contents .cartcontents {
  font-size: 0.7rem;
  vertical-align: super;
  margin-left: 0.2rem;
  white-space: nowrap;
}

.wpmenucart-contents .cartcontents::after {
  content: '';
}

/* Base nav */
/* Remove default list styles */

/* Remove default list styles and set font size */
/* Base styles for the navigation menu */
/* Reset default list styles */
#menu-primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
}

/* Top-level menu items */
#menu-primary-menu > li {
  position: relative;
  margin: 0 1rem;
}

/* Top-level links */
#menu-primary-menu > li > a {
  position: relative;
  display: inline-block;
  padding: 0.625rem 0.9375rem; /* 10px 15px */
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Animated underline effect */
#menu-primary-menu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.3rem;
  /*height: 0.1875rem;  3px */
  background-color: #3bb44a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Hover and active states */
#menu-primary-menu > li > a:hover::after,
#menu-primary-menu > li.current-menu-item > a::after,
#menu-primary-menu > li.current_page_parent > a::after {
  transform: scaleX(1);
}

/* Chevron indicator using ::after for items with submenus */
#menu-primary-menu > li.menu-item-has-children > a::after {
  content: ' ▼';
  font-size: 0.8rem;
  margin-left: 0.3rem;
  color: #333;
}

/* Sub-menu styles */
#menu-primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 13rem;
}

/* Show sub-menu on hover */
#menu-primary-menu > li.menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* Sub-menu items */
#menu-primary-menu .sub-menu li {
  display: block;
}

/* Sub-menu links */
#menu-primary-menu .sub-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

/* Highlight sub-menu link on hover */
#menu-primary-menu .sub-menu li a:hover {
    background-color: #3bb54a;
    color: #ffffff;
}


/* social links */

ul#menu-social-links-menu a {
    text-decoration: none;
    font-size: 1.3rem;
}
.menu-item i._mi {
  font-size: 1.5em;
}
.dashicons-facebook-alt:before {
  content: "\f305";
  color: #3bb547;
}
.fa-whatsapp:before {
  content: "\f232";
  color: #3bb54a;
}
.fa-instagram:before{
  content: "\f232";
  color: #3bb54a;
}

.fa-tiktok:before{
  content: "\f232";
  color: #3bb54a;
}
li#menu-item-431 {
    margin: 0 0.5rem;
}
  /* search */
.header-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search input {
    padding: 5px 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.header-search button {
    padding: 5px 10px;
    background-color: #fff;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
}

.header-search button:hover {
    background-color: #f5f5f5;
}

.searchform div {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.searchform input[type="text"] {
  width: 100%;
  max-width: 160px;
  padding: 0.4rem;
}

.searchform input[type="submit"] {
  padding: 0.4rem 0.8rem;
}

.site-header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: #333;
    color: #fff;
}

.site-header a {
    color: white;
    text-decoration: none;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.no-click > a {
    pointer-events: none;
    cursor: default;
    color: #333; /* Optional: make it look like a heading */
}

/* Slider Section */
/* .slider-section {
    margin-top: 20px;
}
div#n2-ss-2 .n2-ss-slide-limiter {
  max-width: 100%;
} */
.about-section {
    padding: 50px;
    background: #f4f4f4;
    text-align: center;
}

/* footer style */
.site-footer {
    background-color: #f8f9fa;
  }

  .custom-footer {
    background: linear-gradient(145deg, #e3f2fd, #ffffff);
    font-size: 0.9rem;
  }
  .footer-nav li {
    display: inline-block;
    margin: 0 10px;
  }
  .footer-nav a {
    color: #455a64 !important;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .footer-nav a:hover {
    color: #2196F3 !important;
  }
  .social-link {
    color: #3ab54a;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
  }
  .social-link:hover {
    color: #2196F3;
    transform: translateY(-3px);
  }
  .btn-scroll-top {
    border: none;
    background: none;
    color: #3ab54a;
    font-size: 1.8rem;
    transition: all 0.3s ease;
  }
  .btn-scroll-top:hover {
    transform: scale(1.1);
  }

  .site-footer a:not([href]):not([class]), a:not([href]):not([class]):hover {
    display: none;
}
  .site-footer ul {
    padding-left: 0rem;
  }
  .footer-nav {
    font-size: 1.2rem;
  }
  /* contact page */
  /* form */
  div.wpforms-container-full input[type=email],
  div.wpforms-container-full input[type=text],
  .wpforms-container select.wpforms-field-medium {
    max-width: 100%;
  }

  /* cart-checkout page */
.wc-block-cart__submit-container {
  border: 3px solid #875a2a;
  background: #39b64b;
  color: #fff;
}

.wc-block-cart__submit-container a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
}
/* Add to cart page */
.add_to_cart_button.ajax_add_to_cart {
  background-color: #39b64b !important;
  border: 2px solid #875a2a !important;
  color: #fff !important;
}