.df-posts {
    text-align: left;
    position: relative;
    max-width: 100%;
}
.woocommerce-color-filter {
    margin-bottom: 20px;
}
.woocommerce-color-filter select {
    padding: 6px;
    border-radius: 4px;
    min-width: 200px;
}

.custom-tab-product-grid h3 {
    border-bottom: 1px solid #efefef;
    padding-bottom: 15px;
    position: relative;
    font-size: 20px;
    font-weight: normal;
}
.custom-tab-product-grid h3:before {
    content: "";
    width: 150px;
    height: 3px;
    display: block;
    bottom: 0;
    background-color: #26BFF1;
    position: absolute;
    left: 0;
}
.masons-side-info button {
    border-radius: 15px;
}
.related-column .woocommerce ul.products li.product a {
    text-decoration: none;
    border: 1px solid #dbdbdb;
    display: block;
    padding: 20px;
    border-radius: 20px;
}
.related-column .add_to_cart_button{display:none !important;}
.upsell-column .woocommerce ul.products li.product a {
    text-decoration: none;
    border: 1px solid #dbdbdb;
    display: block;
    padding: 20px;
    border-radius: 20px;
}
.online-order-block-branding-options-details-item textarea{width:100% !important;}
.online-order-block-bradning-option-picker-or {
    display: flex;
    align-items: end;
    color: var(--masons-wp-blue);
    align-content: end;
    padding-bottom: 13px;
    padding-right: 15px;
}
[type=button], [type=submit], button {
 
    color: #008FD3;

    border: 1px solid #008FD3;

}
.subcategory-item img{width: 100%; 
            height: 200px; /* Set a fixed height */
            object-fit: cover; /* Ensures images cover the area while maintaining aspect ratio */
            border-radius: 10px; /* Optional: Gives rounded corners */}
.masons-side-info button{}
.elementor-widget-woocommerce-product-content br{}
.elementor-widget-woocommerce-product-content ul{ margin-bottom:20px;}
.online-order-block-quantities-table table, .online-order-block-quantities-table tr, .online-order-block-quantities-table td{border: 1px dashed hsla(0,0%,50.2%,.5019607843) !important;}
.online-order-block-branding-options-details-item table, .online-order-block-branding-options-details-item td, .online-order-block-branding-options-details-item th, .online-order-block-branding-options-details-item tr {
  
    border: 1px dashed hsla(0,0%,50.2%,.5019607843) !important;
}
.online-order-block-quantities-table td, table th {

    border: 1px dashed hsla(0,0%,50.2%,.5019607843);
}
.online-order-block-quantities-table{border: 1px dashed hsla(0, 0%, 50.2%, .5019607843) !important;}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    color: #fff;
    background-color: #0391D8;
    text-decoration: none;
}
.online-order-block-order-summary-table td, .online-order-block-order-summary-table th, .online-order-block-order-summary-table tr {
    vertical-align: middle;
    text-align: center;
    border: 1px dashed hsla(0,0%,50.2%,.5019607843) !important;
}
table td, table th {

    vertical-align: middle;

}
.online-order-block-title {
    font-size: 18px;
}
.online-order-block-quantities-item span{font-size:18px;font-weight:bold;}
.online-order-block-colours-title{display:none;}
#wpgs-gallery .wcgs-thumb.swiper-slide-thumb-active.wcgs-thumb img {
    border: 2px solid #008FD3;
}
#priced {
    display: flex;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    font-size: 19px;
}
.stocked {    font-weight: 600;
    display: flex; margin:0;
    justify-content: flex-end;
    font-size: 19px;color: #008FD3;
}
.stocked:before {    font-weight: normal;
    content: "Stock ";
    color: #222;
    padding-right: 5px;
}

#priced:before {
    content: "From ";
    color: #222;
    padding-right: 5px;
}



.masons-modal-content-body div{    align-items: center;}
.filter .color-filter > div{min-width:40px;}
.filter .color-filter{    align-items: center;
    flex-direction: row !important;
    gap: 8px;
    justify-content: flex-start !important;}
:root {
    --masons-wp-blue: #008FD3; /* replace #007bff with your desired color code */
}

