/*
Theme Name: Fifty 2 One
Theme URI: https://emerald-blinds.f2odev.co.uk/customify-child/
Template: customify
Author: Fifty2One
Author URI: https://emerald-blinds.f2odev.co.uk
Description: Customify Child Theme
Version: 1.0.0.1638368381
Updated: 2021-12-01 14:19:41

*/


.savebadge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #9acc2e;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 18px;
  z-index: 10;
  border-radius: 5px;
}

.single-product .product .images {
  position: relative;
}

div.product form.cart .button.primary {
  background: #015838;
  margin-left: 15px;
}

/* Additional Styles */
#site-content {
  overflow: hidden;
}

.addons_div_selection .image-popup {
  display: none;
  position: absolute;
  border: 2px solid #000;
  background-color: #fff;
  border-radius: 10px;
  z-index: 10;
  overflow: hidden;
  width: 200px !important;
  height: 200px !important;
  max-height: 200px !important;
}

.image-popup img {
  width: 100% !important;
  height: 100%;
}

.vc_custom_heading>em {
  font-style: normal;
  font-size: 25px;
  line-height: 35px;
  color: #015838;
}

h1.vc_custom_heading>em {
  font-size: 18px;
  line-height: 25px;
}

.d-flex .wpb_wrapper {
  display: flex;
  align-items: center;
}

@media only screen and (max-width:1024px) {
  .vc_custom_heading>em {
    font-size: 20px;
    line-height: 30px;
  }
}

@media only screen and (max-width:568px) {
  .vc_custom_heading>em {
    font-size: 18px;
    line-height: 25px;
  }
}

.site-header .site-branding img {
  width: 250px !important;
  max-width: 250px;
}


/* Button Sytles */
.vc_btn3 {
  font-family: "Cabin" !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  background-image: unset !important;
  box-shadow: unset !important;
  padding: 8px 25px !important;
  min-width: 140px;
}



/* Header Styles */
.site-header {
  z-index: 11;
}

.menu-logo {
  width: 200px;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
  border-radius: 5px;
  height: 40px;
  background-color: transparent;
  border: 2px solid #F3F3F3;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
  top: 50%;
  left: 15px;
  transform: translatey(-50%);
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover {
  background-color: transparent;
}

.header-menu-sidebar.light-mode .menu li>span {
  line-height: 32.36px;
  padding: 0.56em 1em;
  font-size: 20px;
}

@media only screen and (max-width:1199px) {
  .builder-item--primary-menu .nav-menu-desktop .primary-menu-ul>li>a {
    font-size: 18px;
  }
}

@media only screen and (max-width:568px) {
  .menu-logo {
    width: 250px;
  }

  .nav-menu-mobile .menu li a {
    font-size: 18px !important;
  }

  .header-menu-sidebar.light-mode .menu li>span {
    padding: 0.45em 1em;
  }
}





/* Banner Styles */


/* Under Banner Section Styles */
.under-banner-section .wpb_text_column p {
  font-weight: 600;
  color: #444545;
}

@media only screen and (max-width:1024px) {
  .under-banner-section .wpb_text_column p {
    font-size: 16px;
  }
}

@media only screen and (max-width:991px) {
  .under-banner-section .col-d-none-3 {
    display: none !important;
  }
}

@media only screen and (max-width:767px) {
  .under-banner-section .col-d-none-2 {
    display: none !important;
  }
}

@media only screen and (max-width:568px) {
  .under-banner-section .wpb_column {
    width: 100%;
  }

  .under-banner-section .wpb_column>div {
    align-items: center;
  }

  .under-banner-section .col-d-none-3,
  .under-banner-section .col-d-none-2 {
    display: block !important;
  }
}

/* Modern Shop By Category Grid Styles - Enhanced */
.shop-by-category {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  grid-column: 1/-1 !important;
}

.shop-by-category::before {
  display: none;
}

/* All category items use same styling */
.shop-by-category .cat-qua {
  width: auto;
  display: block !important;
  position: relative !important;
}

.shop-by-category .wpb_column>div {
  position: relative;
  width: 100%;
  height: 280px;
  padding: 0;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 5px;
}

/* Remove texture overlay */

/* Text overlay positioned at bottom */
.shop-by-category .wpb_column .vc_custom_heading {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  padding: 0.5rem 1rem !important;
  background: #015838 !important;
  color: #ffffff !important;
  transition: all 0.3s ease;
  border-radius: 0 0 5px 5px;
}

/* Button styling with emerald theme */
.shop-by-category .wpb_column .vc_btn3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 0;
  padding: 0.875rem 1.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: #147a55;
  /* lighter green accent */
  border: 2px solid rgba(20, 122, 85, 0.3);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover overlay with emerald gradient */
.shop-by-category .wpb_column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 88, 56, 0.3), rgba(20, 122, 85, 0.6));
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

/* Enhanced hover effects */
.shop-by-category .wpb_column:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.shop-by-category .wpb_column:hover::before {
  opacity: 1;
}

