.gift-finder .actions-toolbar .secondary .button {
    cursor: pointer;
}
.gift-finder .actions-toolbar .primary {
    display: none
}
.gift-finder .steps {
    display: none
}
.gift-finder .steps.current {
    display: block;
    margin-bottom: 15px;
}
.gift-finder .actions-toolbar {
    float: none;
    width: 22%;
    margin: 10px auto 0px;
}

.gift-finder .gift-finder-section + .actions-toolbar {
   margin: 30px auto 0px;
}

.gift-finder .actions-toolbar.nextprevious {
width:100%;
    }

.gift-finder .actions-toolbar .primary{
    position: relative;
}
.gift-finder .actions-toolbar .primary button{
    margin: 0px;
    width: 195px;
    padding: 0px 10px;
    height: 44px;
    border-radius: 18px;
}
.gift-finder .actions-toolbar .primary button span {
    font-size: 16px;
    font-weight: 600;
}
.gift-finder .actions-toolbar:last-child{
    text-align: right;
    display: flex;
    float: none;
    margin: 0px;
    width: 100%;
    padding-top: 0px;
}
.gift-finder .actions-toolbar.nextprevious .secondary{
    width: 100%;
    display: flex;
    position: relative;
    height: 20px;
}
.gift-finder .actions-toolbar.nextprevious .secondary .action.previous{
    text-align: CENTER;
    padding-top: 10px;
}
.gift-finder .actions-toolbar.nextprevious .secondary .action.previous span{
    color: #70b5b4;
    font-weight: 600;
    font-size: 18px;
}
.gift-finder .actions-toolbar.nextprevious .secondary .action.next{
    text-align: CENTER;
    /* position: absolute; */
    WIDTH: 100%;
    margin-top: -10px;
}
.gift-finder .actions-toolbar.nextprevious .secondary .action.next span{
    color: #f79320;
    font-weight: 600;
    font-size: 18px;
}
.gift-finder .prezzie {
    position: absolute;
    right: 215px;
    bottom: -15px;
    width: 80px;
    animation: bounce 1s ease-in-out infinite;
    will-change: transform;
}

.gift-finder .legend .prezzie {left: 28%;bottom: 0px;}


@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.page-container {
  /*width: 1380px;*/
  width: 100%;
  margin: 0 auto;
  padding: 55px 20px;
  font-family: 'Quicksand', sans-serif;
  background-color: #f7f6f4;
  box-sizing: border-box;
  border-radius: 20PX;
}


.gift-finder section {border-top:1px solid #f1f1f1; 
                     margin-top:20px;
                     padding-top:20px;
                     font-size:120%;}

.gift-finder section a {font-weight:bold;}


.page-container .child-left {
    position: absolute;
    left: -102px;
    top: -63px;
    z-index: 1;
    width: 116px;
    @media screen and (max-width: 768px){
        left: -75px;
        top: -43px;
        width: 85px;
    }
}
.page-container .child-right{
    position: absolute;
    right: -103px;
    top: -66px;
    z-index: 1;
    width: 146px;

    
    @media screen and (max-width: 768px){
        right: -77px;
        top: -43px;
        width: 105px;
    }
}
.gift-finder {
    max-width: 86%;
    /* max-width: max-content; */
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    text-align: center;
    position:relative;
    /* height: 500px; */
}
.gift-finder h3 {
    font-size: 26px;
    font-weight: 600;
    color: #70b5b4;
    margin-bottom: 10px;
    font-family: 'Jojoba', sans-serif;
}

.gift-finder .fieldset>.legend {margin-bottom: 10px;position: relative;BORDER: NONE;}

.gift-finder span {font-size: 16px;}

.gift-finder-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 10px;
}
.gift-finder-group label span {
    display: block;
    font-weight: 600;
    font-size: 18px;
    color: #444;
    margin-bottom: 15px;
}
.gift-finder-options {
    display: grid;
    /* flex-wrap: wrap; */
    gap: 12px;
    justify-content: center;
    grid-template-columns: repeat(5, 1fr);
    @media screen and (max-width: 1150px){
        grid-template-columns: repeat(4, 1fr);
    }
    @media screen and (max-width: 991px){
        grid-template-columns: repeat(3, 1fr);
    }
    @media screen and (max-width: 768px){
        grid-template-columns: repeat(2, 1fr);
    }
    @media screen and (max-width: 600px){
        grid-template-columns: repeat(1, 1fr);
    }
}
.gift-finder-options label {
    background-color: #fdf3ec;
    border: 2px solid #fbcf7b;
    border-radius: 16px;
    padding: 20px 10px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    justify-content: center;
}


.gift-finder-options:has(input[value*="age"]) {
    display: grid;
    /* flex-wrap: wrap; */
    gap: 30px;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    
        @media screen and (max-width: 1150px){
        grid-template-columns: repeat(4, 1fr);
    }
    @media screen and (max-width: 991px){
        grid-template-columns: repeat(3, 1fr);
    }
    @media screen and (max-width: 768px){
        grid-template-columns: repeat(2, 1fr);
    }
    @media screen and (max-width: 600px){
        grid-template-columns: repeat(2, 1fr);
    }
}



}



.gift-finder-options label:hover {
    background-color: #fbe4d7;
    border-color: #f2bfa0;
}
.gift-finder-options input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
    top: 0;
    margin-top: 0;
}



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

.page-container {
    padding: 10px 15px 30px 15px;
}
   
.gift-finder {max-width: 100%;padding: 10px 10px 30px 10px;}    

.gift-finder-options:has(input[value*="age"]) {
gap:15px
    
}
    
.gift-finder-options label {
    padding: 10px;
}

.gift-finder .actions-toolbar {
    width: 100%;
}

.gift-finder .prezzie {
    width: 40px;
    bottom: 0px;
    right: revert;
    left: 6px;
}


    .gift-finder .legend .prezzie {LEFT: 9%;BOTTOM: 37PX;}

    .gift-finder span {font-size: 14px;}

    
    
}