:root {
    --cs-sucess-color: rgba(16, 185, 129, 1);
    --cs-sucess-bg-color: rgba(16, 185, 129, 0.1);
    --cs-sucess-border-color: rgba(16, 185, 129, 0.2);
    --cs-info-color: rgba(59, 130, 246, 1);
    --cs-info-bg-color: rgba(59, 130, 246, 0.1);
    --cs-info-border-color: rgba(59, 130, 246, 0.2);
    --cs-warning-color: rgba(249, 115, 22, 1);
    --cs-warning-bg-color: rgba(249, 115, 22, 0.1);
    --cs-warning-border-color: rgba(249, 115, 22, 0.2);
    --cs-danger-color: rgba(239, 68, 68, 1);
    --cs-danger-bg-color: rgba(239, 68, 68, 0.1);
    --cs-danger-border-color: rgba(239, 68, 68, 0.2);
    --cs-light-color: rgba(255, 255, 255, 1);
    --cs-light-bg-color: rgba(255, 255, 255, 0.1);
    --cs-light-border-color: rgba(255, 255, 255, 0.2);
    --cs-dark-color: rgba(0, 0, 0, 1);
    --cs-dark-bg-color: rgba(0, 0, 0, 0.1);
    --cs-dark-border-color: rgba(0, 0, 0, 0.2);
    --cs-primary-color: rgba(13, 110, 253, 1);
    --cs-primary-bg-color: rgba(13, 110, 253, 0.1);
    --cs-primary-border-color: rgba(13, 110, 253, 0.2);
    --cs-secondary-color: rgba(108, 117, 125, 1);
    --cs-secondary-bg-color: rgba(108, 117, 125, 0.1);
    --cs-secondary-border-color: rgba(108, 117, 125, 0.2);
}
@media screen and (min-width: 420px) and (max-width: 570px) {
    .product-item__thumb{
        max-width: 50% !important;
    }
}


@media screen and (max-width: 960px) {
    #fag_content_bottom{
        display: none !important;
    }


    #fag_row_bottom{
        display: block !important;
    }
}


@media screen and(min-width: 961px) {
    #fag_content_bottom{
        display: block !important;
    }


    #fag_row_bottom{
        display: none !important;
    }
}








.iconpicker-item {
    margin-right: 5px;
    margin-left: 5px;
    font-size: 25px;
}

.iconpicker-item:hover {
    cursor: pointer;
    color: #fafafa;
    background: #feb900;
    font-size: 20px;
    padding: 5px;
    transition: all 0.2s ease-in-out;
    border-radius: 5px;
}

.product-category-list__item img {
    width: 23px;
    object-fit: cover;
}

.popular-item__icon img {
    width: 50px;
}

.brand-item img {
    height: 50px;
    object-fit: cover;
}


.max-width-300 {
    max-width: 300px;
}


/** Font Size **/

.fs-12 {
    font-size: 12px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-22 {
    font-size: 22px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fs-25 {
    font-size: 25px !important;
}

.fs-26 {
    font-size: 26px !important;
}

.fs-28 {
    font-size: 28px !important;
}

.fs-30 {
    font-size: 30px !important;
}

.fs-35 {
    font-size: 35px;
}

.fs-40 {
    font-size: 40px;
}


/** Border Radius **/

.br-5 {
    border-radius: 5px;
}

.br-8 {
    border-radius: 8px;
}

.br-10 {
    border-radius: 10px;
}

.br-15 {
    border-radius: 15px;
}

/* Product Service Card - Horizontal */
.product-service-card {
    background: hsl(var(--body-bg)) !important;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.product-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(80, 80, 120, 0.08);
}

.product-service-card.is-featured {
    border-color: var(--bs-primary);
    box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), 0.15);
}

.product-service-card.is-featured .service-icon {
    background-color: var(--bs-primary);
}

.product-service-card.is-featured .service-icon i {
    color: #fff;
}

.service-card-inner {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    position: relative;
    z-index: 1;
}

.service-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    min-width: 0;
}

.service-icon {
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    color: var(--bs-primary, #0d6efd);
    font-size: 20px;
}

.service-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.service-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
    color: hsl(var(--heading-color));
    word-break: break-word;
    text-overflow: ellipsis;
}

.service-description {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.service-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--bs-primary, #0d6efd);
}