.shop-by-category .wpb_column:hover .vc_btn3 {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.shop-by-category .wpb_column:hover .vc_custom_heading {
  background: rgba(1, 88, 56, 0.95) !important;
  /* deep emerald tone */
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(1, 88, 56, 0.3);
  /* soft emerald shadow */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .shop-by-category {
    grid-template-columns: repeat(3, 1fr);
  }

  .shop-by-category .wpb_column>div {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .shop-by-category {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .shop-by-category .wpb_column>div {
    height: 220px;
    padding: 1rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  }

  .shop-by-category .wpb_column .vc_custom_heading {
    padding: 0.75rem 1rem !important;
    background: rgba(1, 88, 56, 1) !important;
  }

  /* Simplified hover effects on touch devices */
  .shop-by-category .wpb_column:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  }

  .shop-by-category .wpb_column:hover::before {
    opacity: 0.3;
  }

  .shop-by-category .wpb_column:hover .vc_btn3 {
    opacity: 0;
  }

  .shop-by-category .wpb_column:hover .vc_custom_heading {
    background: rgba(122, 89, 193, 0.92) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 89, 193, 0.25);
  }
}

@media (max-width: 480px) {
  .shop-by-category {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .shop-by-category .wpb_column>div {
    height: 180px;
    padding: 0.75rem;
    border-radius: 6px;
  }

  .shop-by-category .wpb_column .vc_custom_heading {
    padding: 0.625rem 0.875rem !important;
    font-size: 0.9rem;
    background: rgba(1, 88, 56, 1) !important;
    border-radius: 4px;
  }

  .shop-by-category .wpb_column:hover {
    transform: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 360px) {
  .shop-by-category {
    grid-template-columns: 1fr;
  }

  .shop-by-category .wpb_column>div {
    height: 200px;
    padding: 1rem;
  }

  .shop-by-category .wpb_column .vc_custom_heading {
    padding: 0.75rem 1rem !important;
    font-size: 1rem;
  }
}

/* this section for the last 2 which span 2 grids instea of 1 like the rest*/

/* Make items with .cat-dub span full width (2 columns) */
.shop-by-category .cat-dub {
  grid-column: span 2 !important;
}

/* Optional: ensure height looks balanced */
.shop-by-category .cat-dub .wpb_column>div {
  height: 300px;
  /* adjust if needed */
}

/* Tablet adjustments */
@media (max-width: 1024px) {
  .shop-by-category .cat-dub {
    grid-column: span 2 !important;
  }
}

/* Mobile (keep normal because it's already 2 columns or 1 column) */
@media (max-width: 768px) {
  .shop-by-category .cat-dub {
    grid-column: span 2 !important;
  }
}

@media (max-width: 480px) {
  .shop-by-category .cat-dub {
    grid-column: span 2 !important;
    /* no change, but safe */
  }
}

@media (max-width: 360px) {
  .shop-by-category .cat-dub {
    grid-column: span 1 !important;
    /* single column layout */
  }
}



/* Modern Shop By Room Grid Styles */
.shop-by-room {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  padding: 0;
}

.shop-by-room .wpb_column {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-by-room .wpb_column>div {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
}

.shop-by-room .vc_custom_heading {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.shop-by-room .wpb_column:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .shop-by-room {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .shop-by-room {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .shop-by-room .wpb_column>div {
    padding: 1rem;
  }
}



/* Choose Your Colour Grid Styles */
.choose-your-colour .wpb_column {
  width: 8.33%;
}

@media only screen and (max-width:1024px) {
  .choose-your-colour .wpb_column {
    width: 16.66%;
  }
}

@media only screen and (max-width:768px) {
  .choose-your-colour .wpb_column {
    width: 25%;
    display: inline-block;
  }
}

@media only screen and (max-width:430px) {
  .choose-your-colour .wpb_column {
    width: 33.33%;
  }
}

@media only screen and (max-width:360px) {
  .choose-your-colour .wpb_column {
    width: 50%;
  }
}




/* Testimonials Styles */
.strong-view {
  padding: 0px !important;
}

.strong-view .wpmtst-testimonial {
  border: unset !important;
}

.strong-view div {
  padding: 0px !important;
}

.strong-view .wpmtst-testimonial-inner {
  display: flex !important;
  flex-direction: column;
}

.strong-view .wpmtst-testimonial-field {
  text-align: left !important;
}

.strong-view .testimonial-rating {
  order: 1;
}

.strong-rating-wrapper .star svg path {
  fill: #9ACC2E !important;
}

.strong-view .testimonial-content {
  order: 2;
  line-height: 40px;
}

.strong-view .testimonial-name {
  order: 3;
  font-weight: 600;
  color: #444444;
}



/* Measurement Guide Grid Styles */

.guide-grid {
  padding-left: 1rem;
  padding-right: 1rem;
  justify-content: center;
}

.guide-grid .vc_column-inner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 0px;
  justify-content: flex-end;
  background-color: #eee;
  aspect-ratio: 4/3
}

.guide-grid>div>div>div {
  padding: 15px 10px;
  position: relative;
}

.guide-grid>div>div>div:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, .6);
  z-index: -1;
  backdrop-filter: blur(3px);
  transition: .4s ease-in-out;
}

.guide-grid>div>div:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(122, 89, 193, 0.8);
  opacity: 0;
  transition: .4s ease-in-out;
}

.guide-grid>div>div:hover>div:before {
  opacity: 0;
}

.guide-grid>div>div:hover:before {
  opacity: 1;
}

.guide-grid>div>div .vc_custom_heading {
  transition: .4s ease-in-out;
}

.guide-grid>div>div:hover .vc_custom_heading {
  color: #ffffff !important;
}

@media only screen and (max-width: 1023px) {
  .guide-grid>div {
    width: 33%;
    flex-basis: 33%;
  }

  .guide-grid>div>div>div {
    padding: 9px 6px;
  }

  .guide-grid>div>div>div h4 {
    font-size: 18px !important;
  }
}

@media only screen and (max-width: 767px) {
  .guide-grid>div {
    width: 50%;
    flex-basis: 50%;
  }
}

@media only screen and (max-width: 500px) {
  .guide-grid>div {
    width: 100%;
    flex-basis: 100%;
  }
}





/* Woocommerce Styles */


.post-type-archive-product .sidebar-primary {
  flex-basis: 20% !important;
  max-width: 20% !important;
}

.post-type-archive-product #main {
  flex-basis: 100% !important;
  max-width: 100% !important;
}

/* Sidebar */

aside .widget-area .widget {
  padding-bottom: 1em;
  margin-bottom: 1em;
  border-bottom: 1px solid #eee;
}

.widget-area .widget h4 {
  margin-bottom: 0.6em !important;
}

.widget-area .widget ul li {
  margin-bottom: 0.3em;
}

.widget_price_filter .ui-slider-horizontal {
  height: 0.2em;
  margin-top: 1em;
  margin-bottom: 1.5em;
}

.widget_price_filter .ui-slider .ui-slider-range {
  background: #eee;
}

.widget_price_filter .ui-slider .ui-slider-handle {
  top: -0.4em;
  background: #015838;
  border-color: #015838;
}




.woocommerce-page #site-content {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Woocommerce Product Grid Styles */

.wc-product-inner,
.wc-product-contents .b-row-main {
  height: 100% !important;
}

.products .product .wc-product__price,
.products .product .wc-product__add_to_cart {
  flex-grow: 0;
  max-width: 50%;
}

.products .product .wc-product-media {
  border-radius: 0px;
}

.products .product .wc-product-contents>div,
.products .product .wc-product-contents>div>div {
  width: 100%;
}

.products .product .wc-product__category a {
  text-transform: capitalize !important;
  font-size: 14px;
  line-height: 17px;
  color: #999999;
  font-weight: 600;
  font-family: "Cabin";
}

.products .product .wc-product__title {
  margin-top: 0px;
}

.products .product .wc-product__title .woocommerce-loop-product__title {
  font-weight: 600;
}

.products .product .wc-product__price,
.products .product .wc-product__add_to_cart {
  display: inline-block;
  width: 50%;
  margin-top: 20px;
}

.products .product .wc-product__add_to_cart {
  text-align: right;
}

.products .product .wc-product__add_to_cart a,
.products .product .wc-product__add_to_cart button {
  font-size: 16px;
  font-family: 'Quattrocento Sans';
  font-weight: 700 !important;
  text-transform: capitalize;
  line-height: 2.2em;
  display: table;
  width: 100%;
  text-align: center;
  color: #9aca3c;
  border-radius: 50px;
  background: transparent;
  border: 1px solid #9aca3c;
  box-shadow: none !important;
}

.products .product .wc-product__add_to_cart button:hover {
  background: #9aca3c;
  color: #fff;
}

.products .product .wc-product__price .price span {
  color: #015838 !important;
  font-weight: 600;
}

.products .product .wc-product__price .price>.from-text {
  font-size: 14px;
  line-height: 22px;
}

.products .product .wc-product__price .price bdi {
  font-size: 24px;
}

@media only screen and (max-width:991px) {
  .products .product {
    flex-basis: 33.33%;
    max-width: 33.33%;
  }
}

@media only screen and (max-width:767px) {
  .products .product {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media only screen and (max-width:568px) {
  .products .product {
    flex-basis: 100%;
    max-width: 100%;
  }
}




/* WooCommerce Sinlgle Product Styles */

.wasprice {
  opacity: 0.5;
  text-decoration: line-through;
  margin-right: 15px;
}

.woocommerce-page div.product div.summary {
  overflow: visible;
}

/* .site-content{
	overflow: visible !important;
} */

.wcgs-woocommerce-product-gallery {
  position: sticky !important;
  top: 0px;
  scroll-margin-top: 150px;
}

.swiper-autoheight .swiper-slide {
  overflow: hidden;
  border-radius: 8px;
}


.product_meta {
  display: none;
}

.div.product div.images.woocommerce-product-gallery {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding-top: 0.5em;
}

.slick-list img {
  object-fit: cover;
  min-height: 450px;
}

.wc-nav-thumbs .slick-slide {
  padding: 10px 5px 5px;
}

.wc-nav-thumbs .slick-slide img {
  object-fit: cover;
  min-height: 100px;
}

div.product div.images .woocommerce-product-gallery__wrapper,
.wc-nav-thumbs .woocommerce-product-gallery__image {
  height: 0px;
  padding: 0px;
  padding-bottom: 75%;
  overflow: hidden;
  border-radius: 12px;
}

/*
.slick-slide img{
	border-radius: 12px !important;
	overflow: hidden !important;
} */

.entry-summary .woocommerce-breadcrumb {
  display: none;
}

.star-rating {
  color: #9aca3c;
}

div.product .product_title {
  font-weight: 600;
  color: #444444;
}

div.product p.price {
  margin: 1em 0;
}

div.product p.price span {
  font-weight: 600 !important;
  font-size: 32px;
  font-family: Cabin;
  color: #444;
}

.input-qty-pm {
  border-radius: 40px;
  background: #e5e5e5;
}

form.cart .input-qty-pm {
  flex-wrap: nowrap !important;
}

.input-pm-act.input-pm-plus {
  color: #000 !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  background: #e5e5e5 !important;
}

.input-pm-act.input-pm-minus {
  color: #000 !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  background: #e5e5e5 !important;
}

div.product form.cart .button {
  border-radius: 40px;
  text-transform: capitalize;
  font-family: Cabin;
}

.wc-single-tabs ul.tabs li a {
  background: #fff;
  border-radius: 40px;
  padding: 4px 20px !important;
  color: #015838;
  border: 2px solid #015838;
  font-weight: 600;
  font-family: Cabin;
}

.wc-single-tabs ul.tabs li.active a {
  background: #015838;
  color: #fff !important;
}

.wc-single-tabs ul.tabs li:not(.active) a:hover {
  background: #f3f3f3 !important;
}

.wc-single-tabs {
  margin-bottom: 0 !important;
}

.wc-single-tabs ul.tabs {
  margin-bottom: 8px !important;
}

.wc-tabs-contents {
  background: #f3f3f3 !important;
  padding: 1.5rem !important;
  border-radius: 12px !important;
  margin-top: 0 !important;
}

.wc-tabs-contents .woocommerce-Tabs-panel {
  padding: 0 !important;
  margin: 0 !important;
}


/* .wc-tabs li:not(.active){
	display: none !important;
} */
/* .wc-tabs li.show{
	display: inline-block !important;
}

.woocommerce-Tabs-panel,
.woocommerce-Tabs-panel.hide{
	display: none !important;
}
.woocommerce-Tabs-panel.show{
	display: block !important;
} */



.woocommerce-tabs.wc-tabs-horizontal ul.tabs,
.woocommerce-tabs.wc-tabs-horizontal ul.tabs li {
  border: none !important;
}

.woocommerce-tabs {
  border-bottom: none !important;
  margin-bottom: 0 !important;
}

.woocommerce-tabs.wc-tabs-wrapper {
  margin-bottom: 0 !important;
}

.woocommerce-tabs ul.tabs {
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
}


.d-flex.info-block>.vc_column-inner {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 8px;
  transition: 0.3s ease-in-out;
}

.d-flex.info-block.payments>.vc_column-inner {
  background: #f7f7f7;
}

.d-flex.info-block.link:hover>.vc_column-inner {
  background: #f7f7f7;
}

.d-flex.info-block.link .vc_column-inner:before {
  content: '';
  position: absolute;
  right: 25px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  color: #ddd;
  transform: rotate(45deg) translatey(-55%);
}

.d-flex.info-block .wpb_wrapper>div {
  margin-bottom: 0px;
}

.d-flex.info-block .wpb_single_image.icon {
  margin-right: 10px;
  margin-bottom: 0px !important;
  max-width: 24px;
}

.d-flex.info-block .wpb_single_image.icon img {
  width: 24px;
}

.d-flex.info-block:not(.payments) p {
  font-size: 14px;
}

.payments img {
  padding-left: 10px;
}

.payments.d-flex .wpb_wrapper,
.reviews.d-flex .wpb_wrapper {
  padding-right: 0px;
  justify-content: space-between;
}

.info-block.reviews .trustpilot-logo img {
  margin-top: 3px;
  width: 160px;
}

.info-block.reviews .vc_column-inner {
  padding-right: 30px !important;
}


/* Product Addon Styles */
.class-hide {
  display: none !important;
}

.addons_div_selection {
  overflow: visible;
  margin-bottom: 25px;
  background: #fff;
}

.addons_div_selection div {
  position: absolute;
  bottom: -28px;
  left: 0px;
  font-size: 10px;
  line-height: 12px;
  font-weight: 300;
  color: #000;
  background: #f7f7f7;
  width: 100%;
  max-height: 23px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.af_addon_field_class {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: #f7f7f7;
  position: relative;
}

.af_addon_field_class>div>.addons_div_selection {
  position: relative;
}

.af_addon_field_class>div>.addons_div_selection>input {
  position: absolute;
  top: 0;
  left: 0;
}

.af_addon_field_class>div>.addons_div_selection>input::selection {
  background-color: #000000 !important;
}

.af_addon_field_class>div>.addons_div_selection>input:checked {
  border: 2px solid #000000;
  z-index: 2;
}

.af_addon_field_class label {
  font-size: 16px !important;

}

.af_addon_field_class:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: calc(100% - 30px);
  height: 1px;
  background-color: #ccc;
}

.af_addon_field_class:first-of-type {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.af_addon_field_class:last-of-type {
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

.af_addon_field_class:last-of-type:after {
  display: none !important;
}


.af_addon_field_class>div:first-of-type {
  display: flex;
  flex-basis: 33%;
  font-weight: bold;
  color: #000;
}

.af_addon_field_class>div,
.af_addon_field_class select {
  font-size: 16px;
  font-family: "Quattrocento Sans";
}


.af_addon_field_class:first-of-type input[type="radio"] {
  width: 0.4rem !important;
  position: relative;
  opacity: 0;
}

.af_addon_field_class:first-of-type input[type="radio"]:before {
  display: none;
}

.af_addon_field_class:nth-of-type(2) input[type="radio"]:after {}


.af_addon_field_class>div:first-of-type span:not(:first-of-type) {
  margin-left: 5px;
  color: #015838 !important;
}

.af_addon_field_class>div:first-of-type i {
  margin-top: 5px;
}

.af_addon_field_class:first-of-type>div:last-of-type {
  flex-basis: 100%;
}

.af_addon_field_class label {
  margin: 0 1em 0 0.5em;
}

.af_addon_field_class input[type="radio"] {
  position: relative;
}

.af_addon_field_class:not(:first-of-type) input[type="radio"] {
  width: 0;
  height: 0;
  margin-right: 20px;
}

.af_addon_field_class input[type="radio"]:before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 9px;
  border: 1px solid #ddd;
  background: #fff;
}

.af_addon_field_class.addon_product input[type="radio"] {
  margin-right: 0px;
}



.af_addon_field_class input[type="radio"]:checked:before {
  border: 1px solid #015838;
}



.af_addon_field_class input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: -2.7px;
  left: 5.5px;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background-color: #015838;
  z-index: 2;
}

.af_addon_field_class.addon_arrangement>div {
  flex-wrap: wrap;
}

.addon_arrangement .addons_div_selection {
  /* 	flex-basis: calc(33% - 10px); */
  height: auto;
  max-width: 90px;
}

.img-left {
  transform: translateX(-5px);
  transition: transform 0.3s ease-in-out;
}

.img-right {
  transform: translateX(5px);
  transition: transform 0.3s ease-in-out;
}

.af_addon_field_class.addon_arrangement>div:last-of-type {
  position: relative;
  justify-content: center;
  padding-bottom: 20px;
}

.addon_arrangement button {
  position: absolute;
}

.addon_arrangement button:first-of-type {
  left: 0;
}

.addon_arrangement button:last-of-type {
  right: 0;
}

.addon_arrangement .door-count-display {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
}

.addon_arrangement img {
  border: none !important;
  border-radius: 4px;
  mix-blend-mode: darken;
}

.addon_arrangement .addons_div_selection {
  border: none;
  pointer-events: none;
}

.addon_arrangement .addons_div_selection>div {
  display: none;
}

.addon_arrangement .addon_selected_image_border_class {
  border: none !important;
}

.addon_arrangement .addons_div_selection img {
  height: auto !important;
}

.addon_arrangement .addons_div_selection input {
  position: absolute;
}

.addon_arrangement .addons_div_selection {
  margin: 0px;
}

/* .af_addon_field_class input.af_addon_images:checked::before{
	width: 100%;
	height: 100%;
	border: 2px solid #cd0a0a;
	z-index: 2;
}
.af_addon_field_class img{
	position: absolute;
	left: 0;
	top: 0;
}

.af_addon_field_class input.af_addon_images{
	position: absolute;
	z-index: 33;
} */

.af_addon_images {
  position: absolute;
}



.af_addon_field_class>div:last-of-type {
  display: flex;
  flex-basis: 66%;
  align-items: center;
  justify-content: flex-end;
}

.af_addon_field_class>div:-of-type {
  display: flex;
  flex-basis: 66%;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 1280px) {
  .af_addon_field_class.addon_cassette_colour_option {
    flex-direction: column;
  }

  .af_addon_field_class>div:last-of-type {
    flex-wrap: wrap;
  }

  .addons_div_selection {
    width: 80px;
    height: 80px;
  }

  .af_addon_field_class.addon_cassette_colour_option>div:last-of-type {
    justify-content: flex-start;
  }
}

.af_addon_total_price {
  display: block !important;
}

.af_addon_total_price tr td {
  background: none !important;
}

.af_addon_field_class.addon_product>div:first-of-type,
.af_addon_field_class.addon_product:after {
  display: none;
}

.af_addon_field_class.addon_product {
  background: none;
  padding: 0px;
  margin-bottom: 15px;
}

.af_addon_field_class.addon_product>div {
  flex-wrap: wrap !important;
  justify-content: flex-start;
}

.af_addon_field_class.addon_units {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.af_addon_field_class.addon_tie-backs,
.af_addon_field_class.addon_lining_colour {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.addon_product.af_addon_field_class input[type=radio]:before {
  content: '';
  display: block;
  position: absolute;
  opacity: 0;
  min-width: 16vw;
  height: 42px;
  z-index: 2;
  top: 50%;
  left: 0.6em;
  transform: translateY(-46%);
}

.addon_product.af_addon_field_class div {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.addon_product.af_addon_field_class label {
  font-size: 16px !important;
  font-weight: 600;
  margin: 0.5rem 0.4rem 0 0rem;
  border-radius: 6px;
  width: auto;
  flex-basis: calc(33.333% - 0.8rem);
  max-width: calc(33.333% - 0.8rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 0;
  height: 40px;
  background: #eee;
  text-align: center;
  line-height: 40px;
  white-space: nowrap;
  padding: 5px 10px;
  color: #015838;
}

@media (max-width: 1200px) {
  .addon_product.af_addon_field_class label {
    border-radius: 6px;
    width: auto;
    flex-basis: calc(50% - 0.8rem);
    max-width: calc(50% - 0.8rem);
  }
}

.addon_product.af_addon_field_class input:checked+label {
  color: #fff;
  background: #015838 !important;
}

.product-sub-total-final td:not(.product_sub_total_final_td) {
  display: none !important;
}

.product_sub_total_final_td {
  width: 100%;
  font-size: 32px;
  font-weight: 600;
  color: #444;
}

.product_sub_total_final_td {
  font-family: Cabin !important;
}

.product_sub_total_final_td b {
  display: none;
}

.product_sub_total_final_td b:before {
  content: 'From ';
  position: relative;
}


/* #addon-tbody tr:not(.product-sub-total-final){
	display: none !important;
} */


.af_addon_field_class.addon_measurements {
  width: 65.66%;
  float: left;
}

.af_addon_field_class.addon_measurements>div {
  flex-basis: 50%;
  position: relative;
}

.af_addon_field_class.addon_drop>div {
  position: relative;
}

.af_addon_field_class.addon_drop,
.af_addon_field_class.addon_track__pole_size {
  width: 33.33%;
  float: left;
}

.af_addon_field_class.addon_drop>div:first-of-type,
.af_addon_field_class.addon_track__pole_size>div:first-of-type {
  flex-basis: 0%;
  overflow: hidden;
}

.af_addon_field_class.addon_drop>div:last-of-type,
.af_addon_field_class.addon_track__pole_size>div:last-of-type {
  flex-basis: 100%;
}

.af_addon_field_class.addon_drop .af_addon_front_field_title_div_507 {
  visibility: hidden;
}

.af_addon_field_class p {
  text-align: left !important;
}

.af_addon_field_class.addon_measurements:after,
.af_addon_field_class.addon_drop:after,
.af_addon_field_class.addon_track__pole_size:after,
.af_addon_field_class.addon_tie-backs:after,
.af_addon_field_class.addon_lining_colour:after {
  display: none;
}

.af_addon_field_class.addon_fit_type>div>span>span,
.af_addon_field_class.addon_lining_type>div>span>span,
.af_addon_field_class.addon_measurement_protection>div>span>span {
  display: none !important;
}

body .af_addon_field_class>div>span>span {
  background: #fff !important;
  /* 	box-shadow: 0 0 10px rgba(0,0,0,0.2); */
  border: 1px solid #015838;
  color: #666 !important;
  width: 300px !important;
  padding: 10px !important;
  line-height: 1.4 !important;
}

#addon-tbody tr:not(.product-sub-total-final) {
  display: none !important;
}

.pum-content ul {
  margin-left: 1.5em;
  margin-top: 1em;
}

.pum-content ul li {
  margin-bottom: 10px;
}


.af_addon_field_class .unit-note {
  font-size: 12px;
  position: absolute;
  right: 20px;
  transition: 0.2s ease-in-out;
}

.addons_div_selection:hover {
  border: 1px solid #000;
}

.addons_div_selection .selected,
.addons_div_selection.selected {
  border: 1px solid #015838;
  box-shadow: 0 0 0 1px #015838;
}


.select2-container .select2-selection--single,
input[type=color],
input[type=date],
input[type=datetime-local],
input[type=datetime],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=range],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week],
select,
textarea {
  border-radius: 10px;
  box-shadow: none;
  height: 36px !important;

}

/* ryans mobile styles for form*/



/* Enquiry Form Styles */

.tel-contact,
.mail-contact {
  display: flex;
  align-items: center;
}

.tel-contact {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
}

.mail-contact {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.tel-contact i.fa,
.mail-contact i.fa {
  font-size: 25px !important;
  margin-right: 10px;
}

.wpcf7 form {
  margin-bottom: 0px !important;
}

.wpcf7 .vc_row>div:last-child p {
  margin-bottom: 0px !important;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
  box-shadow: unset !important;
  background-color: rgba(133, 116, 108, 0.1);
  border: unset !important;
  border-radius: 10px !important;
  font-size: 18px !important;
}

.wpcf7-text {
  height: 45px !important;
}

.wpcf7-textarea {
  resize: vertical;
  height: 50px;
  max-height: 300px;
}

.wpcf7-submit {
  background-color: transparent !important;
  color: #9ACC2E !important;
  font-size: 18px !important;
  font-family: "Cabin";
  text-transform: capitalize !important;
  border: 2px solid #9ACC2E !important;
  border-radius: 25px !important;
  padding: 0px 35px !important;
  min-width: 150px;
  line-height: 2em !important;
  min-height: 2em !important;
  box-shadow: unset !important;
  transition: .4s ease-in-out;
}

.wpcf7-submit:hover {
  background-color: #9ACC2E !important;
  color: #ffffff !important;
}

@media only screen and (max-width:991px) {
  form {
    margin-top: 2rem;
  }
}


/* styles for order fabric sample on product categoies page*/

/* Make the selector more specific and ensure proper precedence */
.wc-product-inner .single_add_to_cart_button.button.primary,
.single_add_to_cart_button.button.primary {
  background: #015838 !important;
  /* Using !important temporarily to debug */
  border-radius: 10px;
  text-transform: capitalize;
  font-family: Cabin;
  color: #fff;
  /* Ensure text color is set */
  padding: 5px 10px;
  display: inline-block;
  text-decoration: none;
  font-size: 0.9rem
}

/* Reset any conflicting styles */
.wc-product-inner a.single_add_to_cart_button.button.primary:not(.add_to_cart_button) {
  background: #015838;
  color: #fff;
}

.wc-product-inner {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wc-product__part.sample-button-container {
  margin-top: 10px;
  text-align: center;
  order: 4;
  /* Ensure it comes after price */
}

.wc-product__price {
  margin-bottom: 0;
  /* Reset margin if needed */
}

/* Optional: Add some space between price and button */
.wc-product__price+.sample-button-container {
  margin-top: 10px;
}

/* Footer Styles */
footer .menu li {
  margin: 0 !important;
}

footer .menu-item a {
  border-color: transparent !important;
  padding: 0px !important;
  padding-bottom: 2px !important;
}

footer p,
footer p a,
footer .menu-item a {
  color: #ffffff !important;
}

footer p a:hover,
footer .menu-item a:hover {
  color: #9acc2e !important;
}

footer p {
  margin-bottom: 4px;
}

.footer-top .footer--row-inner .customify-grid {
  align-items: center !important;
}

.footer-top .footer--row-inner {
  padding-top: 2em;
  padding-bottom: 2em;
}

.footer-main .footer--row-inner {
  padding-top: 0em;
  padding-bottom: 1em;
}

.footer-main .footer--row-inner>div {
  border-top: 1px solid #ffffff;
  padding-top: 3rem;
}

#menu-footer-products-menu {
  columns: 2;
}

#menu-foot-policies {
  display: flex;
  align-items: center;
}

#menu-foot-policies li:not(:last-child) {
  margin-right: 20px !important;
}

#menu-foot-policies li:not(:last-child):before {
  content: "";
  position: absolute;
  top: -2px;
  right: -10px;
  height: 100%;
  width: 1px;
  background-color: #ffffff;
}

#menu-foot-policies li {
  line-height: 20px;
}

.footer-top .footer--row-inner .builder-item--footer-6 section {
  margin-bottom: 0px !important;
}

.footer-top .footer--row-inner .builder-item--footer-6>div {
  display: flex;
  align-items: center;
  justify-content: right;
}

.footer-top .footer--row-inner .widget_media_gallery {
  margin-left: 20px;
}

.footer-top .footer--row-inner .widget_media_gallery img {
  width: 100px;
}

.footer-top .footer--row-inner .widget_media_gallery .gallery-item {
  margin: 0px !important;
}

.footer-top .footer--row-inner .widget_media_gallery .gallery-item:not(:last-child) {
  padding-right: 15px !important;
}

.footer-top .footer--row-inner .widget_media_gallery .gallery-icon {
  line-height: 0px;
}

.footer-main .custom-html-widget {
  line-height: 0px !important;
}

.footer-main .builder-item--footer-1 .widget_text {
  margin-bottom: 15px;
}

@media only screen and (max-width:1024px) {

  .footer-main .builder-first--footer-1,
  .footer-main .builder-first--footer-2 {
    flex-basis: 50% !important;
    max-width: 50% !important;
  }

  .footer-main .builder-first--footer-3 {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

@media only screen and (max-width:991px) {

  .footer-top .builder-first--footer-5,
  .footer-top .builder-first--footer-6 {
    flex-basis: 100% !important;
    max-width: 100% !important;
    text-align: center;
  }

  .footer-top .footer--row-inner .builder-item--footer-6>div {
    justify-content: center;
    margin-top: 20px;
  }

  .site-footer .builder-first--footer_copyright {
    order: 2;
    flex-basis: 100% !important;
    max-width: 100% !important;
    text-align: center;
    margin-bottom: 0px !important;
  }

  .site-footer .builder-first--footer-4 {
    order: 1;
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  #menu-foot-policies {
    justify-content: center;
    font-size: 14px;
  }
}

@media only screen and (max-width:767px) {}

@media only screen and (max-width:668px) {

  .footer-main .builder-first--footer-1,
  .footer-main .builder-first--footer-2 {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  #menu-footer-products-menu {
    columns: 1;
  }
}

@media only screen and (max-width:568px) {
  .footer-top .footer--row-inner .builder-item--footer-6>div {
    flex-direction: column;
  }

  .footer-top .footer--row-inner .builder-item--footer-6>div .gallery {
    margin-top: 10px !important;
  }
}

p.price {
  display: none;
}

/* Ensure the first image remains visible */
.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

/* Prevent the second image from appearing */
.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail:nth-child(2),
.woocommerce ul.products li.product img.secondary-image {
  display: none !important;
}

/* Stop hover effects from changing the image */
.woocommerce ul.products li.product:hover img.attachment-woocommerce_thumbnail {
  opacity: 1 !important;
  visibility: visible !important;
}



/* mega menu styling */

/* Heading styles */
.mega-col .column-heading {
  color: #000000;
  font-weight: bold;
  text-transform: uppercase;
}

/* Menu item styles */


.nav-menu-desktop .megamenu-wp .mega-item .column-heading {
  color: #000000;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: left;
  margin-bottom: 6px;
  padding-bottom: 6px;
}

.mega-element.mega-menu-item a {
  color: #000000;
  font-weight: 500;
  /* Ensure it's SemiBold */
  font-size: 17px;
  font-family: 'Poppins', sans-serif !important;
  text-transform: capitalize;
  text-decoration: none;
  line-height: 1.4;
  /* Improves readability */
}

.mega-element.mega-menu-item a:hover {
  color: #015838;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .mega-col .column-heading {
    font-size: 16px;
  }

  .mega-element.mega-menu-item a {
    font-size: 14px;
    padding: 8px;
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .mega-col .column-heading {
    font-size: 14px;
  }

  .mega-element.mega-menu-item a {
    font-size: 12px;
    padding: 6px;
  }
}


/* Basic menu items on mobile */
.site-navigation.nav-menu-mobile .mega-element.mega-menu-item a {
  color: #000000;
}

/* Mega menu styling on mobile */
.site-navigation.nav-menu-mobile .mega-content .mega-element.mega-menu-item a {
  color: #000000;
  font-weight: 500;
  text-transform: capitalize;
}

.site-navigation.nav-menu-mobile .mega-content .mega-element.mega-menu-item a:hover {
  color: #015838;
}

/* Mobile menu titles */
.light-mode .nav-menu-mobile ul.mega-content .column-heading {
  color: #000000;
  font-weight: bold;
  text-transform: uppercase;
}

/* Mobile menu items */
.header-menu-sidebar.light-mode .nav-menu-mobile .menu li a,
.header-menu-sidebar.light-mode .mega-element.mega-menu-item a {
  color: #000000;
  border-color: rgba(0, 0, 0, .08);
}

.header-menu-sidebar.light-mode .mega-element.mega-menu-item a:hover {
  color: #015838;
}


/* 2 PRODUCUTS FOR MOBILE AND 3 FOR TABLET */

@media screen and (max-width: 768px) {
  .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
  }
}

/* Tablet view (768px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
  }
}



/*STYLING FOR CART ELEMENTS*/


/* Make WooCommerce Cart Item Details Black */
.product-details-wrapper {
  color: black;
  /* Sets all text inside the product details to black */
}

.product-details .detail-label {
  font-weight: bold;
  /* Makes labels bold for better readability */
  color: black;
}

.product-details .detail-value {
  color: black;
}

/*IN CART REMOVE BUTTON*/

/* Style the WooCommerce Remove from Cart button */
.product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: BLACK;
  /* Red background */
  color: white;
  border-radius: 50%;
  /* Circular button */
  width: 30px;
  height: 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  padding: 18px;
  transition: all 0.3s ease-in-out;
}

/* Change icon on hover */
.product-remove a.remove:hover {
  background: #cc0000;
  /* Darker red on hover */
  transform: scale(1.1);
}

/* Add a trash icon instead of just "×" */
.product-remove a.remove::before {
  content: "🗑";
  /* Unicode trash icon */
  font-size: 16px;
  line-height: 30px;
  font-weight: normal;
}




/* hiding second delivery options*/

.woocommerce-shipping-fields .shipping_address {
  display: none;
}

#ship-to-different-address-checkbox:checked~.woocommerce-shipping-fields .shipping_address {
  display: block;
}



