/* Hide the WooCommerce product image container */
.woocommerce div.product div.images {
    display: none;
}

/* Set the product summary width to 100% */
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
    width: 100% !important;
}

.custom-sticker-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch; /* Make all children the same height */
    gap:10px;
}
.custom-sticker-container > * {
    flex: 1; /* Each child element will have equal width */
}


.custom-sticker-cutline,
.custom-sticker-size,
.custom-sticker-quantity,
.custom-sticker-material {
    flex: 1;
    /* margin-right: 20px; Add some space between the sections */
    display: flex;
    flex-direction: column; /* Ensure headings and variations are stacked vertically */
}

.custom-sticker-heading h3 {
    padding: 10px;
    margin-bottom: 10px; /* Space between heading and variations */
    font-weight: 700; /* Bold text */
    font-size: 20px; /* Font size */
    font-style: normal;
    color: #000000; /* Text color */
    line-height: 32px;
    text-decoration: none;
    transform: none;
    letter-spacing: 0;
}

.custom-sticker-variations {
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);White background for variations */
    flex: 1; /* Ensure variations section fills the remaining height */
    font-size: 16px;
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
    color: #555555;
    text-decoration: none;
    letter-spacing: 0;
    margin-bottom: 20px;
    background-color: white;
    border: 1px solid #A9A9A9;
    border-radius: 8px;
}

/* .custom-sticker-variations {
    border: 1px solid #FFFFFF;
} */
/* 
.custom-sticker-variations:hover {
    border: 1px solid #3b3772;
} */

.custom-sticker-cutline h3,
.custom-sticker-size h3,
.custom-sticker-quantity h3,
.custom-sticker-material h3 {
    font-size: 16px;
    margin: 0;
}

.custom-sticker-cutline ul,
.custom-sticker-size ul,
.custom-sticker-quantity ul,
.custom-sticker-material ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-sticker-cutline li,
.custom-sticker-size li,
.custom-sticker-quantity li,
.custom-sticker-material li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.custom-sticker-cutline li img,
.custom-sticker-size li img,
.custom-sticker-material li img {
    margin: 10px;
}

.custom-sticker-quantity li {
    justify-content: space-between;
}

.custom-sticker-quantity .price {
    font-weight: normal;
    font-size: 16px;
}

.custom-sticker-cutline ul li,
.custom-sticker-size ul li,
.custom-sticker-quantity ul li,
.custom-sticker-material ul li {
    display: block; /* Change to block to display items line by line */
    margin: 5px 0; /* Adjust margin for spacing between lines */
    padding: 5px;
    cursor: pointer;
}

.custom-sticker-cutline ul li.active,
.custom-sticker-size ul li.active,
.custom-sticker-quantity ul li.active,
.custom-sticker-material ul li.active {
    background-color: #e3e3e3;
    font-weight: bold;
    border-color: #000;
}

.custom-sticker-cutline ul li.active:hover,
.custom-sticker-size ul li.active:hover,
.custom-sticker-quantity ul li:hover,
.custom-sticker-material ul li:hover {
    background-color: #e3e3e3;
    font-weight: bold;
}

.custom-sticker-cutline ul li:hover,
.custom-sticker-size ul li:hover,
.custom-sticker-quantity ul li:hover,
.custom-sticker-material ul li:hover {
    background-color: #e3e3e3;
    font-weight: bold;
}

.custom-sticker-cutline ul li img {
    display: inline-block;
    margin-right: 10px; /* Adjust margin to add space between image and text */
}

/* Apply to all input fields inside the custom-size-dropdown */
.custom-size-dropdown input {
    width: 100%; /* Adjusts the width of the input field */
    max-width: 30px; /* Optional: Sets a maximum width */
    padding: 20px; /* Adds padding inside the input field */
    height: 30px; /* Adjusts the height of the input field */
    box-sizing: border-box; /* Ensures padding and border are included in the total width and height */
    border: 1px solid #ccc; /* Optional: Adds a border around the input field */
    border-radius: 4px; /* Optional: Rounds the corners of the input field */
}

