
body {
		overflow-x: hidden; !important; 
	}

.template-search .post-entry.slide-entry {
    position: relative;
    clear: none;
}
main {
	background-color: #efefef !important;
}
.search-main {
	display: flex !important;
	justify-content: center;
	align-items: center;
	background-color: #efefef !important;
}
.search-main .container {
	width: 1170px !important;
}
.search-main .et_builder_outer_content {
	
	display: flex !important;
	flex-wrap: wrap !important;
	padding: 4rem 0 !important;
}
.search-main .et_builder_outer_content article {
	width: 20% !important;
}

.is-search-form {
	width: 60% !important;
	margin: auto !important;
}
.is-search-form input[type=search] {	
padding: 24px !important;
	border-color: #26e8ef !important;
}
@media (max-width: 1023px) {
  .search-main .et_builder_outer_content article {
width: 33% !important;	
		
}
.is-search-form {
	width: 75% !important;
	margin: auto !important;
}
}
@media (max-width: 649px) {
  .search-main .et_builder_outer_content article {
width: 49% !important;	
}
	.is-search-form {
	width: 95% !important;
	margin: auto !important;
}
}
.pagination-division { 
	top: -5px !important;
	position: relative !important;
/* 	right : calc(90px - 80vw) !important; */
		left: calc(24vw - 60px) !important;
	bottom: 100px !important;
	z-index: 111 !important;
}
.wp-pagenavi {
	margin: auto !important;
}
.et-db #et-boc .et-l .et_pb_section_0 {
	padding-bottom: 0px !important;
}

.et_pb_toggle_content ul li {
    list-style: 1;
    list-style-position: 1;
    list-style-image: 1;
    list-style-type: 1;
}

.ff-filter-holder {
display: none;
}

/* ALCO Shirts TeePublic Directory */
.alco-tp-directory .alco-tp-item {
    display: grid !important;
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 35px !important;
    align-items: start !important;
    padding: 30px 0 !important;
    border-bottom: 1px solid #ddd;
}

