/* Ürün profili — profil.twig ve dahil ettiği parçalar */

.product-profile-1 {
    --profil-main: var(--main-color, #111111);
    --profil-main-2: var(--main-color2, #e10600);
    --profil-cart: var(--add-cart-detail, #ffffff);
    --profil-cart-bg: var(--add-cart-detail-bg, #111111);
    --profil-cart-hover: var(--add-cart-detail-hover, #ffffff);
    --profil-cart-bg-hover: var(--add-cart-detail-bg-hover, #333333);
    --profil-buy: var(--buy-now, #ffffff);
    --profil-buy-bg: var(--buy-now-bg, #36b257);
    --profil-buy-hover: var(--buy-now-hover, #ffffff);
    --profil-buy-bg-hover: var(--buy-now-bg-hover, #2d9550);
    --profil-ease: var(--transition-time, 0.2s ease-out);
    color: #333;
}

.product-profile-1 .row {
    margin-left: -15px;
    margin-right: -15px;
}

.product-profile-1 [class*="col-"] {
    position: relative;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.product-body .product-profile-1 .col-lg-5.fist,
.product-profile-1 .col-lg-5.fist {
    background-color: #fff;
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.12);
    border-radius: 10px 0 0 10px;
    padding: 24px;
    overflow: hidden;
}

.product-body .product-profile-1 .col-lg-7.second,
.product-profile-1 .col-lg-7.second {
    padding: 24px;
    background-color: #f7f7f7;
    border-radius: 0 10px 10px 0;
    box-shadow: inset 25px 0 20px -15px rgb(0 0 0 / 8%);
}

.product-profile-1 h1.title {
    font-size: 22px;
    color: #333e48;
    padding-bottom: 0;
    border: 0;
    margin: 0 0 12px;
    font-weight: 600;
    line-height: 1.35;
}

.product-body .product-short-desc,
.product-profile-1 .product-short-desc {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
}

/* Bilgi listesi */

.product-profile-info {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.product-profile-info > li {
    margin: 0 0 8px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.product-profile-info .value {
    color: #222;
    font-weight: 600;
}

.product-profile-info a {
    color: inherit;
    text-decoration: none;
}

.product-profile-info a:hover .value {
    color: var(--profil-main);
}

.product-profile-1 .font-weight-500 {
    font-weight: 500;
}

/* Değerlendirme ve yorum */

.product-reviews {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-body .product-reviews {
    padding-bottom: 20px;
    border-bottom: 1px solid #ebeaec;
}

.product-reviews .stars {
    display: inline-flex;
    align-items: center;
}

.product-reviews .stars .star {
    position: relative;
    display: inline-flex;
    font-size: 14px;
    color: #FFC200;
    width: 14px;
    justify-content: center;
}

.product-reviews .stars .star:not(.fill) {
    color: #e2e2e2;
}

.product-reviews .stars .star .dark {
    color: #e2e2e2;
    position: absolute;
    left: 0;
    z-index: 0;
}

.product-reviews .stars .star .fa-star-half {
    position: relative;
    z-index: 1;
}

.product-reviews .count {
    font-size: 13px;
    color: #777;
}

.product-profile-info .comment i,
.product-profile-1 .action.comment i {
    margin-right: 5px;
}

.product-profile-1 .action.comment .button {
    display: inline-flex;
    align-items: center;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.product-profile-1 .action.comment .button:hover {
    color: var(--profil-main);
}

/* İlişkili ürünler */

.product-profile-1 .related-products {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.product-profile-1 .related-products a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 72px;
    padding: 4px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
    color: #444;
    font-size: 12px;
    text-align: center;
}

.product-profile-1 .related-products a img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
}

.product-profile-1 .related-products a span {
    margin-top: 4px;
    line-height: 1.2;
}

.product-profile-1 .related-products a.active,
.product-profile-1 .related-products a:hover {
    border-color: var(--profil-main);
}

/* Havale ve taksit */

.product-transfer-discount {
    background: #f2f2f2;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border-left: 5px solid var(--profil-main);
    font-size: 14px;
    color: #7a7a7a;
}

.product-profile-1 .product-rate {
    margin: 8px 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Varyant */

.product-profile-1 .variant-box {
    border: 0;
    background: transparent;
    margin-bottom: 12px;
}

.product-profile-1 .variant-box ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}

.product-profile-1 .variant-box ul li {
    margin-right: 10px;
    margin-bottom: 8px;
}

.product-profile-1 .variant-box .name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.product-profile-1 .variant-box ul li select,
.product-profile-1 .variant-box .form-control {
    border-radius: 20px;
    min-width: 160px;
    height: 40px;
    border: 1px solid #ddd;
    padding: 0 14px;
    background: #fff;
}

.product-profile-1 .variant-box .options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.product-profile-1 .variant-box .options.d-none,
.product-profile-1 .d-none {
    display: none !important;
}

.product-profile-1 .d-block {
    display: block !important;
}

.product-profile-1 .variant-box .options a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 7px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    transition: border-color var(--profil-ease), color var(--profil-ease);
}

.product-profile-1 .variant-box .options a.active {
    border-color: var(--profil-main);
    color: var(--profil-main);
    font-weight: 600;
}

.product-profile-1 .variant-box .options a.sold-out {
    opacity: 0.45;
    text-decoration: line-through;
    pointer-events: none;
}

/* Beden */

.product-profile-1 .product-size-box {
    margin-bottom: 12px;
}

.product-profile-1 .product-size-box a {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--profil-main);
    text-decoration: underline;
}

/* Fiyat */

.product-price-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-price-group .discount {
    background: var(--profil-main-2);
    border-radius: 50%;
    height: 70px;
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 1.15;
    flex-shrink: 0;
    text-align: center;
}

.product-price-group .discount .rate {
    font-size: 16px;
    font-weight: 700;
}

.product-price-group .discount span {
    font-size: 11px;
    font-weight: 600;
}

.product-price-group .prices {
    display: flex;
    flex-direction: column;
}

.product-price-group .prices .list-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.product-price-group .prices .sale-price {
    color: var(--profil-main);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.product-profile-1 .line-through {
    text-decoration: line-through;
    color: #999 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

.product-profile-info .sale-price-discount {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ebebeb;
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
    background: #fff;
    border-radius: 6px;
}

.product-profile-info .sale-price-discount .sale-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--profil-main);
}

.product-profile-1 .mr-2 {
    margin-right: 0.5rem;
}

/* Birim, adet, butonlar */

.product-profile-1 .product-buttons,
.product-body .product-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.product-body .product-profile-1 .product-unit,
.product-profile-1 .product-unit {
    display: flex;
    justify-content: center;
    font-weight: 500;
    align-items: center;
    border-radius: 5px;
    border: solid 1px #d9d9d9;
    width: 95px;
    padding: 5px 0;
    margin-right: 10px;
    height: 46px;
    margin: 10px 10px 10px 0;
    background: #fff;
    font-size: 13px;
}

.product-body .product-profile-1 .product-unit input[type=checkbox],
.product-body .product-profile-1 .product-unit input[type=radio],
.product-profile-1 .product-unit input[type=checkbox],
.product-profile-1 .product-unit input[type=radio] {
    box-sizing: border-box;
    padding: 0;
    margin-right: 5px;
}

.product-body .product-profile-1 .product-unit input[type='radio']:checked:after,
.product-profile-1 .product-unit input[type='radio']:checked:after {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    top: -2px;
    left: -1px;
    position: relative;
    background-color: #96be67;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 3px solid #ebebeb;
}

.product-body .product-quantity,
.product-profile-1 .product-quantity {
    display: inline-flex;
    align-items: center;
    border-radius: 40px;
    position: relative;
    margin-right: -30px;
    background: #fff;
    border: 1px solid rgba(54, 178, 87, 0.2);
    overflow: hidden;
    z-index: 1;
}

.product-body .product-quantity .btn,
.product-profile-1 .product-quantity .btn {
    background: transparent;
    color: var(--profil-main);
    height: 70px;
    width: 40px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.product-body .product-quantity input,
.product-profile-1 .product-quantity input {
    border: none;
    background: transparent;
    color: var(--profil-main);
    height: 70px;
    width: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    outline: none;
    box-shadow: none;
}

.product-buttons .btn-cart i {
    margin-left: 5px;
}

.product-body .product-buttons .btn-cart,
.product-profile-1 .product-buttons .btn-cart {
    height: 70px;
    margin: 10px;
    margin-left: 0;
    border-radius: 0 26px 25px 0;
    padding: 0 25px;
    font-weight: 600;
    font-size: 16px;
}

.product-buttons .btn-cart {
    background: var(--profil-cart-bg);
    border: 1px solid var(--profil-cart-bg);
    color: var(--profil-cart);
    transition: all var(--profil-ease);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-buttons .btn-cart:hover {
    background: var(--profil-cart-bg-hover);
    border-color: var(--profil-cart-bg-hover);
    color: var(--profil-cart-hover);
}

.product-buttons .btn-fast-buy {
    background: var(--profil-buy-bg);
    border: 1px solid var(--profil-buy-bg);
    color: var(--profil-buy);
    transition: all var(--profil-ease);
    height: 50px;
    border-radius: 26px;
    padding: 0 22px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-buttons .btn-fast-buy:hover {
    background: var(--profil-buy-bg-hover);
    border-color: var(--profil-buy-bg-hover);
    color: var(--profil-buy-hover);
}

.product-buttons .btn-wp {
    background: #25d366;
    border: 1px solid #25d366;
    color: #fff;
    height: 50px;
    border-radius: 26px;
    padding: 0 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.product-buttons .btn-wp:hover {
    background: #1ebe5d;
    color: #fff;
}

.product-profile-1 .alert-danger {
    background: #fdecea;
    color: #b42318;
    border: 1px solid #f5c2c0;
    border-radius: 6px;
    padding: 12px 14px;
}

.product-profile-1 .text-success {
    color: #36b257;
}

.product-profile-1 .text-danger {
    color: #d93025;
}

.product-profile-1 .mt-2 { margin-top: 0.5rem; }
.product-profile-1 .mb-2 { margin-bottom: 0.5rem; }
.product-profile-1 .mt-5 { margin-top: 1.5rem; }

/* Müşteri etkileşimi ve favori */

.product-customer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 10px 0;
    background: #f5f5f5;
    margin-top: 12px;
    border-radius: 8px;
}

.product-customer-actions .action {
    border-right: 0;
    padding: 6px 14px;
}

.product-customer-actions .action:first-child {
    border-left: 0;
}

.product-customer-actions .action .button {
    display: inline-flex;
    align-items: center;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.product-customer-actions .action .button:hover {
    color: var(--profil-main);
}

.product-customer-actions .action .button i {
    font-size: 15px;
    margin-right: 10px;
}

.product-profile-1 .product-favourite {
    margin-top: 10px;
}

.product-profile-1 .product-favourite a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

.product-profile-1 .product-favourite a:hover {
    color: var(--profil-main);
}

.product-profile-1 .product-favourite .remove-favorite i {
    color: #e10600;
}

/* Sosyal paylaşım */

.product-profile-1 .social-share-special {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.product-profile-1 .social-share-special a,
.product-profile-1 .jssocials-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    font-size: 14px;
}

.product-profile-1 .social-share-special a:hover {
    border-color: var(--profil-main);
    color: var(--profil-main);
}

/* Sağ rozetler */

.product-profile-1 .body-right-info .product-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-badges .p-badge {
    height: 55px;
    flex-direction: row;
    flex: 1;
    border-radius: 30px;
    background: #fff;
    border: 0;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.product-badges .p-badge i {
    margin-right: 10px;
    font-size: 18px;
}

.product-badges .p-badge img {
    max-height: 36px;
    width: auto;
}

.p-badge.shipping-fast i {
    color: #36b257;
}

.p-badge.door-payment i {
    color: #007aff;
}

.p-badge.credit-card i {
    color: #ff0000;
}

/* Görsel alanı */

.product-profile-1 .carousel-outer {
    position: relative;
}

.product-profile-1 .carousel .carousel-inner {
    border: 0 !important;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-profile-1 .carousel-item,
.product-carousel-desktop .carousel-item {
    display: none;
}

.product-profile-1 .carousel-item.active,
.product-carousel-desktop .carousel-item.active {
    display: block;
}

.product-profile-1 .carousel-inner img,
.product-carousel-desktop .carousel-item a img,
.product-carousel-desktop.normal .carousel-item a img {
    width: 100%;
    height: auto;
    display: block;
}

.product-profile-1 .carousel-inner .video,
.product-carousel-desktop .video {
    position: relative;
    background: #000;
}

.product-profile-1 .carousel-inner .video video,
.product-carousel-desktop .video video {
    width: 100%;
    height: auto;
    display: block;
}

.product-profile-1 .carousel-control-prev,
.product-profile-1 .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-profile-1 .carousel-control-prev { left: 10px; }
.product-profile-1 .carousel-control-next { right: 10px; }

.product-profile-1 .carousel .carousel-indicators {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    height: auto;
    margin: 0;
    z-index: 0;
    flex-direction: row;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    max-height: 500px;
    overflow: scroll;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.product-profile-1 .carousel .carousel-indicators li {
    width: 72px;
    height: auto;
    text-indent: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    opacity: 1;
    flex: 0 0 auto;
}

.product-profile-1 .carousel .carousel-indicators li img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    display: block;
}

.product-profile-1 .carousel .carousel-indicators li.active {
    border-color: var(--profil-main);
}

.video-play {
    position: relative;
}

.video-play i {
    position: absolute;
    bottom: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border: 1px solid #000;
    border-radius: 100%;
    line-height: 28px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    text-indent: 1px;
    background: rgba(255, 255, 255, 0.85);
}

.product-carousel-mobile {
    display: none;
}

.product-carousel-desktop.normal .carousel-item {
    display: block;
}

.ppc-ctype-3 .carousel-indicators {
    flex-direction: column;
    max-height: 520px;
}

.ppc-ctype-1 .carousel-indicators {
    justify-content: flex-start;
}

@media (min-width: 992px) {
    .product-profile-1 .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .product-profile-1 .col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .product-profile-1 > .row,
    .product-profile-1 .second > .row {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) {
    .product-profile-1 .col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .product-profile-1 .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .product-profile-1 .second > .row {
        display: flex;
        flex-wrap: wrap;
    }

    .ppc-ctype-3 > .row {
        display: flex;
        flex-wrap: wrap;
    }

    .ppc-ctype-3 .col-md-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .ppc-ctype-3 .col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .product-profile-1 .carousel .carousel-indicators {
        overflow: unset !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 991px) {
    .product-body .product-profile-1 .col-lg-5.fist,
    .product-profile-1 .col-lg-5.fist,
    .product-body .product-profile-1 .col-lg-7.second,
    .product-profile-1 .col-lg-7.second {
        border-radius: 10px;
        box-shadow: none;
        margin-bottom: 16px;
    }

    .product-profile-1 h1.title {
        margin-top: 10px;
    }

    .product-badges .p-badge {
        height: 55px;
        flex: auto;
    }

    .product-buttons .btn-fast-buy,
    .product-buttons .btn-cart {
        flex: 1;
        margin-left: 0;
    }

    .product-buttons .btn-wp {
        width: 100%;
    }

    .product-carousel-desktop.normal {
        display: none;
    }

    .product-carousel-mobile {
        display: block;
    }

    .product-profile-1 .carousel .carousel-indicators li {
        max-width: 50px;
    }

    .ppc-ctype-2 .row:first-of-type,
    .ppc-ctype-3 .row:first-of-type {
        display: flex;
        flex-direction: column-reverse;
    }

    .product-profile-1 .product-quantity {
        margin-right: 0;
    }

    .product-profile-1 .product-buttons .btn-cart {
        border-radius: 26px;
        margin: 0;
    }
}

@media (max-width: 767px) {
    .product-profile-1 .carousel .carousel-indicators {
        overflow: unset !important;
        max-height: unset !important;
    }

    .product-profile-1 .carousel .carousel-indicators li {
        max-width: 50px;
    }

    .product-profile-1 .variant-box ul {
        flex-direction: column;
    }
}
