/* Make product category images smaller */
.woocommerce ul.products li.product-category img {
  max-width: 150px;
  margin: 0 auto;
}

.woocommerce ul.products li.product-category {
  text-align: center;
  padding: 10px;
}

/* Hide footer credit line */
.site-info {
  display: none;
}
/* Fix MailerLite form height in sidebar */
.sidebar-ml-form {
  max-width: 320px;
}

.sidebar-ml-form iframe,
.sidebar-ml-form form,
.sidebar-ml-form .ml-form-embedContainer {
  max-height: none !important;
  height: auto !important;
  min-height: unset !important;
  padding: 0 !important;
}

.sidebar-ml-form input,
.sidebar-ml-form button {
  width: 100% !important;
  box-sizing: border-box;
}

/* Blog post title styling */
.entry-title {
  display: block !important;
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

/* Hide category, author, date metadata */
.cat-links,
.byline,
.posted-on,
.single-post .byline,
.single-post .posted-on,
.single-post .author,
.single-post .entry-meta {
  display: none !important;
}

/* Hide WooCommerce load more buttons */
a.storefront-load-more,
button.storefront-load-more,
.woocommerce-load-more,
a.load-more,
button.load-more,
.storefront-pagination a.button {
  display: none !important;
}

/* Hide SKU + tags on product pages */
.product_meta .sku_wrapper,
.product_meta .tagged_as,
.product_meta .posted_in {
  display: none !important;
}

/* Breadcrumb spacing */
.woocommerce-page .woocommerce-breadcrumb {
  margin-bottom: 5px !important;
}

/* Page title spacing */
.woocommerce-page .page-header {
  margin-top: 5px !important;
  margin-bottom: 15px !important;
}

/* Additional breadcrumb adjustments */
.woocommerce-page .woocommerce-breadcrumb {
  margin-bottom: 4px !important;
}

/* Additional page title spacing */
.woocommerce-page .page-header {
  margin-top: 4px !important;
  margin-bottom: 12px !important;
}
/* Hide PayPal buttons on single product pages */
.single-product .paypal-smart-button,
.single-product .paypal-pay-later,
.single-product .paypal-venmo {
    display: none !important;
}

/* Hide PayPal buttons on cart page */
.woocommerce-cart .paypal-smart-button,
.woocommerce-cart .paypal-pay-later,
.woocommerce-cart .paypal-venmo {
    display: none !important;
}
/* Reduce space above shop page title */
.woocommerce-page .page-header {
    padding-top: 5px; /* Adjust this value as needed */
    margin-bottom: 5px; /* Optional: reduces space below title */
}

/* Optional: if breadcrumbs add extra space */
.woocommerce-page .storefront-breadcrumb {
    margin-bottom: 5px; /* Adjust as needed */
}
/* Reduce spacing above and below category blocks */
ul.products li.product {
    margin-top: 10px;   /* reduce space above */
    margin-bottom: 10px; /* reduce space below */
    padding-top: 5px;    /* optional, reduces internal padding */
    padding-bottom: 5px; /* optional */
}

/* Reduce spacing between the page title and category blocks */
.woocommerce-products-header {
    margin-bottom: 10px; /* adjust as needed */
}
/* Reduce space above page titles on general pages */
.page .page-header {
    padding-top: 5px;   /* Adjust as needed */
    margin-bottom: 5px; /* Adjust as needed */
}

/* Optional: reduce spacing for breadcrumbs if present */
.page .storefront-breadcrumb {
    margin-bottom: 5px; /* Adjust as needed */
}
/* Reduce overall footer padding */
.site-footer, .footer-widgets {
    padding-top: 10px;   /* Reduce space above content */
    padding-bottom: 2px; /* Reduce space below content */
}

/* Reduce spacing between footer columns */
.footer-widgets .widget {
    margin-bottom: 5px; /* Adjust if needed */
}

/* Optional: reduce space inside widget headings (like "Follow Me:") */
.footer-widgets h4 {
    margin-top: 5px;
    margin-bottom: 5px;
}
/* --- Compact Top Header, Site Title, Tagline, and Menu --- */

/* Reduce padding in the header container */
.site-header {
    padding-top: 5px;    /* space above everything */
    padding-bottom: 5px; /* space below everything */
}

/* Reduce padding/margin for site title and tagline */
.site-branding {
    padding-top: 0;
    padding-bottom: 0;
}

/* Optional: slightly smaller tagline for compact look */
.site-description {
    font-size: 0.9em;  /* adjust as needed */
    margin-bottom: 5px; /* space between tagline and menu */
}

/* Reduce spacing in main navigation menu */
.main-navigation {
    margin-top: 5px;    /* space above menu */
    margin-bottom: 5px; /* space below menu */
}

/* Optional: tighten menu items if needed */
.main-navigation ul li {
    padding-top: 3px;
    padding-bottom: 3px;
}
/* Reduce overall header height and background space */
.site-header {
    min-height: 50px; /* Adjust this smaller to reduce header height */
    padding-top: 0;
    padding-bottom: 0;
}

/* Reduce space for the site title and tagline inside the header */
.site-branding {
    padding: 0;
    margin: 0;
}

/* Optional: slightly smaller tagline font */
.site-description {
    font-size: 0.85em;
    margin: 0;
}

/* Reduce vertical space in main navigation */
.main-navigation {
    margin: 0;
    padding: 0;
}

.main-navigation ul li {
    padding-top: 2px;
    padding-bottom: 2px;
}
/* Make WooCommerce Add-On fields more compact */
.woocommerce-add-on input[type="text"], 
.woocommerce-add-on input[type="url"], 
.woocommerce-add-on input[type="tel"] {
    width: 100%;
    max-width: 400px; /* keeps it from being too wide */
    padding: 6px 8px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Make labels smaller and lighter */
.woocommerce-add-on label {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

/* Space between upload button and text field */
.woocommerce-add-on {
    margin-bottom: 12px;
}
/* Reduce vertical spacing in header menu */
#site-navigation .menu > li > a {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    line-height: 1.2em !important;
}

/* Reduce spacing between menu rows */
#site-navigation .menu {
    line-height: 1.2em !important;
}

/* Optional: reduce top/bottom padding on the whole navigation bar */
#site-navigation {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
/* —— Global text and content spacing fix —— */
body, p, li, a, span, td, th {
  line-height: 1.35 !important;
}

/* Reduce space between paragraphs globally */
p {
  margin-bottom: 0.75em !important;
}

/* Headings — reduce space above/below */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2 !important;
  margin-top: 1em !important;
  margin-bottom: 0.5em !important;
}