/*HIDES FORM TITLES FOR CHECKOUT*/

/* Hide labels for billing & shipping fields */
.woocommerce-billing-fields label,
.woocommerce-shipping-fields .shipping_address label,
.woocommerce-additional-fields label:not(#ship-to-different-address label) {
  display: none !important;
}

/* Ensure the "Deliver to a different address?" checkbox remains visible */
#ship-to-different-address {
  display: block !important;
}

/* Keep shipping address hidden initially */
.woocommerce-shipping-fields .shipping_address {
  display: none;
}


.woocommerce-billing-fields h3 {
  margin-bottom: 30px !important;
}



/*read more buton styling*/



@media screen and (max-width: 768px) {
  /* Remove this conflicting section completely - it's overriding our new mobile form styles */

  .af_addon_field_class>div:last-of-type {
    display: flex;
    flex-basis: 66%;
    align-items: center;
    justify-content: center;
  }

  .af_addon_field_class>div:first-of-type {
    justify-content: center;
  }
}





.toggle-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.toggle-btn {
  display: inline-block;
  font-weight: bold;
  color: #0073aa;
  cursor: pointer;
  text-decoration: none;
  background-color: #f1f1f1;
  padding: 8px 15px;
  border-radius: 5px;
}

.toggle-btn:hover {
  background-color: #e1e1e1;
}