.custom-sticker-cutline ul li img {
    vertical-align: middle;
}
    
.custom-sticker-size ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-sticker-size li {
    position: relative;
    cursor: pointer;
    padding: 10px;
}

.custom-size-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s;
}

.custom-size-dropdown-trigger.active {
    background-color: #e0e0e0; /* Active background color */
    color: #3b3772; /* Active text color */
}

.dropdown-icon {
    margin-left: 8px; /* Space between the text and the icon */
    font-size: 12px; /* Size of the dropdown icon */
}

.custom-size-dropdown {
    margin-top: 10px; /* Space above the dropdown */
    display: flex;
    align-items: center;
}

.custom-size-dropdown input {
    width: 100px; /* Adjust width of input fields */
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-left: 20px;
}

.separator {
    margin: 0 10px; /* Space around the "x" */
    font-size: 16px; /* Font size of the "x" */
}

.price-separator {
    margin-left: 10px; /* Adjust this value as needed */
    margin-right: 10px; /* Adjust this value as needed */
}

.woocommerce-js div.product div.summary .single-product-category {
    display: none;
}

.custom-sticker-image-upload {
    background-color: rgb(255, 255, 255);
    box-shadow: none;
}

.custom-sticker-variations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-sticker-variations li {
    margin: 5px 0;
}

.custom-sticker-variations .material-content {
    display: flex;
    flex-direction: column;
       align-items: center;
}

/* .custom-sticker-material .custom-sticker-variations {
    background-color: transparent;
} */

.custom-sticker-variations .material-icon {
    max-width: 100px; /* Adjust as needed */
    height: auto;
}

.custom-sticker-material ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.custom-sticker-material li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

.custom-sticker-material li.active {
    background-color: #f0f0f0; /* Highlight the selected item */
}

.material-content {
    display: flex;
    align-items: center;
}

.material-name {
   
    font-weight: bold;
}

.material-icon {
    width: 50px; /* Set the size of the image */
    height: auto;
    display: none; /* Initially hide the image */
}

div#price-display {
    display: none;
}

/* Add this to your theme's custom CSS section or a custom CSS plugin */
body.woocommerce-checkout .preloader {
    display: none !important;
}


#product-8056 .woocommerce div.product form.cart {
    float: right;
}

#product-8056 #product-summary {
    float: right;
    margin-top: 50px;
    width:50%;
}
#product-8056 .product p.price{
    float: right !important;
}

#product-8056 span.woocommerce-Price-amount.amount {
    font-weight: 600;
    font-size: 35px;
    float:right;
    display: flex;
    flex-direction: column;
    font-family: Barlow, sans-serif;
    color: #000000;

}
#product-8056 form#sticky-scroll {
    float: right;
}



.material-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Adjust the number of columns */
    gap: 10px;
    padding-bottom: 10px;
}
ul.material-grid{
    padding: 10px;
}
.material-item {
    list-style: none;
    text-align: center;
    background-color: white;
    border-radius: 8px;
}

