.subcategory-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.subcategory-item {
    flex: 1 1 calc(25% - 30px);
    max-width: calc(25% - 30px);
    transition: transform 0.3s ease;
}
.subcategory-thumbnail {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 6px;
}

.subcategory-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
}
.nobottommargin p {
	margin-bottom: 0px;
}
.catalog_category span.e-n-accordion-item-title-icon svg {
    width: 25px;
    height: 25px;
}
.catalog_category p {
    margin-bottom: 0px !important;
}
.catalog_category summary.e-n-accordion-item-title[aria-expanded="true"] {
    border-radius: 8px 8px 0px 0px !important;
	/* padding-bottom: 7px !important; */
}
.subcategory-grid img {
    height: 235px !important;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px !important;
    margin-bottom: 32px;
	width: 100%;
}
.page-id-2894 .subcategory-grid .subcategory-item, .page-id-2918 .subcategory-grid .subcategory-item {
    flex: 1 1 calc((100% / 6) - 25px);
    max-width: calc((100% / 6) - 25px);
}
.page-id-2918 .subcategory-grid .subcategory-item {
    flex: 1 1 calc((100% / 5) - 25px);
    max-width: calc((100% / 5) - 25px);
}
.page-id-2894 .subcategory-grid img, .page-id-2918 .subcategory-grid img {
	height: auto !important;
}
.hundredpercentbutton a {
    width: 100%;
}
h3.subcategory-title {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0px;
    background-image: url(https://www.bredent.co.uk/wp-content/uploads/2025/07/Vector-1-1.svg);
    background-repeat: no-repeat;
    background-position: right;
    display: inline-block;
    padding-right: 26px;
}

.subcategory-item:hover img {
    box-shadow: 0px 307px 86px 0px rgba(0, 0, 0, 0.00), 0px 196px 78px 0px rgba(0, 0, 0, 0.01), 0px 110px 66px 0px rgba(0, 0, 0, 0.02), 0px 49px 49px 0px rgba(0, 0, 0, 0.03), 0px 12px 27px 0px rgba(0, 0, 0, 0.04);
}
.subcategory-item:hover h3 {
    color: #565ADD;
}

.product-list {
  display: flex;
  gap: 20px;
  overflow-x: scroll;
  scroll-behavior: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-list::-webkit-scrollbar {
  display: none;
}

.product-item {
  flex: 0 0 auto;
  width: 405px;
  height: 405px;
  border: 1px solid #D9D9D9;
  text-align: center;
}

.product-item {
}
.nobuttontab .home_blue_button {
    display: none !important;
}
.productcattop::before {
    background-image: url(/wp-content/uploads/2025/08/Rectangle-104.svg) !important;
}
.blueskytop::before {
    background-image: url(/wp-content/uploads/2025/08/Rectangle-104-1.svg) !important;
}
.largescreeenfullsize a.elementor-button {
    width: 265px;
}
a#loadMore {
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: flex;
    width: 205px;
    height: 53px;
    padding: 14px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    background: var(--Main-Purple, #565ADD);
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    transition: color 0.6s ease;
    position: relative;
}
#loadmorepdt a#loadMore:hover::before {
    width: 300%;
    height: 500%;
    bottom: calc(-50% - 70px);
    border-radius: 30% 30% / 30% 30%;
}
#loadmorepdt a#loadMore::before {
    content: "";
    position: absolute;
    bottom: -50%;
    left: 38%;
    width: 40px;
    height: 20px;
    background-color: #4A4EBE !important;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    transition: width 0.5s linear, height 0.5s linear, bottom 0.5s linear;
}
body:has(.product-subcategories) .resource_tab .e-n-tab-title {
    max-height: 60px;
}
.darkbluecurved:after {
    content: '';
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/2025/08/Vector-3.svg);
    position: absolute;
    top: 50px;
    left: 0px;
    background-position: bottom;
    z-index: -1;
}
.sixtyopacitybg:after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: url(https://www.bredent.co.uk/wp-content/uploads/2025/08/Rectangle-104-2.svg);
    position: absolute;
    background-repeat: no-repeat;
    background-position: right bottom;
    opacity: 0.1;
    z-index: -1;
}
.product-list {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; 
  white-space: nowrap;
}
.um-field {
    padding: 0px;
}
.um-field-label {
    margin-bottom: 11px;
}
.um-form input[type=text], .um-form input[type=email], .um-form input[type=password] {
    display: flex;
    height: 51px;
    min-height: 50px;
    padding: 12px 15px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border: 1px solid rgba(0, 0, 0, 0.50);
    background: #FFF;
}
@media (min-width: 1300px) {
	.subcategory-grid img {
		width: 100%;
	}
	.notopspaceaccordion div[role="region"] {
		margin-top: -10px;
	}
	.faqcategory div[role="region"] {
		margin-top: -1px;
	}
	.faqcategory .elementor-widget-container p {
		max-width: 96%;
	}
	.whychoosesecond .elementor-icon-box-description {
		max-width: 98.75%;
	}
}
@media (max-width: 1024px) {
    .subcategory-item {
        flex: 1 1 calc(50% - 25px) !important;
        max-width: calc(50% - 25px) !important;
    }
}

@media (max-width: 1200px) {
	.faqtops:after {
		height: 80px;
		bottom: 0px !important;
		overflow: hidden;
	}
	.blueskytop::before, .productcattop::before, .faqtops::before {
		background-size: 22% auto !important;
	}
	.blueskytop, .productcattop, .faqtops {
		background-size: 60px;
	}
	.darkbluecurved:after {
		top: 48px;
	}
	.resbluebg {
		background-color: #F5F5FD;
	}
	
}
@media (max-width: 990px) {
	.darkbluecurved:after {
		top: 47px;
	}
	.sixtyopacitybg:after {background-size:50%}
}
@media (max-width: 768px) {
	.product-item {
		width: 205px;
		height: 205px;
	}
	.subcategory-grid img {
		height: 132px !important;
	}
	.product-item img {
		max-width: 100% !important;
		max-height: 80%;
		object-fit: contain;
	}
	.subcategory-grid img {
		width: 100%;
	}
	.subcategory-item {
		flex: 1 1 calc((100% / 2) - 25px) !important;
		max-width: calc((100% / 2) - 25px) !important;
	}
}

@media (max-width: 480px) {
    .subcategory-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
