.size-step {
    margin: 20px 0;
}

.size-step__title {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.size-step__options {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 sütunlu grid sistemi */
    gap: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}



.size-step__option {
    list-style: none;
    text-align: center;
}

.option-label {
    display: block;
    padding: 3px; /* Daha fazla alan kazanmak için padding'i azalttık */
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.option-label.selected {
    border-color: #0073aa;
    background-color: #e0f7fa;
}

.option-label.unavailable {
    opacity: 0.45;
}
.option-label:not(.unavailable):hover {
    border-color: #0073aa;
}

.option-item__image {
    max-width: 20px; /* Görüntü boyutunu küçültüyoruz */
    height: auto;
}

.label_price {
    margin-top: 5px;
    font-size: 0.8em; /* Yazı boyutunu küçültüyoruz */
}

.description {
    margin-top: 5px;
    font-size: 0.7em; /* Yazı boyutunu küçültüyoruz */
    color: #555;
}

.cppm-more-options {
    opacity: 0;
    position: absolute;
}
.cppm-more-options.show {
    opacity: 1;
    position:initial; /* Or relative, depending on your layout */
}

.show-more-options {
    padding: 5px; /* Daha zarif bir görünüm için padding'i azalttık */
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s, border-color 0.3s;
}

.show-more-options:hover {
    background-color: #e0e0e0;
}



.cppm-info-icon {
    font-size: 0.9em;
    color: #0073aa;
    cursor: pointer;
    margin-left: 5px;
    border-radius: 50%;
    border: 1px solid #0073aa;
    width: 24px;     /* Set a fixed width */
    height: 24px;    /* Set a fixed height */
    display: inline-flex;   /* Center the icon */
    align-items: center;
    justify-content: center;
}
.cppm-info-icon:hover {
    color: #ddd;
    background-color: #0073aa;
    transition:all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.info-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.info-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 5px;
}

.info-modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.info-modal .close:hover,
.info-modal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.cppm-accordion {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-width: 40%; /* Genişliği %40 olarak ayarlıyoruz */
    float: left; /* Solda konumlandırıyoruz */
    width:40%;
}

.cppm-accordion-item {
    border-bottom: 1px solid #ddd;
}

.cppm-accordion-item:last-child {
    border-bottom: none;
}

.cppm-accordion-header {
    background-color: #f7f7f7;
    padding: 15px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
}

.cppm-accordion-content {
    padding: 15px;
    display: none;
    background-color: #fff;
    border-top: 1px solid #ddd;
    overflow: hidden;
    
}
.cppm-accordion-content.open {
    display: block;
    max-height: 500px; /* Adjust based on expected content height */
}

.cppm-accordion-title {
    font-size: 1em;
    font-weight: bold;
    color: #333;
}

.cppm-accordion-icon {
    font-size: 1.2em;
    color: #0073aa;
    transition: transform 0.325s ease; /* Smooth rotation transition */
}
.cppm-accordion-icon.rotate-up {
    transform: rotate(180deg); /* Rotate the icon to indicate expansion */
}

/* Loading animation (e.g., a pulsing effect) */
.cppm-loading  {
    animation: pulse 1s infinite;
    background-color: #f0f0f0;
    
}

.option-loading  label {
    animation: pulse 1s infinite;
    background-color: #f0f0f0;
    border-radius: 4px;
  }
  
  /* Pulse animation keyframes */
  @keyframes pulse {
    0% {
      transform: scale(1);
      background-color: #e0e0e0;
    }
    50% {
      transform: scale(1.05);
      background-color: #d0d0d0;
    }
    100% {
      transform: scale(1);
      background-color: #e0e0e0;
    }
  }
  

@media (max-width: 768px) {
    .size-step__options {
        grid-template-columns: repeat(2, 1fr); /* 2 sütunlu grid sistemi */
    }

    .cppm-accordion {
        max-width: 100%; /* Daha dar ekranlar için genişliği %100 olarak ayarlıyoruz */
        float: none; /* Yüzerliği kaldırıyoruz */
    }
}

@media (max-width: 480px) {
    ol.size-step__options, ul.size-step__options {
        margin-left: 0;
    }
    #cppm-go-to-order {
        width: 100%;
        margin-bottom: 1rem;
    }
    .size-step__options {
        grid-template-columns: repeat(2, 1fr); /* 2 sütunlu grid sistemi */ /* Tek sütunlu grid sistemi */
    }

    .cppm-accordion {
        max-width: 100%; /* Daha dar ekranlar için genişliği %100 olarak ayarlıyoruz */
        float: none; /* Yüzerliği kaldırıyoruz */
    }
}


.cppm-options-wrapper {
    position: relative;
}
.ajax-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    border-radius: .75rem;
}

.ajax-cover.hidden {
    display: none;
}