.masons-modal-content-body img{max-width:50px;}
.online-order-block-order-summary-table img{max-width:50px;}
.online-order-block-order-summary-table td, .online-order-block-order-summary-table th {

    vertical-align: middle;
    text-align: center;

}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
    left: -5px;
    border-bottom-right-radius: 4px;
    border-width: 0 0px 0px 0;
    box-shadow: 2px 2px 0 #ffffff;
}
.online-order-block-branding-options-filter-item {
    border: 1px solid #008FD3 !important;
    color: #fff;
}
.online-order-block-branding-options-filter-item{}
.online-order-block {
    border: 1px dashed !important;
}
.subs{    display: flex
;}
.subs .masons-button:focus{background-color:#fff !important;}
.subs .masons-button:hover{background-color:#fff !important; color:#222;}
.masons-side-info {
    border: 0px solid #eee !important;
    border-radius: 0px !important;
    width: 100% !important;
    padding: 0 !important;
}
.subs .masons-button {
    border: 0px;
    padding: 0 15px;
    color: #199ADA;
    font-weight: 600;
}
.detail-label{ color: #199ADA;}
.subs .masons-button:nth-child(1):before{content:"\f468"; font-family:"fontawesome";    padding-right: 10px;}
.subs .masons-button:nth-child(2):before{content:"\f545"; font-family:"fontawesome";    padding-right: 10px;}

.online-order-block-quantities-table input[type=number] {
    width: 100%;
    border: 1px dashed #666;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
}
.online-order-block-quantities-table td, table th {
    padding: 15px;
    line-height: 1.5;
    vertical-align: middle;
    border: 1px solid hsla(0,0%,50.2%,.5019607843);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    left: -5px;
    border-bottom-right-radius: 4px;
    border-width: 0 0px 0px 0;
    box-shadow: 2px 2px 0 #ffffff;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom:3px solid #26bff1; position:relative;    font-weight: 600;}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active:after {
    content: ' ';
    height: 4px;
    width: 10px;
    display: block;
    position: absolute;
    bottom: -5px;
    left: 50%;
    border-radius: 0 0 10px 10px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #26bff1;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 0px solid #cfc8d8;

    margin: 0 20px;
    padding: 15px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before {
    box-shadow: 2px 2px 0 #fff;
    border: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
    box-shadow: 2px 2px 0 #fff;
    border: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0 0 0 1em;
    margin: 0 0 1.618em;
    overflow: visible;
    position: relative;
    text-align: center;
}
.woocommerce div.product p.stock {
    margin:2px 5px 0;
    text-align: right;
}
#toggleExcerptButton {
    border: 0px;
    padding: 0;
    font-weight: 600;
    color: #008FD3;
    margin:20px 0;
}
#toggleButton:hover{background-color:#fff;}
#toggleButton:focus{background-color:#fff;}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    margin: 3px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {

    border-bottom: 0px solid #cfc8d8 !important;
    z-index: 1;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-bottom: 0px solid #cfc8d8;
    background-color: #fff;
    color: #343f49;
    display: inline-block;
    position: relative;
    z-index: 0;
    border-radius: 4px 4px 0 0;
    margin: 0 25px;
 padding: 10px 0;
    font-size: 18px; cursor: pointer;
}
.masons-modal-content-body table td {
    padding: 10px 15px;
    line-height: 1.5;
    vertical-align: top;
    background-color: #fff !important;
    border: 1px dashed hsla(0,0%,50.2%,.5019607843) !important;
    color: #2ea2cc !important;
    text-transform: uppercase;
}
.masons-modal-content-body table th, .online-order-block-quantities-table th, .online-order-block-order-summary-table TH {
    padding: 10px 15px;
    line-height: 1.5;
    vertical-align: top;
    background-color: #008FD3 !important;
    border: 1px dashed #fff !important;
    color: #fff !important;
    text-transform: uppercase;
}

#no-branding-btn {
    background-color: #fff;
    color: #222;
    text-transform: capitalize;
    padding: 0;
    text-align: left;margin-left: 0;
    margin-bottom: 20px;
    margin-top: 0px !important;
}
#yes-branding-btn{    background-color: #fff;
    color: #222;margin-left: 0;
    text-transform: capitalize;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
    margin-top: 0px !important;}
#branding-toggle-wrapper {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
}
#trans {
    background-color: white;
    transition: background-color 5s ease-in-out;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background: transparent;

}
#logotrans {
    position: relative;
    width: 180px; /* Adjust width as needed */
    height: 80px; /* Adjust height as needed */
    overflow: hidden;
}

