/* Add spacing around the shop title */
.woocommerce-products-header__title {
    padding: 20px 20px 20px 20px;
	text-align: center;
}

/* Mobile: stack into 1 column */
@media (max-width: 600px) {
    .site-footer ul {
        grid-template-columns: 1fr;
    }
}

/* Hide heading on pages */
.entry-header h1 {
	display: none;
}

/* Page padding */
.inside-article {
	  padding: 0 !important;
}

/* Targets password form */
.post-password-form {
	text-align: center;
}

/* Aligns text to center */
.has-text-align-center {
	padding: 0 40px;
}

/* Jetpack contact form */
.wp-block-jetpack-contact-form {
	margin-left: 40px;
	margin-right: 40px;
}

.wp-block-jetpack-contact-info {
	text-align: center;
	padding-top: 20px;
}

/* Links */
a, a:focus, a:hover {
	color: #1abc9c;
}

/* Accordions */
.wp-block-accordion-heading__toggle-title {
	padding: 20px 0 10px 40px;
	font-weight: bold;
}

.wp-block-accordion-heading__toggle-icon {
	padding-right: 40px;
	padding-left: 40px;
}

.wp-block-accordion-heading__toggle-title strong {
  font-weight: normal;
  font-size: 16px;
}

/* About Us Page Image*/
.wp-image-117 {
	width: 100%;
	padding: 40px;
}

/* About Us Page Heading */
.wp-block-heading {
	padding: 20px;
}

/* UNSURE */
.wp-block-button__link {
	padding: 10px;
}

#wp-block-file--media-2adce66d-f9bd-436d-8819-b23944be9f07 {
	padding: 40px;
}

/* Contact Form Input Boxes */
.wp-block-jetpack-contact-form {
	max-width: 90%;
}

/* Mail Poet Pages*/
.mailpoet-manage-subscription {
	margin-left: 40px;
}

.mailpoet_paragraph {
	padding: 10px;
}

.mailpoet_confirm_unsubscribe {
	margin: 40px;
}

/* Dokan Store Widgets */ 
#block-13 {
	display: none !important;
}

#block-9 {
	display: none !important;
}

#block-11 {
	display: none !important;
}

#block-15 {
	display: none !important;
}

#dokan-secondary {
	display: none !important;
}

/* Featured sellers section */
.featured-sellers-grid {
    display: grid;
	  grid-template-columns: repeat(5, 1fr); 
    gap: 24px;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    .featured-sellers-grid {
			grid-template-columns: repeat(4, 1fr); 
        gap: 16px;
    }
}

@media (max-width: 800px) {
    .featured-sellers-grid {
			grid-template-columns: repeat(3, 1fr); 
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .featured-sellers-grid {
			grid-template-columns: repeat(2, 1fr); 
        gap: 16px;
    }
}

/* Individual seller card */
.featured-seller-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 200px;
    padding: 24px 20px;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.15);
    border-radius: 12px;
    color: #000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Hover effects */
.featured-seller-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
	  background: linear-gradient(to right, #27EEF5, #2731F5, #B727F5, #F527DD);
    color: #fff;
    border-color: #000;
}

.featured-seller-card:hover .featured-seller-cta {
    opacity: 1;
    transform: translateX(4px);
}

.entry-title {
	display: none;
}

/* SHRINK THE SITE SUB-HEADER */

.site-sub-header {
    padding-top: 5px;
    padding-bottom: 5px;
    min-height: 0;
}

/* FORCE FULL WIDTH SECTIONS (THEME PROOF) */

/* Only break out wp-block-cover that is inside .entry-content or .site-main */
.entry-content > .wp-block-cover,
.site-main > .wp-block-cover {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Keep inner content readable */
.wp-block-cover__inner-container,
.wc-block-featured-category__inner-blocks {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Hides SKU on Product Page */
.sku_wrapper {
	display: none !important;
}

/* UNSURE */
.posted_in {
	padding-top: 10px;
}

/* Marketplace-safe product description fix */
.woocommerce-product-details__short-description *,
.woocommerce-Tabs-panel *,
.product-description * {
  box-sizing: border-box;
  max-width: 100% !important;
  height: auto !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Prevent inner scrollbars and overflow 
.woocommerce-product-details__short-description div,
.woocommerce-Tabs-panel div,
.product-description div {
  max-width: 100% !important;
  overflow: visible !important;
}

/* Tables from Word / Shopify 
.woocommerce-product-details__short-description table,
.woocommerce-Tabs-panel table {
  width: 100% !important;
  display: block;
  overflow-x: auto;
}

/* Add product title */
.single-product .product_title,
.single-product h1.product_title,
.single-product .entry-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.single-product .product_title {
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 600;
}

/* --------- Keeps shop pages loading correctly - Add more lines as necessary ----------- */
#infinite-view-1 {
    display: none !important;
}

#infinite-view-2 {
    display: none !important;
}

#infinite-view-3 {
    display: none !important;
}

#infinite-view-4 {
    display: none !important;
}

#infinite-view-5 {
    display: none !important;
}

#infinite-view-6 {
    display: none !important;
}

#infinite-view-7 {
    display: none !important;
}

#infinite-view-8 {
    display: none !important;
}

#infinite-view-9 {
    display: none !important;
}