.printer-animation {
    text-align: center;
    color: white;
}

.printer {
    width: 100px;
    height: 50px;
    background-color: #fff;
    border: 2px solid #000;
    margin: 0 auto;
    position: relative;
    animation: printer 2s infinite ease-in-out;
}

.paper {
    width: 80px;
    height: 100px;
    background-color: #f2f2f2;
    position: absolute;
    top: -100px;
    left: 10px;
    /* background-image: url('http://localhost/cemuyguc/wp-content/uploads/2024/05/fav-300x300.webp'); */
    animation: paperMove 2s infinite ease-in-out;
}

@keyframes printer {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(0.8); }
    100% { transform: scaleY(1); }
}

@keyframes paperMove {
    0% { top: -100px; }
    50% { top: 0; }
    100% { top: -100px; }
}


.printing-animation {
    text-align: center;
    color: white;
    display: flex;
    gap: 20px;
}

.flyer, .booklet, .business-card {
    position: relative;
    width: 100px;
    height: 150px;
    background-color: #fff;
    border: 2px solid #000;
    margin: 0 auto;
    animation: show 2s infinite ease-in-out;
}

.flyer-content, .pages, .card-front, .card-back {
    background-color: #f2f2f2;
    position: absolute;
    width: 80%;
    height: 80%;
    margin: 10%;
}

.flyer {
    animation: flyerLoading 3s infinite;
}

@keyframes flyerLoading {
    0% { transform: scaleY(0); }
    50% { transform: scaleY(1); }
    100% { transform: scaleY(0); }
}

.booklet {
    animation: flipBook 3s infinite ease-in-out;
}

@keyframes flipBook {
    0% { transform: rotateY(0); }
    50% { transform: rotateY(90deg); }
    100% { transform: rotateY(0); }
}

.business-card {
    width: 200px;
    height: 100px;
    animation: slideCard 3s infinite;
}

@keyframes slideCard {
    0%, 100% { transform: translateX(-200px); }
    50% { transform: translateX(0); }
}


.cppm-selected-option {
    display: inline-block;
    min-height: 38px;
    font-weight: normal;
}


.cppm-product-dynamic-price {
    font-size: 1.125rem;
    line-height: 1.25rem;
    padding: 1.25rem 0 .25rem .75rem;
    display: flex;
    
}
.cppm-product-dynamic-price .amount {
    font-weight: 700;
}

.cppm-product-dynamic-price .woocommerce-Price-currencySymbol {
    padding-left: .625rem;
}
.cppm-hidden {
    display: none;
}

.cppm-modal-item-content {
    display: flex;
    justify-content: space-between;
}

.cppm-modal-item {
    border-bottom: 1px dashed #ccc;
    /* margin-bottom: .5rem;
    padding-bottom: .5rem; */
    margin: .5rem -1rem;
    padding: 0 1rem 1rem 1rem;
}

.info-modal-content .header {
    margin: .25rem -1rem;
    padding: 0  1rem;
    border-bottom: 1px solid #ddd;
}

button.button.cppm-go-to-cart {
    padding: 20px 45px !important;
    margin-top: 1.125rem !important;
    margin-right: 2rem !important;
}

.cppm-custom-file-upload {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.cppm-uploaded-files-list {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
    width: max-content;
}
.cppm-uploaded-files-list .uploaded-file {
    padding: .5rem 1rem;
    border: 1px solid #aaa;
    border-radius: .5rem;
    display: flex;
    justify-content: space-between;
    column-gap: 1rem;
}

.cppm-uploaded-files-list .uploaded-file:hover {
    background-color: #ddd;
}


button.cppm-reset-to-option {
    margin-top: .5rem;
    border:1px solid #3498db;  /* Primary background color */
    background-color: white;
    color: rgb(138, 138, 138);  /* Button text color */
    /* border: none; */
    border-radius: 5px;  /* Rounded corners */
    padding: 10px 15px;  /* Spacing around the text */
    font-size: .75rem;  /* Text size */
    font-weight: 400;  /* Bold text */
    cursor: pointer;  /* Pointer cursor */
    text-wrap: nowrap;
    transition: background-color 0.3s ease, transform 0.3s ease;  /* Smooth background color change and slight scaling */
}

.cppm-reset-to-option:hover {
    background-color: #2980b9;  /* Darker background color on hover */
    color: white;
    transform: scale(1.05);  /* Slightly scale the button on hover */
}

/* fix mobile menu in products page*/

body.single-product #slide-out-widget-area.fullscreen .inner, 
body.single-product #slide-out-widget-area.fullscreen-alt .inner {
    margin-top: 3.25rem !important;
}

body.single-product #slide-out-widget-area.fullscreen .inner-wrap, 
body.single-product #slide-out-widget-area.fullscreen-alt .inner-wrap {
    height: 100vh;
}