.background-image { background-repeat:no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    transition: opacity 5s ease-in-out;
    opacity: 0; /* Start with hidden image */
}

.image1 {
    background-image: url('/wp-content/uploads/2024/10/Mason-logo_p-1-copy-scaled.webp');
    opacity: 1; /* Show the first image initially */
}

.image2 {
    background-image: url('/wp-content/uploads/2024/10/Mason-block-branding-copy.webp');
}
.image3 {
    background-image: url('/wp-content/uploads/2024/10/Mason-logo_p-1-copy-scaled.webp');
    opacity: 1; /* Show the first image initially */
}

.image4 {
    background-image: url('/wp-content/uploads/2025/02/Mason-block-branding-copy.webp');
}


.variations #color {
    padding-right: 2rem;
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"%3E%3Cpath fill="none" stroke="currentColor" stroke-width="1" d="M0 0l2 2 2-2"%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.70em;
}
.menu-item-has-children a:hover {
  
}
.sidebar .menu-item-has-children {
    background-image: url("https://masons-test.bigweb.co.za/wp-content/uploads/2024/10/arrow.webp");
    background-repeat: no-repeat;
    background-position: right center;
}
.sidebars .menu-item-has-children {
    background-image: url("https://masons-test.bigweb.co.za/wp-content/uploads/2024/10/arrow.webp");
    background-repeat: no-repeat;
    background-position: right center;
}
.comments-area a, .page-content a {
    text-decoration: none;
}
.main-menus .menu-item a {

    width: 100%;
    position: relative;
    display: block;
}
.elementor-widget-icon-box .elementor-icon-box-title {

    margin-top: 0;
}
.bottom {
    background-color: #eee;
    padding: 15px;
    border-radius: 10px;    display: block;
    width: 100%;
    margin-bottom: 20px;
}
.shopengine-widget .shopengine-checkout-review-order .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals td ul li label {
    padding: 0 0 0 0px !important;

}
.wpcsb-quantity .quantity .qty {

    padding: 10px 15px !important;
    border-radius: 15px;
}
.wpcsb-atc button {
    background-color: #008FD3 !important;
    border-radius: 15px !important;
    padding: 15px !important;
    text-transform: capitalize;
}
.wc-dnd-file-upload label {
 
    display: block;
    font-size: 24px;
    font-weight: bold;
    text-transform: capitalize;
    margin-bottom: 20px;
}
.wc-dnd-file-upload label::after {
    content: "You can select multiple positions depending on your product.";
    display: block;
    font-size: 16px;
    font-weight: normal;
    padding: 15px 0 0;
}
.codedropz-upload-handler {

    border-radius: 15px !important;
  
}
.bottom a {
    text-decoration: underline;
    color: #222;
}
#wpgs-gallery .wcgs-thumb.swiper-slide img {
    border: 1px solid #dddddd;
    border-radius: 15px;
}
/* Styling for the Gifting Subcategories Grid */
.gifting-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.woocommerce div.product form.cart div.quantity {
    float: left;
    margin: 30px 4px 0 0;
}
.single_variation_wrap p.stock {
    font-size: .92em;
    margin-top: -20px;
    margin-bottom: 40px;
}
.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: left;
    margin-top: 40px !important;
}
.woocommerce div.product form.cart div.quantity::before {
    content: "Quantity - minimum 1";
    float: left;
    display: block;
    position: absolute;
    margin-top: -30px;
    text-transform: uppercase;
    font-size: 14px;
}
.woocommerce .quantity .qty {
    width: 100%;
    text-align: left;
    padding: 15px;
    border-radius: 15px;
}
.woocommerce div.product form.cart .variations select {
    max-width: 100%;
    min-width: 75%;
    display: inline-block;
    margin-right: 1em;
    border-radius: 15px;
    padding: 15px 10px;
    font-weight: 500;
    color: #666;
}
.woocommerce div.product form.cart .variations label {
    font-weight: normal;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
}
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
    border: 0;
    line-height: 2em;
    vertical-align: top;
    padding: 0 0 10px;
}
.variations tr {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: space-around;
    flex-wrap: nowrap; text-align:left;
}
.hfe-flyout-left ul li {
  
    text-align: left !important;
}
.hfe-flyout-content ul li {
  
    text-align: right;
}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: #fff;
}
.product-count-options{float: left;
    margin-top: 15px;}