/* category breadcrum styling*/

.page-cover .page-breadcrumb-list {
  color: black;
}



/*ICONS ON THE MEGA MENU*/



.menu-vertical-blinds {

  background-image: url('/wp-content/uploads/2025/01/012_blinds-window-curtains-home-01_64.png');
}


.menu-vertical-replacement-slats {
  background-image: url('/wp-content/uploads/2025/01/012_blinds-window-curtains-home-01_64.png');
}

.menu-roller-blinds,
.menu-grip-fit-roller-blinds {
  background-image: url('/wp-content/uploads/2025/01/012_blinds-window-curtains-roller_64.png');
}

.menu-allusion-blinds {
  background-image: url('/wp-content/uploads/2025/01/012_blinds-window-curtains-japanese_64.png');
}

.menu-day-and-night-blinds {
  background-image: url('/wp-content/uploads/2025/01/012_blinds-window-curtains-home-05_64.png');
}

.menu-roman-blinds {
  background-image: url('/wp-content/uploads/2025/01/012_window-curtains-roman-shades_64.png');
}

.menu-perfect-fit-pleated-blinds {
  background-image: url('/wp-content/uploads/2025/01/012_blinds-window-curtains-home-09_64.png');
}

.menu-perfect-fit-day-and-night-blinds {
  background-image: url('/wp-content/uploads/2025/01/012_blinds-window-curtains-home-05_64.png');
}