.alco-tp-directory .alco-tp-media {
    width: 250px !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

.alco-tp-directory .alco-tp-media img {
    display: block !important;
    width: 250px !important;
    height: 250px !important;
    object-fit: contain !important;
    max-width: 100% !important;
}

.alco-tp-directory .alco-tp-content {
    min-width: 0 !important;
}

.alco-tp-directory .alco-tp-content h2 {
    margin-top: 0 !important;
}

.alco-tp-directory .alco-tp-description {
    line-height: 1.6;
}

.alco-tp-directory .alco-tp-keywords,
.alco-tp-directory .alco-tp-category {
    margin-top: 12px;
}

/* Mobile */
@media (max-width: 700px) {
    .alco-tp-directory .alco-tp-item {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .alco-tp-directory .alco-tp-media {
        width: 100% !important;
        min-height: 0 !important;
    }

    .alco-tp-directory .alco-tp-media img {
        width: 220px !important;
        height: 220px !important;
    }
}

.alco-tp-directory .alco-tp-button {
    display: inline-block !important;
    padding: 10px 18px !important;
    margin-top: 15px !important;
    border: 1px solid #222 !important;
    border-radius: 5px !important;
    background: #222 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    transition: opacity 0.2s ease !important;
}

.alco-tp-directory .alco-tp-button:hover {
    opacity: 0.8 !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* ALCO Shirts TeePublic Directory - Button Pagination */

.alco-tp-directory .alco-tp-pagination {
    display: block !important;
    width: 100% !important;
    margin: 40px 0 !important;
    padding: 0 !important;
    clear: both !important;
}

.alco-tp-directory .alco-tp-pagination ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.alco-tp-directory .alco-tp-pagination li {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.alco-tp-directory .alco-tp-pagination li::before,
.alco-tp-directory .alco-tp-pagination li::after {
    display: none !important;
    content: none !important;
}

/* All pagination elements become buttons */
.alco-tp-directory .alco-tp-pagination a,
.alco-tp-directory .alco-tp-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
    margin: 0 !important;
    border: 1px solid #222 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #222 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

/* Current page */
.alco-tp-directory .alco-tp-pagination .current {
    background: #222 !important;
    color: #fff !important;
    border-color: #222 !important;
}

/* Hover */
.alco-tp-directory .alco-tp-pagination a:hover {
    background: #222 !important;
    color: #fff !important;
    border-color: #222 !important;
    text-decoration: none !important;
}

/* Fix AlcoShirts dropdown submenu */
.main-navigation ul.sub-menu {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block;
    position: absolute;
    z-index: 99999 !important;
}

/* Keep every submenu item visible */
.main-navigation ul.sub-menu li {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Make submenu links occupy their full item */
.main-navigation ul.sub-menu li a {
    display: block !important;
    height: auto !important;
    white-space: nowrap;
}

/* =========================================================
   AlcoShirts Amazon Design Pages
   Visual modifications only
   ========================================================= */

/* WHITE PAGE BACKGROUND */

body:has(.ads-product-page),
body:has(.ads-product-page) #page,
body:has(.ads-product-page) #main-content,
body:has(.ads-product-page) .container,
body:has(.ads-product-page) .entry-content,
body:has(.ads-product-page) .site-main {
    background-color: #ffffff !important;
}

/* MAIN PRODUCT AREA */

body:has(.ads-product-page) .ads-product-page {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 30px 35px 70px !important;
    background-color: #ffffff !important;
}

/* TOP PRODUCT LAYOUT */

body:has(.ads-product-page) .ads-product-layout {
    gap: 55px !important;
    align-items: start !important;
}

/* PRODUCT IMAGE */

body:has(.ads-product-page) .ads-product-image {
    background-color: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04) !important;
}

/* PRODUCT TITLE */

body:has(.ads-product-page) .ads-product-title {
    margin-bottom: 14px !important;
    font-size: 38px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
}

/* BRAND */

body:has(.ads-product-page) .ads-product-brand {
    margin-bottom: 22px !important;
    padding: 5px 10px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
}

/* INTRODUCTION */

body:has(.ads-product-page) .ads-product-intro {
    margin-bottom: 25px !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* AMAZON BUTTON */

body:has(.ads-product-page) .ads-product-cta {
    padding: 11px 18px !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* CONTENT SECTION SPACING */

body:has(.ads-product-page) .ads-product-section {
    margin-top: 35px !important;
    padding-top: 25px !important;
}

/* SECTION HEADINGS */

body:has(.ads-product-page) .ads-product-section h2 {
    margin-bottom: 16px !important;
    font-size: 21px !important;
    line-height: 1.3 !important;
}

/* BULLET POINTS */

body:has(.ads-product-page) .ads-product-bullets li {
    margin-bottom: 10px !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

/* TOPIC TAGS */

body:has(.ads-product-page) .ads-product-topics {
    gap: 7px !important;
}

body:has(.ads-product-page) .ads-product-topic {
    padding: 5px 9px !important;
    font-size: 11px !important;
}

/* REMOVE PRODUCT DETAILS */

body:has(.ads-product-page) .ads-product-details {
    display: none !important;
}

/* RELATED DESIGNS */

body:has(.ads-product-page) .ads-product-related {
    gap: 20px !important;
}

body:has(.ads-product-page) .ads-product-related-image {
    border: 1px solid #e5e5e5 !important;
    border-radius: 7px !important;
}

body:has(.ads-product-page) .ads-product-related-title {
    margin-top: 9px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    body:has(.ads-product-page) .ads-product-page {
        padding: 25px 25px 60px !important;
    }

    body:has(.ads-product-page) .ads-product-layout {
        gap: 35px !important;
    }

    body:has(.ads-product-page) .ads-product-title {
        font-size: 32px !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body:has(.ads-product-page) .ads-product-page {
        padding: 20px 18px 50px !important;
    }

    body:has(.ads-product-page) .ads-product-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    body:has(.ads-product-page) .ads-product-image {
        max-width: 550px !important;
        margin: 0 auto !important;
    }

    body:has(.ads-product-page) .ads-product-title {
        font-size: 30px !important;
        line-height: 1.15 !important;
    }

    body:has(.ads-product-page) .ads-product-intro {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    body:has(.ads-product-page) .ads-product-related {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

/* =========================================================
   AlcoShirts Amazon Directory
   Place View Design + View on Amazon side by side
   ========================================================= */

.ads-public-card .ads-public-content {
    display: block !important;
}

.ads-public-card .ads-public-button {
    display: inline-block !important;
    width: auto !important;
    margin: 0 6px 0 0 !important;
    vertical-align: middle !important;
}