#infinite-view-10 {
    display: none !important;
}

#infinite-view-11 {
    display: none !important;
}

#infinite-view-12 {
    display: none !important;
}

#infinite-view-13 {
    display: none !important;
}

#infinite-view-14 {
    display: none !important;
}

#infinite-view-15 {
    display: none !important;
}

#infinite-view-16 {
    display: none !important;
}

#infinite-view-17 {
    display: none !important;
}

#infinite-view-18 {
    display: none !important;
}

#infinite-view-19 {
    display: none !important;
}

#infinite-view-20 {
    display: none !important;
}
    /* Allow titles to take natural height on very small screens */
    .woocommerce-loop-product__title {
        min-height: auto;
    }

/* Load More Button */
/* Force Load More container to sit below products */
#infinite-handle {
    display: flex;             
    justify-content: center;   
    width: 100%;               
    margin-top: 30px;         
    flex: none;               
    order: unset;             
}

/* Style the button if needed */
#infinite-handle .ctis-load-more button {
    font-size: 20px;
	  font-weight: bold;
    cursor: pointer;
}

.ctis-load-more:hover {
    font-size: 20px;
	  font-weight: bold;
    cursor: pointer;
}

/* Hide Product Description on Cart & Checkout Pages */
.wc-block-components-product-metadata__description {
	display: none;
}

/* RELATED PRODUCTS */
/* Make related products a proper flex container */
.related.products ul.products {
    display: flex !important;
    flex-wrap: wrap !important; 
    justify-content: flex-start !important; 
    gap: 20px; 
}

/* Each product takes up equal space */
.related.products ul.products li.product {
    flex: 0 1 calc(25% - 20px); 
    max-width: calc(25% - 20px);
    margin: 0 !important;
}

/* Medium screens: 2 per row */
@media (max-width: 1199px) {
    .related.products ul.products li.product {
        flex: 0 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Force shop page product listings to be neat and aligned */ 
ul.products.columns-3 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important; 
    gap: 20px; 
}

/* Each product takes equal space */
ul.products.columns-3 li.product {
    flex: 0 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    display: block;
}

/* Medium screens: 2 per row */
@media (max-width: 1199px) {
    ul.products.columns-3 li.product {
        flex: 0 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Store Name on Product Listing */
.product-vendor-info {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 10px 15px;
    background: #f9f9f9;
    border-left: 3px solid #007cba;
    font-size: 14px;
    gap: 10px;
}

.product-vendor-info a {
    color: #007cba;
    text-decoration: underline;
}

/* Container for badges */
.badge-container {
    display: flex !important;   
    flex-wrap: wrap;             
    gap: 8px;                   
    align-items: flex-start;     
    margin: 12px 0;             
}

/* Base Premium Badge */
.marketplace-badge {
    display: inline-flex;       
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 40px;
    line-height: 1.2;
    font-family: inherit;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    white-space: nowrap;         
    flex-shrink: 0;             
}

/* Hover effect */
.marketplace-badge:hover {
    transform: translateY(-1px);
}

/* Australian Made – Hero Gold */
.badge-australian {
    background: linear-gradient(135deg, #D4AF37, #B8902E);
    color: #fff;
    font-weight: 700;
}

/* Founding Seller – Charcoal / Gold text */
.badge-founding {
    background: #2C2C2C;
    color: #D4AF37;
    border: 1px solid #444;
}

/* Launch Seller – Charcoal Lighter / Gold text */
.badge-launch {
    background: #4A4A4A;
    color: #D4AF37;
    border: 1px solid #444;
}

/* Handmade – Ivory / Black text */
.badge-handmade {
    background: #F7F5F2;
    color: #000;
    border: 1px solid #E0D6B8;
}

/* Handcrafted – Warm Ivory / Black text */
.badge-handcrafted {
    background: #EDE9E0;
    color: #000;
    border: 1px solid #E0D6B8;
}

/* Optional icon spacing */
.marketplace-badge i {
    margin-right: 4px;
    font-size: 11px;
    vertical-align: middle;
}

/* Responsive adjustments for small screens */
@media (max-width: 480px) {
    .marketplace-badge {
        font-size: 9px;
        padding: 5px 10px;
    }
}

/* Afterpay Message on Product Page */
#payment-method-message {
    --wc-bnpl-margin-bottom: 0 !important;
    max-height: 30px;
    overflow: hidden;
}

/* Make Tile Titles only Show First Line */
.woocommerce-loop-product__title {
    display: block;             
    white-space: nowrap;       
    overflow: hidden;           
    text-overflow: ellipsis;   
    max-width: 100%;           
}

/* Search Bar on Homepage */
.wp-block-search__button-outside {
    border: 1px solid #000;
    border-radius: 8px;   
    padding: 20px;  
	  background: linear-gradient(to right, #27EEF5, #2731F5, #B727F5, #F527DD);
	  color: white;
	  font-size: 20px;
	  text-align: center;
}

.avatar {
	display: none;
}

.live-search-results {
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.live-search-results a {
    color: #000 !important;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
}

.live-search-results a:hover {
    background: #f5f5f5;
    color: #000 !important;
}

.live-search-label {
    font-size: 0.8em;
    color: #666;
    margin-left: 5px;
}

label.radio:has(.dokan-role-seller) {
    display: none !important;
}