*, *::before, *::after {
  box-sizing: border-box;
}

body {
    background-color: #fff !important;
    color: #515151!important;
}

.header-site-name {
  font-size: 2rem;
}

@media (max-width: 576px) {
  .header-site-name {
    font-size: 1.3rem;
  }
}

.header-site-name a {
  text-decoration: none!important;
  color: #515151!important;
}

.tagline {
    font-size: 1rem;
}

@media (max-width: 576px) {
  .tagline {
    font-size: 0.8rem;
  }
}

.footer {
  background-image: url("../images/pitcher_plants_black.738c15dcf836.png");
  background-position: right top;
  background-repeat: no-repeat;
}

.hero-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: right;
  min-height: 300px;
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.hero-overlay-box {
  background: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  max-width: 100% !important;
  text-align: center;
  z-index: 2;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-shadow: 3px 3px 10px #666;
  border: 2px dashed #9900CC;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .hero-overlay-box {
    width: 95% !important;
    max-width: 95% !important;
  }
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2f2f2f;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #444;
}

@media (max-width: 768px) {
  .hero-bg {
    height: auto;
    flex-direction: column;
  }

  .hero-overlay-box {
    position: static;
    transform: none;
    margin-top: 1rem;
  }
}

.image-overlay-wrapper-instock {
  position: relative;
  /* width: 100%; */
  height: auto;
  overflow: hidden;
}

.overlay-text-instock {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* background-color: rgba(0, 0, 0, 0.6); */
  color: white;
  padding: 0.5rem;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  z-index: 2;
  white-space: normal;
  word-break: break-word;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0px  2px 4px rgba(0,0,0,0.9); /* Soft drop shadow */
}

.libre-baskerville-regular {
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
}
  
.libre-baskerville-bold {
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-style: normal;
}
  
.libre-baskerville-regular-italic {
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: italic;
}

.header-icons-mobile {
  color: #333;
}

.header-icons-desktop {
  color: #333;
}

.gradient-text {
    background-color: #FF6600;
    background-image: linear-gradient(#FF6600, #FF3300);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
}

.announcement-bar {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #99FF99;
  background-color: #333;
  height: 2rem;
  position: relative;
}

@media (max-width: 576px) {
  .announcement-bar {
    height: 4rem;
  }
}

.vertical-carousel {
  position: relative;
  height: 100%;
}

.announcement-slide {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.announcement-slide.active {
  top: 0;
  opacity: 1;
  z-index: 2;
}

.announcement-slide.exit {
  top: -100%;
  opacity: 0;
  z-index: 1;
}


.offcanvas {
  background-color: #fff !important;
  color: #333 !important;
}

/* Make the toggler icon dark */
.navbar-toggler-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280,0,0,0.8%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler-icon {
  color: #fff !important;
}

.navbar-toggler {
  font-size: 1.7rem !important;
}

.navbar {
  background-color: #fff !important;
  border-bottom: #ccc solid 5px;
}

@media (max-width: 992px) {
  .navbar {
    border: none !important;
    background-color: transparent !important;
  }
}

.site-name-link {
  color: #333;
  text-decoration: none;
}

/* Navbar text color */
.navbar .navbar-brand, .navbar .nav-link {
  padding-top: 0.5rem;
  color: #333;
  font-size: 1.25rem;
  font-weight: 500;
}

.navbar .dropdown-toggle {
  color: #000 !important;
  cursor: pointer;
}

/* Navbar text hover color */
.navbar .nav-link:hover,
.navbar .dropdown-toggle:hover {
  color: #00CC33 !important;
}

/* Navbar brand hover color */
.navbar .navbar-brand:hover {
  color: #c25a3a;
}

/* Active navbar link color */
.navbar .nav-link.active {
  color: #c25a3a;
}

.navbar .dropdown-menu {
  background-color: #fff !important;
  border: none !important;
  border-bottom: #ccc solid 2px !important;
  border-radius: 0px !important;
  min-width: 200px;
}

@media (max-width: 992px) {
  .navbar .dropdown-menu {
    border: none !important;
    background-color: transparent !important;
  }
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #333 !important;
    text-decoration: none;
    font-weight: 500 !important;
}

.dropdown-item:hover {
    background-color: #fff !important;
    color: #00CC33 !important;
}

/* .navbar-nav .dropdown:hover .dropdown-menu {
    display: block !important;
} */

.form-control {
  border: 2px solid #ccc;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  border-color: #999999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.category-name-links a,
.tag-name-links a,
.flatpage-content a,
.cart-links a {
  color: #5a7d9a;
}

.category-name-links a:hover,
.tag-name-links a:hover,
.flatpage-content a:hover,
.cart-links a:hover {
  color: #4d6c85;
}

.article-title-link {
  color: #6a651a;
}

/* Navigation menu styling */
.main-nav {
    background-color: #f5f5f0;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ccc;
    font-family: 'Georgia', serif;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #2f4f2f;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    /* border: 1px solid #ccc; */
    list-style: none;
    padding: 0.5rem 1rem;
    z-index: 1000;
    min-width: 180px;
}

.nav-menu li:hover ul {
    display: block;
}

.nav-menu li ul li {
    margin-bottom: 0.5rem;
}

.nav-menu li ul li:last-child {
    margin-bottom: 0;
}

.flatpage-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.product-thumb {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    border: none;
    box-shadow: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.product-title-link {
    text-decoration: none;
    color: inherit;
}

.card-field-wrapper {
  position: relative;
}

.card-brand {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #888;
}

.hidden {
  display: none;
}

.required {
  font-weight: bold !important;
}