.menu-perfect-fit-roller-blinds {
  background-image: url('/wp-content/uploads/2025/01/012_blinds-window-curtains-home-11_64.png');
}

.menu-perfect-fit-venetian-blinds {
  background-image: url('/wp-content/uploads/2025/01/012_blinds-window-curtains-home-01_64.png');
}

.menu-perfect-fit-shutters,
.menu-shutters {
  background-image: url('/wp-content/uploads/2025/01/shutter-2.png');
}

/* Common Styles for All Menu Icons */
.menu-vertical-blinds,
.menu-vertical-replacement-slats,
.menu-roller-blinds,
.menu-grip-fit-roller-blinds,
.menu-allusion-blinds,
.menu-day-and-night-blinds,
.menu-roman-blinds,
.menu-perfect-fit-pleated-blinds,
.menu-perfect-fit-day-and-night-blinds,
.menu-perfect-fit-roller-blinds,
.menu-perfect-fit-venetian-blinds,
.menu-perfect-fit-shutters,
.menu-shutters {
  background-size: 25px 25px;
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 35px !important;
  min-height: 30px;
  line-height: 30px;
}

/* Mobile Styles */
@media (max-width: 768px) {

  .menu-vertical-replacement-slats,
  .menu-roller-blinds,
  .menu-grip-fit-roller-blinds,
  .menu-allusion-blinds,
  .menu-day-and-night-blinds,
  .menu-roman-blinds,
  .menu-perfect-fit-pleated-blinds,
  .menu-perfect-fit-day-and-night-blinds,
  .menu-perfect-fit-roller-blinds,
  .menu-perfect-fit-venetian-blinds,
  .menu-perfect-fit-shutters,
  .menu-shutters {
    background-size: 20px 20px;
    padding-left: 30px !important;
  }
}








