/*
 Theme Name:   MetaAffinity child
 Description:  MetaAffinity child
 Author:       MetaAffinity
 Author URI:   http://metaaffinity.net
 Template:     metaaffinity
 Version:      1.0.0
 Text Domain:  metaaffinity
*/
.wd-nav-product-cat>li>a {
    font-size:10px;
   }

   .shopping-cart-widget-footer .woocommerce-mini-cart__total {
    display: none;
   }

   


/* staggs sytling */ 

#option-group-15707{
    display: none;  /*hide the design layer*/
}


/* main section   */
.staggs-product-options  .option-group-wrapper {
  /* color: var(--sgg-template-color); */
  background-color: #e5e5e5;
  border-radius: 15px;
  box-shadow: #7a7a7a;
  padding: 20px;
}


/* =================   UPLOADS MASK ====================*/
/*upload cneter logo */
#upload-logo_wrapper .preview-image-input img{
    /* display: flex;
    justify-content: center;
    align-items: center; */
    border-radius: 100%;
}
#upload-logo_wrapper{
    /* display: flex;
    justify-content: center;
    align-items: center; */

    border-radius: 100%;
    /* border: solid 1px #d10101; */
}



#upload-right-side-plate-design_wrapper{
    border-radius: 100%;
    /* border: solid 1px #d10101; */
}
#upload-right-side-plate-design img{
    border-radius: 100%;
}



#upload-left-side-plate-design_wrapper{
    border-radius: 100%;
}
#upload-left-side-plate-design img{
    border-radius: 100%;
}
/**==================================================***/


.option-group-summary{
    display: none;
}

.staggs-product-options .option-group-summary {
    margin: 0px;
    display: none;
  /* margin-top: 18px; */
  /* font-size: var(--sgg-base-font-size-mb); */
  /* color: var(--sgg-button-background); */
}

/* swatches */

.option-group-wrapper .icons input:checked + .icon {
  border: 2px solid var(--sgg-button-background);
}


/*options box*/
.option-group-options label {
    /* flex: 1 1 calc(25% - 20px); */
    /* max-width: 25%; */
    max-width: 15%;
    position: relative;
    cursor: pointer;
    /* padding: 15px; */
    padding: 3px;
    background-color: #fff;
    border-radius: 12px;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.option-group-options label:hover {
    background-color: #e9f7f2;
    border-color: #4caf50;
    transform: scale(1.05);
}




/*---------------- text inputs  --------------*/

.input-field-wrapper {
    margin-bottom: -25px;
    /* padding: 10px; */
    /* background-color: #f7f7f7; */
    /* border-radius: 5px; */
}

.input-field-wrapper .input-heading {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-title {
    font-size: 9px;
    color: #333;
    margin: 0;
}

input[type="text"] {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
}





#text-ribbon-1_wrapper {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
}

.preview-text-input {
    display: inline-block;
    position: relative;
}

.text-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px; /* Adjust the font size */
    white-space: nowrap;
    position: relative;
}

.text-preview span {
    display: inline-block;
    position: relative;
    transform-origin: 50% 50%; /* Ensures rotation happens around the center */
}

/* Apply the curved effect */
.text-preview {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    align-items: center;
}

.text-preview span {
    display: inline-block;
    position: relative;
    transform-origin: 50% 50%;
}

/* Adjust the curve by using `rotate` with a calculation based on the index of each letter */
.text-preview span:nth-child(1) {
    transform: rotate(-30deg) translateY(30px); /* Adjust for the curve */
}
.text-preview span:nth-child(2) {
    transform: rotate(-20deg) translateY(20px); /* Adjust for the curve */
}
.text-preview span:nth-child(3) {
    transform: rotate(-10deg) translateY(10px); /* Adjust for the curve */
}
.text-preview span:nth-child(4) {
    transform: rotate(0deg) translateY(0); /* Center point */
}
.text-preview span:nth-child(5) {
    transform: rotate(10deg) translateY(-10px); /* Adjust for the curve */
}
.text-preview span:nth-child(6) {
    transform: rotate(20deg) translateY(-20px); /* Adjust for the curve */
}
.text-preview span:nth-child(7) {
    transform: rotate(30deg) translateY(-30px); /* Adjust for the curve */
}



/*--------------- text input -----------------*/









.option-group-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
    justify-content: flex-start;
}

/* 
.option-group-options input[type="radio"] {
    display: none;
}

.option-group-options label {
    cursor: pointer;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.option-group-options label:hover {
    transform: scale(1.05);
}

.option-group-options label input:checked + .icon {
    border: 2px solid #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}



.option-group-options .icon {
    display: block;
    width: 60px; 
    height: 60px; 
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.option-group-options .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.option-group-options label input:checked + .icon img {
    transform: scale(1.05);
}


.tooltip {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.option-group-options label:hover .tooltip {
    display: block;
}


.option-group-summary {
    display: flex;
    justify-content: space-between;
    padding-top: 6px;
    font-size: 14px;
    color: #555;
}


@media (max-width: 768px) {
    .staggs-product-options {
        padding: 15px;
    }

    .option-group-wrapper {
        gap: 10px;
    }

    .option-group-options {
        justify-content: center;
    }

    .option-group-options label {
        width: 80px;
        height: 80px;
    }

    .option-group-summary {
        font-size: 12px;
    }
} */