/* WooCommerce product page spacing adjustments */
.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .product_title,
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells {
  margin-bottom: 1.2em !important;
}

/* Tighten spacing within product description content */
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .entry-content p {
  line-height: 1.35 !important;
  margin-bottom: 0.8em !important;
}

/* Reduce spacing inside lists (bullet or numbered) */
ul, ol {
  margin-top: 0 !important;
  margin-bottom: 0.8em !important;
  padding-left: 1.2em;
}

/* Footer / widget areas — tighten up spacing */
.site-footer p, 
.site-footer a, 
.site-footer li,
.site-footer .footer-policies a {
  line-height: 1.35 !important;
  margin-bottom: 0.8em !important;
}

/* Optional: tighten form fields (checkout, address, etc.) */
.woocommerce .woocommerce-form-row {
  margin-bottom: 10px !important;
}
/* Sidebar MailerLite form wrapper */
.sidebar-ml-form {
    max-width: 400px; /* Adjust width as needed */
    margin: 0 auto; /* Center in sidebar */
    font-size: 10px; /* Make text smaller */
}

/* Force the MailerLite embed wrapper to fit */
.sidebar-ml-form .ml-form-embedWrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* Make the input and button smaller */
.sidebar-ml-form input[type="email"],
.sidebar-ml-form button {
    font-size: 12px !important;
    padding: 4px 6px !important;
}

/* Optional: shrink the header and paragraph text */
.sidebar-ml-form h4 {
    font-size: 10px !important;
    margin-bottom: 4px !important;
}

.sidebar-ml-form p {
    font-size: 10px !important;
    margin-bottom: 4px !important;
}