/*making images clickable on measuring guides*/



/* Clickable images */
.recess-measurement-image,
.exact-measurement-image {
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  padding: 5px !important;
  border: 3px solid transparent !important;
}

.recess-measurement-image:hover,
.exact-measurement-image:hover {
  border-color: #ccc !important;
}

.recess-measurement-image.selected,
.exact-measurement-image.selected {
  border-color: #007bff !important;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3) !important;
}

/* Make sure sections have proper display */
.recess-measurement-section,
.exact-measurement-section {
  margin-top: 20px;
}




/*height for measuring sections*/
.measuring-section-modifier {
  padding-top: 5rem;
}

@media (max-width: 768px) {
  .measuring-section-modifier {
    padding-top: 0px;
  }
}







@media screen and (max-width: 768px) {

  /* Center the price */
  .price {
    text-align: center;
    margin-bottom: 20px;
  }

  /* Target only the product form quantity selector */
  form.cart {
    text-align: center;
  }

  form.cart .quantity {
    width: 100%;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: center;
  }

  form.cart .input-qty-pm {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 10px;
  }

  form.cart .input-pm-act {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    padding: 0;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  form.cart .input-text.qty {
    width: 60px;
    text-align: center;
    border: none;
    margin: 0;
    padding: 0;
    height: 40px;
  }

  /* Button styling */
  form.cart .single_add_to_cart_button {
    display: block;
    width: 100%;
    margin: 10px auto;
    min-height: 50px;
    border-radius: 25px;
    font-size: 16px;
    text-align: center;
  }

  /* Button text centering */
  form.cart .single_add_to_cart_button .button-label {
    width: 100%;
    text-align: center;
    display: block;
  }

  div.product form.cart .button.primary {
    margin-left: 0;
  }

  div.product form.cart .button {
    border-radius: 40px;
    text-transform: capitalize;
    font-family: Cabin;
    padding: 5px 0px 5px 0;
  }

  .af_addon_field_class>div:first-of-type {
    justify-content: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
  }

  .af_addon_field_class.addon_drop,
  .af_addon_field_class.addon_track__pole_size {
    width: 50%;
    float: left;
  }

  .af_addon_field_class.addon_measurements {
    width: 50%;
    float: left;
  }

  .af_addon_field_class label {
    font-size: 1.1rem !important;
  }
}



/*hide the box when hovering over tooltip*/

[class*="tooltiptext_"] {
  display: none !important;
}




/* Mobile form styling - FORCE LOAD with !important */
@media only screen and (max-width: 768px) {

  /* Hide ALL dependent fields by default */
  .af_addon_field_class[data-dependent_on] {
    display: none !important;
  }

  /* Style ALL non-dependent fields with consistent row layout - NO display flex important! */
  .af_addon_field_class:not([data-dependent_on]) {
    margin-bottom: 0px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* Exception: Keep first 4 fields stacked vertically */
  .af_addon_field_class:not([data-dependent_on]):nth-child(1),
  .af_addon_field_class:not([data-dependent_on]):nth-child(2),
  .af_addon_field_class:not([data-dependent_on]):nth-child(3),
  .af_addon_field_class:not([data-dependent_on]):nth-child(4) {
    flex-direction: column !important;
    gap: 5px !important;
  }

  /* 50/50 split for ALL fields (including width/drop values) - simplified targeting */
  .af_addon_field_class:not([data-dependent_on]):not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4)) [class*="af_addon_front_field_title_div"],
  .af_addon_field_class:not([data-dependent_on]):not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4))>div:first-child {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }

  .af_addon_field_class:not([data-dependent_on]):not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4)) [class*="addon_field_border"],
  .af_addon_field_class:not([data-dependent_on]):not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4))>div:last-child {
    flex: 1 !important;
    max-width: 50% !important;
  }

  /* Ensure all form inputs fill their containers properly */
  .af_addon_field_class:not([data-dependent_on]) select,
  .af_addon_field_class:not([data-dependent_on]) input[type="text"],
  .af_addon_field_class:not([data-dependent_on]) input[type="email"],
  .af_addon_field_class:not([data-dependent_on]) input[type="number"],
  .af_addon_field_class:not([data-dependent_on]) textarea {
    width: 100% !important;
    height: 40px !important;
    box-sizing: border-box !important;
  }

  /* Textarea needs more height */
  .af_addon_field_class:not([data-dependent_on]) textarea {
    height: 80px !important;
    min-height: 80px !important;
  }

  /* Reset styles for stacked fields (first 4 only) */
  .af_addon_field_class:not([data-dependent_on]):nth-child(1)>div,
  .af_addon_field_class:not([data-dependent_on]):nth-child(2)>div,
  .af_addon_field_class:not([data-dependent_on]):nth-child(3)>div,
  .af_addon_field_class:not([data-dependent_on]):nth-child(4)>div {
    flex: none !important;
    max-width: none !important;
    padding-right: 0 !important;
  }
}

/* Better mobile text sizing */
@media only screen and (max-width: 768px) {
  [class*="af_addon_front_field_title_div"] span {
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
  }
}

/* Popup styling */
.pum-theme-1077 .pum-content,
.pum-theme-default-theme .pum-content {
  color: #000000;
  font-family: inherit;
  font-weight: 400;
}
