/* marquee css */

.wesiva-marquee-container {
    padding: 8px 0;
}

.wesiva-marquee-container .wesiva-marquee-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
    transform: translateZ(0);
}

.wesiva-marquee-container .wesiva-marquee-wrapper .wesiva-marquee-text-container {
    margin: .15em 0;
    white-space: nowrap;
    width: auto;
    perspective: 900;
    animation: marquee-left 0.5s linear infinite forwards;
    font-size: 16px;
}

.wesiva-marquee-container .wesiva-marquee-wrapper .wesiva-marquee-text-container span {
    padding: 0 38px;
}

.wesiva-marquee-container .wesiva-marquee-wrapper .wesiva-marquee-text-container a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.wesiva-marquee-container .wesiva-marquee-wrapper .wesiva-marquee-text-container a:hover {
    opacity: 0.8;
}

@keyframes marquee-left {
    0% {
        transform: translateX(-1%);
    }
    to {
        transform: translateX(-51%);
    }
}

/* featured category 1 css */

.featured-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-items: center;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .featured-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .featured-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .featured-cat-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.featured-cat-grid > div {
    display: flex;
    width: 100%;
}

.cat-circle-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    width: 100%;
}
.cat-circle-wrap:hover { transform: translateY(-5px); }

.cat-circle-box {
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    z-index: 1;
    flex-shrink: 0;
}



.cat-img-bg { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease; 
}

.cat-content { 
    display: block; 
    transition: all 0.4s ease; 
    z-index: 2; 
}

.cat-txt-bottom { 
    display: -webkit-box; 
    overflow: hidden;
    font-size: 0.9rem; 
    color: #1a1a1a; 
    font-weight: 500;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (min-width: 768px) {
    .cat-circle-box { width: 160px; height: 160px; }
    .cat-txt-bottom { font-size: 1.3rem; }
}

@media (max-width: 767px) {
    .featured-cat-grid { overflow-x: auto; }
}

.layout-below-image .cat-content { padding-top: 10px; }

.layout-top-image .cat-circle-wrap { 
    flex-direction: column-reverse; 
}
.layout-top-image .cat-content { padding-bottom: 10px; }

/* featured category 2 css */

.sp-cat-card {
    display: flex; background: #ffffff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); height: 130px; 
    transition: transform 0.3s ease;
}
.sp-cat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.sp-img-box { position: relative; width: 35%; height: 100%; background-size: cover; background-position: center; }

.sp-content-box { width: 65%; padding: 12px 15px; display: flex; flex-direction: column; justify-content: center; }
.sp-wave { width: 25px; height: 8px; margin-bottom: 8px; }
.sp-title { font-weight: 800; font-size: 0.9rem; color: #1a1a1a; margin-bottom: 5px; line-height: 1.2; }
.sp-desc { font-size: 0.75rem; color: #666; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-btn { display: inline-block; width: fit-content; padding: 8px 18px; font-weight: 800; font-size: 0.75rem; color: #ffffff; text-transform: uppercase; text-decoration: none !important; border-radius: 4px; margin-top:auto; }

@media (min-width: 992px) {
    .row-cols-lg-2 .sp-cat-card { height: 160px; }
    .row-cols-lg-2 .sp-img-box { width: 45%; }
    .row-cols-lg-2 .sp-content-box { width: 55%; padding: 15px 20px; }
    .row-cols-lg-2 .sp-title { font-size: 1.1rem; }
    .row-cols-lg-2 .sp-desc { font-size: 0.9rem; -webkit-line-clamp: 3; }
}

@media (min-width: 992px) {
    .row-cols-lg-4 .sp-cat-card { flex-direction: column; height: auto; text-align: center; }
    .row-cols-lg-4 .sp-img-box { width: 100%; height: 160px; }
    .row-cols-lg-4 .sp-content-box { width: 100%; padding: 15px 15px 20px 15px; align-items: center; min-height: 175px; }
    .row-cols-lg-4 .sp-title { font-size: 1rem; }
}

@media (min-width: 992px) {
    .row-cols-lg-6 .sp-cat-card { flex-direction: column; height: auto; text-align: center; }
    .row-cols-lg-6 .sp-img-box { width: 100%; height: 110px; }
    .row-cols-lg-6 .sp-content-box { width: 100%; padding: 10px 10px 15px 10px; align-items: center; min-height: 135px; }
    .row-cols-lg-6 .sp-title { font-size: 1.1rem; margin-bottom: 2px; }

    .row-cols-lg-6 .sp-desc { 
        display: -webkit-box; 
        -webkit-line-clamp: 1; 
        font-size: 0.75rem; 
        margin-bottom: 10px; 
    }
    .row-cols-lg-6 .sp-wave { display: none; } /* Çok daralınca dalga ikonunu gizlemek daha temiz gösterir */
    .row-cols-lg-6 .sp-btn { padding: 8px 18px; font-size: 0.75rem; }
}

.theme-green .sp-btn { background-color: #83d001; } .theme-green .sp-wave-path { fill: #83d001; }
.theme-blue .sp-btn { background-color: #6ebad3; } .theme-blue .sp-wave-path { fill: #6ebad3; }
.theme-orange .sp-btn { background-color: #ff9800; } .theme-orange .sp-wave-path { fill: #ff9800; }
.theme-purple .sp-btn { background-color: #b366e1; } .theme-purple .sp-wave-path { fill: #b366e1; }
.theme-red .sp-btn { background-color: #e30a5c; } .theme-red .sp-wave-path { fill: #e30a5c; }
.theme-yellow .sp-btn { background-color: #ffc107; } .theme-yellow .sp-wave-path { fill: #ffc107; }

/* comment css */

.comment-card {
    background-size: cover;
    background-position: center;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

/* Yorum Metni */
.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 15px;
    flex-grow: 1;
    font-style: italic;
}

/* Müşteri Adı */
.customer-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}