.material-icon {
    width: 70px;  /* Adjust the size of the icons */
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.material-item.active {
    /* border: 2px solid #000;  */
    border-radius: 8px;
}

.material-name {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

.summary-class{
 width:50%;
}

.custom-sticker-size ul li{
    padding-left: 10px !important;
    padding-top: 10px !important;
}
.custom-sticker-quantity ul li{
    padding-left: 10px !important;
    padding-top: 10px !important; 
}



.file-upload {
    position: relative;
    
  }

  input[type="file"] {
    display: none;
  }


  .custom-file-upload {
    background-color: #FFD814;
    color: black;
    font-size: 18px;
    font-family: inherit;
    font-weight: 700;
    padding: 10px 100px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
  }

  #fileName {
    margin-top: 10px;
    font-size: 16px;
    color: black;
    font-family: inherit;
    display: none; 
  }


  .modal-top{
    padding-top: 100px !important;
  }


  
  .modal-content-wrapper{
    display: flex; 
    flex-direction: row;

}
.custom-skip-checkbox{
    text-align: center;
}

.modal-top{
    border-radius: 30px 0px 0px 30px;
    background:#00AEE1;
}

.modal-bottom{
    border-radius: 0px 30px 30px 0px;
    padding: 40px;
    text-align: left; width: 100%; 
    background:white;
}
.upload-text {
    color: black; text-align:center;font-size: 32px;font-weight:700; font-family:Barlow; margin-bottom: 10px; display: block;

}

.modal-content{
border-radius: 10px;margin: auto; display: flex;justify-content: center; flex-direction: column; font-family: Barlow, sans-serif;position: relative;

}
.steps{
    display: flex; align-items: flex-start; margin-bottom: 20px;
}

/* Style for the Step 2 icon */
img.step1, img.step2 , img.step3{
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

h4.step1-text,h4.step2-text,h4.step3-text
{
    font-family: Barlow, sans-serif; color:black;font-size: 24px; font-weight: 700; margin: 0;
}

p.step1-desc ,p.step2-desc,p.step3-desc{
    font-family: Barlow, sans-serif; font-size: 18px; color: black; margin: 5px 0;
}
.bottom-heading{
    color: #00ACE3; 
    font-family: Barlow, sans-serif; 
    font-size: 32px; 
    font-weight: normal; 
    margin-bottom: 20px;
}


textarea#email_artwork{
    width: 100%; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    margin-top: 10px;
}
.add_button{
    display: -webkit-inline-box;
}
  
  .summary-class {
    /* Optional: Add some padding or margin to the overall summary */
    padding: 0px; 
  }
  
  .product-grid {
    display: flex;
    flex-direction: column; /* Stack the rows vertically */
  }
  
  .summary-row {
    display: flex; /* Create a flex container for each row /
    justify-content: space-between; / Align items to the left and right /
    margin: 5px 0; / Optional: Add some space between rows */
  }
  
  .summary-text {
    flex: 1; /* Take equal space on the left */
  }
  
  .summary-value {
    flex: 1; /* Take equal space on the right /
    text-align: right; / Align the value to the right */
  }
/* Tablets and below */
@media (max-width: 1024px) {
    .custom-sticker-container {
        flex-direction: column; /* Stack sections vertically */
    }
    
    .custom-sticker-cutline,
    .custom-sticker-size,
    .custom-sticker-quantity,
    .custom-sticker-material {
        margin-right: 0; /* Remove right margin for stacked layout */
        margin-bottom: 20px; /* Add spacing between stacked sections */
    }
    #product-8056 #product-summary {
        float: right;
        margin-top: 50px;
        width:100%;
    }
    #product-8056 form#sticky-scroll {
        float: right;
        width:100%;
    }
          /* Target the label with the for attribute "custom_image" */

}

/* Mobile Devices */
@media (max-width: 768px) {
    .custom-sticker-heading h3 {
        font-size: 18px; /* Slightly smaller heading text */
        padding: 8px;
    }

    .custom-sticker-variations {
        font-size: 14px; /* Slightly smaller text in variations */
    }

    .custom-sticker-quantity .price {
        font-size: 14px; /* Smaller price text */
    }

    .custom-sticker-cutline li,
    .custom-sticker-size li,
    .custom-sticker-quantity li,
    .custom-sticker-material li {
        margin-bottom: 5px; /* Reduce space between items */
    }

    .custom-sticker-container {
        padding: 10px; /* Add padding around the container */
    }

    .custom-size-dropdown input {
        width: 80px; /* Narrower input fields */
        padding: 10px;
    }
    .material-icon{
        width:50px;
    }
    .upload-text {
       
        font-size: 20px !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .custom-sticker-heading h3 {
        font-size: 16px; /* Smaller heading text */
    }

    .custom-sticker-variations {
        font-size: 12px; /* Smaller text in variations */
    }

    .custom-sticker-quantity .price {
        font-size: 12px; /* Smaller price text */
    }

    .custom-sticker-container {
        padding: 5px; /* Reduce padding around the container */
    }

    .custom-size-dropdown input {
        width: 60px; /* Narrowest input fields */
        padding: 8px;
    }

    .separator,
    .price-separator {
        margin: 0 5px; /* Reduce space around the separators */
    }
  
}



/* Popup CSS */
/* popup-style.css */

/* Popup Box Styles */
/* The popup box */
.custom-popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Black background with transparency */
}