.woocommerce .woocommerce-ordering select {
    vertical-align: top;
    border: 0px;
    border-bottom: 1px solid;
    border-radius: 0;
    background-color: #F8F8F8;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    min-height: 54px;
    font-weight: normal;
    color: #111;
}
.woocommerce ul.products li.product .button {
    display: inline-block;
    margin-top: 1em;
    display: none;
}
.elementor-products-grid ul.products.elementor-grid li.product a.woocommerce-loop-product__link {
    display: block;
    position: relative;
    background-color: #fff;
    box-shadow: 4px 4px 24px rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    padding: 20px;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: #008FD3 !important;    font-weight: 600;

}
.subcategory-item {
    text-align: left;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    transition: transform 0.3s ease;
    background-color: #fff;
    box-shadow: 4px 4px 24px rgba(0, 0, 0, 0.04);
}

.subcategory-item:hover {
    transform: translateY(-5px);
}

.subcategory-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.subcategory-title {
    font-size: 16px;
    font-weight: normal;
    color: #333;
    text-align: left;
    padding: 15px 20px;
}

@media (max-width: 780px){
  #priced {
    display: flex;
    justify-content: flex-center;
    font-size: 19px;
}
#stocked {
    display: flex;
    justify-content: flex-center;
    font-size: 19px;
}
  #cat::after{content:"Product Categories";}
#cat {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
}
      .elementor-widget-wc-archive-products .products {
        grid-template-columns: repeat(1, 1fr);
    }
.gifting-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.elementor-sticky--active #hide{display:none;}
.stocked {

    padding-top: 0px;
    display: flex;
    justify-content: center;
}
#priced {
    padding-top: 10px;
    display: flex;
    justify-content: center;
}
.online-order-block-branding{display: flex !important;
 
    flex-direction: column;
    flex-wrap: nowrap;}
    .online-order-block-branding-guide{min-height:500px !important;}
     .online-order-block-branding-guide iframe{ height:500px !important;}
     .online-order-block-branding-actions{    display: flex !important;
    margin-top: 16px;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 16px;}
    .online-order-block-order-summary-table td, .online-order-block-order-summary-table th, .online-order-block-order-summary-table tr {
    vertical-align: middle;
    text-align: center;
    border: 1px dashed hsla(0,0%,50.2%,.5019607843) !important;
    display: flex;
    flex-direction: column;
}
.masons-button-group {
    display: flex;
    place-items: center;
    gap: 16px;
    padding: 0px 0% !important;
}
.online-order-block-branding-options-details-item table, .online-order-block-branding-options-details-item td, .online-order-block-branding-options-details-item th, .online-order-block-branding-options-details-item tr {
    border: 1px dashed hsla(0,0%,50.2%,.5019607843) !important;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 100% !important;
}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: #fff;
    max-width: 100% !important;
}
.uploaded{    font-size: 18px !important;}
.sets{
    display: flex !important;
    gap: 16px;
    flex-direction: column;
    align-content: space-between;
}
.online-order-block-quantities-item{padding: 15px 5px !important;}
.area{width: 100% !important;}
.online-order-block-quantities-table td, table th {
    padding: 5px !important;

}
.online-order-block-bradning-option-picker-container{    display: flex !important;
    gap: 16px;
    flex-direction: column;
    align-content: space-between;}
    .online-order-block-order-summary-actions{    display: flex
;
    place-items: center;
    gap: 16px;
    padding: 0px 0% !important;}
.online-order-block-colours-options{    display: flex !important;
    gap: 16px;
    flex-direction: column;
    align-content: space-between;}
    
    input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    width: 100% !important;

}
.masons-modal-content-body div{display: flex !important;
    gap: 16px;        padding: 10px;
    flex-direction: column;
    align-content: space-between;}
    .masons-modal-content-body table th, .masons-modal-content-body table tr{display: flex !important;
    gap: 0px;        padding:0px;
    flex-direction: column;
    align-content: space-between;}
.filter{display: flex !important;
    gap: 16px;        padding: 10px;
    flex-direction: column;
    align-content: space-between;}
    
    .online-order-block-branding-options-details-item div span{   font-size: 22px !important;}
.modal-pop{ display: flex !important;
    gap: 16px;        padding: 10px;
    flex-direction: column;
    align-content: space-between;}
}
