/* -----------------------------------
   TYPOGRAPHY & GLOBAL FONT STYLING
----------------------------------- */
body,
body.woocommerce,
body.woocommerce-page,
.woocommerce div.product,
.woocommerce div.product .product_title,
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-Tabs-panel,
button,
.elementor-button,
.ast-button,
.ast-custom-button,
input[type="submit"],
input[type="button"] {
  font-family: 'Lora', serif !important;
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
}

/* -----------------------------------
   HEADER / STICKY NAVIGATION
----------------------------------- */
.main-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
}

.site-content {
  padding-top: 100px;
}

@media (max-width: 768px) {
  .site-content {
    padding-top: 80px;
  }

  .ast-mobile-header-content {
    position: fixed !important;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #fff;
    width: 100%;
  }

  .ast-header-bar,
  .ast-header-custom-item,
  .ast-builder-menu-mobile {
    overflow: visible !important;
  }

  #ast-mobile-site-navigation,
  #ast-hf-mobile-menu,
  .ast-mobile-header-wrap,
  .ast-main-header-bar-alignment {
    position: relative;
    z-index: 10001;
    background: #fff;
  }

  .footer-contact {
    margin-top: 20px !important;
  }
}

/* -----------------------------------
   BUTTON STYLING (WooCommerce + Site)
----------------------------------- */
.woocommerce div.product .single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: #2C3C34 !important;
  color: #fff !important;
  border: none;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.woocommerce div.product .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: #1e2a24 !important;
}

/* -----------------------------------
   LAYOUT & UTILITY CLASSES
----------------------------------- */
.gluttons-collection-date {
  margin-bottom: 30px;
}

.ast-footer-widget-area .footer-widget:nth-child(5) {
  flex: 1.5;
}

.elementor-11 .elementor-element.elementor-element-5ea00c3.full-height-img img {
  height: 100% !important;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* -----------------------------------
   MENU STYLING
----------------------------------- */

/* General layout */
.menu-toggle {
  text-align: center;
  margin-bottom: 20px;
}

.menu-toggle button {
  background: #F8F5F0;
  border: none;
  color: #2C3C34;
  font-size: 2.5rem;
  padding: 10px 20px;
  cursor: pointer;
}

.menu-toggle button.active {
  text-decoration: underline;
}

/* Remove background from toggle wrapper */
.menu-toggle,
.menu-toggle * {
  background-color: transparent !important;
}

/* Category headers */
.category {
  background-color: #2C3C34;
  color: white;
  padding: 15px;
  margin: 10px auto;
  max-width: 900px;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 5px;
  text-align: center;
}

/* Product layout */
.product-list {
  display: none;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: left;
  padding: 15px;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .product-row {
    grid-template-columns: 1fr;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .category,
  .product-list,
  .menu-toggle {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.product {
  display: flex;
  flex-direction: column;
}

/* Product title layout: name + dots + price */
.product-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #2C3C34;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  gap: 0.5rem;
}

.product-line {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: baseline;
}

.product-name {
  white-space: nowrap;
  margin-right: 0.5rem;
}

.dots {
  flex-grow: 1;
  border-bottom: 1px dotted #2C3C34;
  height: 1em;
  transform: translateY(-0.1em);
}

.product-price {
  white-space: nowrap;
  background: #F8F5F0;
  padding-left: 0.5rem;
}

/* Product description */
.product-description {
  font-size: 0.95rem;
  color: #2C3C34;
  line-height: 1.4;
}



/* hide star rating on shop products*/
.eael-star-rating {
  display: none !important;
}

/* Two-column layout for single product page */
.single-product .product {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

/* Left column - Image */
.single-product .woocommerce-product-gallery {
  flex: 1 1 48%;
}

/* Right column - Info */
.single-product .summary.entry-summary {
  flex: 1 1 48%;
}

/* Move product tabs to full width below */
.single-product .woocommerce-tabs {
  flex: 1 1 100%;
}

/* Make it mobile-friendly */
@media (max-width: 768px) {
  .single-product .product {
    flex-direction: column;
  }

  .single-product .woocommerce-product-gallery,
  .single-product .summary.entry-summary {
    flex: 1 1 100%;
  }
}