/* Popup content */
.custom-popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px; /* Responsive width */
}

/* Close button */
.custom-popup-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.custom-popup-close:hover,
.custom-popup-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


button.single_add_to_cart_button.button.alt {
    display: none;
}
/* Default layout (larger screens) */
.modal-content-wrapper {
    display: flex;
    flex-direction: row; /* Column layout for larger screens */
    
}

.modal-top {
    flex: 1;
    padding-right: 20px;
}

.modal-bottom {
    flex: 1;
    padding-left: 20px;
    /* border-left: 1px solid #ddd; */
}

.add_button{
    display: -webkit-inline-box;
}



/* Mobile layout */     
@media (max-width: 768px) {
    .modal-content-wrapper {
        font-size: 12px;
        flex-direction: column; /* Row layout for mobile screens */
        bottom:50px;
      
    }
    .modal-top, .modal-bottom {
        padding: 10px; /* Adjust padding for mobile screens */
    }

    .modal-top {
        border-radius: 20px 20px 0px 0px;
        padding-top: 55px !important;
        
    }
    .modal-bottom {
        border-left: none;
        border-radius: 0px 0px 20px 20px;
        height: auto;
        padding:40px;
    }
      /* Style for the Step 2 icon */
    /* Style for the Step 2 icon */
    img.step1, img.step2 , img.step3{
        width: 25px;
        height: 25px;
        margin-right: 10px;
    }
    .add_button{
        display: block;
        margin-bottom:40px;

    }
    
    h4.step1-text,h4.step2-text,h4.step3-text
    {
        font-size: 20px; 
    }
    
    p.step1-desc ,p.step2-desc,p.step3-desc{
        font-size: 16px; 
    }

}


@media (min-width: 769px) {

    button#modal_add_to_cart {
        padding: 0px 90px !important;
        
        width: fit-content;
    }
    }


@media only screen and (max-width: 768px) {
    #upload_modal {
        padding: 20px;
    }

    input#custom_image_upload{
        width: 80% !important;
    }
    textarea#email_artwork{
        height: auto !important;
        width: 100% !important;
    }

    .summary-class{
        width: 100%;
    }
  

}
@media (max-width: 426px) {
.material-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.summary-class {
    /* Optional: Add some padding or margin to the overall summary */
    padding: 10px; 
  }
  
  .product-grid {
    display: flex;
    flex-direction: column; /* Stack the rows vertically */
  }
  
  .summary-row {
    display: flex; /* Create a flex container for each row /
    justify-content: space-between; / Align items to the left and right /
    margin: 5px 0; / Optional: Add some space between rows */
  }
  
  .summary-text {
    flex: 2; /* Take equal space on the left */
  }
  
  .summary-value {
    flex: 2; /* Take equal space on the right /
    text-align: right; / Align the value to the right */
  }
.material-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.summary-class{
    width: 100%;
}
.modal-top {
  
    border-radius: 20px 20px 0px 0px;
    
}
.modal-bottom {
    border-left: none;
    border-radius: 0px 0px 20px 20px;
    height: auto;
    padding:40px;
}
.custom-file-upload {
    font-size: 16px;
    font-family: inherit;
    font-weight: 700;
    padding: 10px 20px;
 
  }
  /* Style for the Step 2 icon */
  img.step1, img.step2 , img.step3{
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

h4.step1-text,h4.step2-text,h4.step3-text
{
    font-size: 18px; 
}

p.step1-desc ,p.step2-desc,p.step3-desc{
    font-size: 14px; 
}
.bottom-heading{
    color: #00ACE3; font-family: Barlow, sans-serif; font-size: 24px; font-weight: normal; margin-bottom: 20px;
}
}