.btn-service-add {
    background-color: transparent;
    color: var(--bs-primary, #0d6efd);
    border: 1px solid #cfe2ff;
    border-radius: 50px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-service-add span {
    font-size: 12px;
}

.btn-service-add:hover {
    background-color: var(--bs-primary, #0d6efd);
    color: #fff;
    border-color: var(--bs-primary, #0d6efd);
}

.btn-service-add i {
    transition: transform 0.2s ease;
}

.btn-service-add:hover i {
    transform: rotate(90deg);
}

/* Product Service Card Enhancements */
.service-bg-icon {
    position: absolute;
    top: 7px;
    left: 7px;
    font-size: 60px;
    color: #000;
    opacity: 0.04;
    z-index: 0;
    transform: rotate(-15deg);
}

.btn-service-info {
    background-color: #f8f9fa;
    color: var(--bs-primary) !important;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    padding: 4px 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.btn-service-info:hover {
    background-color: var(--bs-primary);
    border-color: #ced4da;
    color: #ffffff !important;
}


.custom-popover {
    --bs-popover-max-width: 300px;
    --bs-popover-border-color: var(--bs-primary);
    --bs-popover-header-bg: var(--bs-primary);
    --bs-popover-header-color: var(--bs-white);
    --bs-popover-body-padding-x: 1rem;
    --bs-popover-body-padding-y: .5rem;
}

/* Ürün Detay Sayfası Stilleri */
.product-gallery__main {
    cursor: zoom-in;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
    /* 16:9 oranı */
}

.product-gallery__main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 80px;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide-thumb-active .thumbnail-item {
    border-color: var(--main-color);
}

.product-main-slider .swiper-button-next,
.product-main-slider .swiper-button-prev {
    color: var(--main-color);
    background-color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.product-main-slider .swiper-button-next:after,
.product-main-slider .swiper-button-prev:after {
    font-size: 18px;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Ürün Açıklama Alanı */
.product-details__desc-wrapper {
    position: relative;
    max-height: 700px;
    overflow: hidden;
    transition: max-height .5s ease-out;
}

.product-details__desc-wrapper.is-expanded {
    max-height: 10000px;
    /* Large value to ensure full expansion */
}

.product-details__desc-wrapper .read-more-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, transparent, #171826);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .3s, visibility .3s;
    pointer-events: none;
    /* Allows click-through on transparent parts */
    opacity: 1;
    visibility: visible;
}

.product-details__desc-wrapper .read-more-overlay button {
    pointer-events: all;
    /* Make button clickable */
}

.product-details__desc-wrapper.is-expanded .read-more-overlay {
    opacity: 0;
    visibility: hidden;
}

/* Özellikler Alanı */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.feature-card {
    display: flex;
    padding: .7rem;
    border-radius: 1rem;
    border: 1px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card__icon i {
    font-size: 1.25rem;
}

.feature-card__title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0;
}

.feature-card__description {
    font-size: 0.85rem;
    color: var(--body-color);
    margin-bottom: 0;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.feature-card__badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.feature-card__badge span {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    color: #fff;
    display: inline-block;
}

.feature-card.is-featured {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Sade görünüm için */
.bg-light-subtle {
    background-color: rgba(255, 255, 255, 0.05);
}

.border-light {
    border-color: rgba(255, 255, 255, 0.1);
}

.text-secondary {
    color: rgba(255, 255, 255, 0.6);
}

.text-dark {
    color: var(--heading-color);
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Renk sınıfları */
.bg-green-50 {
    background-color: rgba(16, 185, 129, 0.05);
}

.bg-blue-50 {
    background-color: rgba(59, 130, 246, 0.05);
}

.bg-purple-50 {
    background-color: rgba(139, 92, 246, 0.05);
}

.bg-orange-50 {
    background-color: rgba(249, 115, 22, 0.05);
}

.bg-red-50 {
    background-color: rgba(239, 68, 68, 0.05);
}

.bg-green-100 {
    background-color: rgba(16, 185, 129, 0.1);
}

.bg-blue-100 {
    background-color: rgba(59, 130, 246, 0.1);
}

.bg-purple-100 {
    background-color: rgba(139, 92, 246, 0.1);
}

.bg-orange-100 {
    background-color: rgba(249, 115, 22, 0.1);
}

.bg-red-100 {
    background-color: rgba(239, 68, 68, 0.1);
}

.text-green-600 {
    color: rgba(16, 185, 129, 1);
}

.text-blue-600 {
    color: rgba(59, 130, 246, 1);
}

.text-purple-600 {
    color: rgba(139, 92, 246, 1);
}

.text-orange-600 {
    color: rgba(249, 115, 22, 1);
}

.text-red-600 {
    color: rgba(239, 68, 68, 1);
}

.border-green-100 {
    border-color: rgba(16, 185, 129, 0.2);
}

.border-blue-100 {
    border-color: rgba(59, 130, 246, 0.2);
}

.border-purple-100 {
    border-color: rgba(139, 92, 246, 0.2);
}

.border-orange-100 {
    border-color: rgba(249, 115, 22, 0.2);
}

.border-red-100 {
    border-color: rgba(239, 68, 68, 0.2);
}

.bg-green-600 {
    background-color: #10b981;
}

.bg-blue-600 {
    background-color: #3b82f6;
}

.bg-purple-600 {
    background-color: #8b5cf6;
}

.bg-orange-600 {
    background-color: #f97316;
}

.bg-red-600 {
    background-color: #ef4444;
}

/* Sıkça Sorulan Sorular Alanı */
.custom-accordion .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-accordion .accordion-item:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-accordion .accordion-button {
    background-color: transparent;
    color: var(--heading-color);
    font-weight: 600;
    padding: 1.25rem 0;
    box-shadow: none;
    text-align: left;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--main-color);
    background-color: transparent;
}

.custom-accordion .accordion-button::after {
    content: "\f067";
    /* plus */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    background-image: none;
    transition: transform 0.3s ease;
    font-size: 14px;
    margin-left: 1rem;
    flex-shrink: 0;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    content: "\f068";
    /* minus */
}

.custom-accordion .accordion-body {
    padding: 0 0 1.25rem;
    color: var(--body-color);
}

/* Ürün Butonları Stilleri */
.product-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-action-btn {
    display: flex;
    align-items: center;
    padding: 0;
    border-radius: 8px;
    background-color: rgba(var(--button-color-rgb, 108, 92, 231), 0.1);
    color: var(--button-color, #6c5ce7);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(var(--button-color-rgb, 108, 92, 231), 0.2);
    overflow: hidden;
    height: 48px;
}

.product-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: var(--button-color, #6c5ce7);
    color: #ffffff;
    border-color: var(--button-color, #6c5ce7);
}

.product-action-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(var(--button-color-rgb, 108, 92, 231), 0.15);
    flex-shrink: 0;
    border-right: 1px solid rgba(var(--button-color-rgb, 108, 92, 231), 0.2);
}

.product-action-btn__icon i {
    font-size: 1.1rem;
    color: var(--button-color, #6c5ce7);
}

.product-action-btn:hover .product-action-btn__icon {
    background-color: rgba(255, 255, 255, 0.2);
    border-right-color: rgba(255, 255, 255, 0.2);
}

.product-action-btn:hover .product-action-btn__icon i {
    color: #ffffff;
}

.product-action-btn__text {
    flex-grow: 1;
    text-align: center;
    padding: 0 1rem;
    font-weight: 500;
}

/* Özel buton stilleri - Artık kullanılmıyor, renk modelden geliyor */
/* Ürün Detay Sayfası Stilleri */



.alert-success {
    background-color: var(--cs-sucess-bg-color);
    color: var(--cs-sucess-color);
    border-color: var(--cs-sucess-border-color);
}

.alert-info {
    background-color: var(--cs-info-bg-color);
    color: var(--cs-info-color);
    border-color: var(--cs-info-border-color);
}

.alert-warning {
    background-color: var(--cs-warning-bg-color);
    color: var(--cs-warning-color);
    border-color: var(--cs-warning-border-color);
}

.alert-danger {
    background-color: var(--cs-danger-bg-color);
    color: var(--cs-danger-color);
    border-color: var(--cs-danger-border-color);
}

.alert-light {
    background-color: var(--cs-light-bg-color);
    color: var(--cs-light-color);
    border-color: var(--cs-light-border-color);
}

.alert-dark {
    background-color: var(--cs-dark-bg-color);
    color: var(--cs-dark-color);
    border-color: var(--cs-dark-border-color);
}

.alert-primary {
    background-color: var(--cs-primary-bg-color);
    color: var(--cs-primary-color);
    border-color: var(--cs-primary-border-color);
}

.alert-secondary {
    background-color: var(--cs-secondary-bg-color);
    color: var(--cs-secondary-color);
    border-color: var(--cs-secondary-border-color);
}


.bg-success {
    background-color: var(--cs-sucess-bg-color);
}

.bg-info {
    background-color: var(--cs-info-bg-color);
}

.bg-warning {
    background-color: var(--cs-warning-bg-color);
}

.bg-danger {
    background-color: var(--cs-danger-bg-color);
}

.bg-light {
    background-color: var(--cs-light-bg-color);
}

.bg-dark {
    background-color: var(--cs-dark-bg-color);
}
