/*
 * Tasario â€” Single Product Page
 * Referans tasarÄ±m: Sol dikey thumbnails + bÃ¼yÃ¼k gÃ¶rsel + sade saÄŸ bilgi kolonu
 */

/* ===== GENEL WRAPPER ===== */
.tsp-wrap {
    background: #fff;
}
.tsp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 10px; /* AzaltÄ±ldÄ± */
    font-family: var(--font-main);
}

/* ===== BREADCRUMB ===== */
.tsp-breadcrumb {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 20px;
}
.tsp-breadcrumb .woocommerce-breadcrumb,
.tsp-breadcrumb .woocommerce-breadcrumb a {
    color: #9ca3af;
    font-size: 13px;
    text-decoration: none;
}
.tsp-breadcrumb .woocommerce-breadcrumb a:last-of-type,
.tsp-breadcrumb .woocommerce-breadcrumb span:last-child {
    color: #E95902;
    font-weight: 500;
}

/* ===== HERO: 2 KOLON ===== */
.tsp-hero {
    display: grid;
    grid-template-columns: 520px 1fr;
    align-items: start;
    gap: 64px;
    margin-bottom: 24px;
}

/* ===== GALERÄ°: dikey thumb + bÃ¼yÃ¼k gÃ¶rsel ===== */
.tsp-gallery {
    display: flex;
    flex-direction: column-reverse; /* Thumbnails altta */
    gap: 12px;
    position: sticky;
    top: 100px;
    align-self: start;
}

/* Yatay kÃ¼Ã§Ã¼k resim ÅŸeridi */
.tsp-thumbs-col {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    -ms-overflow-style: none; 
    scrollbar-width: none;
}
.tsp-thumbs-col::-webkit-scrollbar { display: none; }
.tsp-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.65;
    flex-shrink: 0;
}
.tsp-thumb:hover  { opacity: 0.85; border-color: #d1d5db; }
.tsp-thumb.active { opacity: 1;    border-color: #E95902; box-shadow: 0 0 0 2px rgba(233,89,2,0.15); }

/* BÃ¼yÃ¼k gÃ¶rsel alanÄ± */
.tsp-main-image-col {
    flex: 1;
    min-width: 0;
}
.tsp-main-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
}
.tsp-main-image-wrap img#tsp-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

/* Kalp butonu â€” saÄŸ Ã¼st kÃ¶ÅŸe */
.tsp-heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    background: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: #9ca3af;
}
.tsp-heart-btn:hover { color: #ef4444; transform: scale(1.05); }
.tsp-heart-btn.active { color: #ef4444; }
.tsp-heart-btn svg { width: 20px; height: 20px; }
.tsp-heart-btn.active svg { fill: #ef4444; }

/* Galeri oklarÄ± */
.tsp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: #374151;
}
.tsp-arrow:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.tsp-arrow-prev { left: 10px; }
.tsp-arrow-next { right: 10px; }

/* ===== ÃœRÃœN BÄ°LGÄ°SÄ° ===== */
.tsp-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 4px;
    position: static;
}

/* BaÅŸlÄ±k */
.tsp-title {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    margin: 0;
}

/* DeÄŸerlendirme */
/* ===== RATING BLOCK (Alt KÄ±sÄ±m) ===== */
.tsp-rating-block {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -4px; /* EÅŸit boÅŸluk iÃ§in features listesindeki margin ile dengelendi */
}
.tsp-rating-score {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}
.tsp-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}
/* Ä°nteraktif YÄ±ldÄ±zlar */
.tsp-interactive-stars {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.tsp-interactive-stars .tsp-star {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}
.tsp-interactive-stars .tsp-star.filled { color: #f59e0b; }
.tsp-interactive-stars .tsp-star.empty { color: #e5e7eb; }

/* Fareyle Ã¼zerine gelince dalga efekti (staggered animation) */
.tsp-interactive-stars:hover .tsp-star {
    color: #f59e0b;
    transform: scale(1.2) translateY(-2px);
}
.tsp-interactive-stars:hover .tsp-star:nth-child(1) { transition-delay: 0.00s; }
.tsp-interactive-stars:hover .tsp-star:nth-child(2) { transition-delay: 0.04s; }
.tsp-interactive-stars:hover .tsp-star:nth-child(3) { transition-delay: 0.08s; }
.tsp-interactive-stars:hover .tsp-star:nth-child(4) { transition-delay: 0.12s; }
.tsp-interactive-stars:hover .tsp-star:nth-child(5) { transition-delay: 0.16s; }

.tsp-rating-dot {
    color: #9ca3af;
    font-size: 16px;
    margin: 0 4px;
}
.tsp-review-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #0066cc; /* Like the image, slightly blue link */
    font-size: 14px;
    transition: color 0.2s;
}
.tsp-review-link:hover {
    color: #004c99;
}
.tsp-review-link .tsp-review-count {
    color: inherit;
}
.tsp-camera-icon {
    color: #4b5563; /* Dark gray for the icon */
}
.empty-stars {
    opacity: 0.5;
}
.first-review-link {
    color: #9ca3af;
    font-size: 14px;
}
.first-review-link:hover {
    color: #E95902;
}

/* ===== ÃœRÃœN Ã–ZELLÄ°KLERÄ° LÄ°STESÄ° ===== */
.tsp-features-list {
    list-style: none;
    margin: -16px 0 0 0;
    padding: 0 0 0 10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.tsp-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: #111827;
    line-height: 1.55;
    padding: 4px 0;
}
/* Elmas (dÃ¶ndÃ¼rÃ¼lmÃ¼ÅŸ kare) marker */
.tsp-features-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: #E95902;
    border-radius: 1px;
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* Fiyat */
.tsp-price-block {
    margin-top: -4px;
}
/* Ä°ndirimli dÃ¼zen: [%kutu] [Ã¼stÃ¼ Ã§izili / bÃ¼yÃ¼k fiyat] */
.tsp-price-badge {
    display: flex;
    align-items: center;
    gap: 14px;
}
/* Kare indirim kutusu */
.tsp-discount-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #fff3e8;
    color: #E95902;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: -0.3px;
    line-height: 1;
}
/* SaÄŸ taraf: Ã¼st = Ã¼stÃ¼ Ã§izili, alt = indirimli fiyat */
.tsp-price-right {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tsp-regular-price {
    font-size: 15px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 400;
    display: block;
}
.tsp-regular-price .woocommerce-Price-amount.amount { font-size: 15px; color: #9ca3af; }
.tsp-sale-price { font-size: 30px; font-weight: 600; color: #E95902; display: block; line-height: 1.1; }
.tsp-sale-price .woocommerce-Price-amount.amount { font-size: 30px; font-weight: 600; color: #E95902; }
/* WC varsayÄ±lan del/ins */
.tsp-price-block del { display: block; color: #9ca3af; font-size: 15px; }
.tsp-price-block del .woocommerce-Price-amount { color: #9ca3af; font-size: 15px; }
.tsp-price-block ins { display: block; text-decoration: none; }
.tsp-price-block ins .woocommerce-Price-amount { font-size: 30px; font-weight: 600; color: #E95902; }

/* KÄ±sa aÃ§Ä±klama */
.tsp-short-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
    margin-top: -4px;
}
.tsp-short-desc p { margin: 0 0 8px; }
.tsp-short-desc p:last-child { margin: 0; }

/* ===== BUTON SATIRI ===== */
.tsp-cart-form {
    margin-bottom: 4px;
}
.tsp-btn-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Åimdi Al â€” outlined */
.tsp-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 48px;
    padding: 0 20px;
    background: #fff;
    color: #E95902;
    border: 2px solid #E95902;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: var(--font-main);
    text-decoration: none;
    white-space: nowrap;
}
.tsp-now-btn:hover {
    background: #fff8f5;
    color: #C54A01;
    border-color: #C54A01;
}

/* ===== SEPETE EKLE BUTONU ===== */
.tsp-atc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    height: 48px;
    padding: 0 24px;
    background: #E95902;
    color: #fff;
    border: 2px solid #E95902;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    font-family: var(--font-main);
    text-decoration: none;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.tsp-atc-btn:hover { background: #C54A01; border-color: #C54A01; transform: translateY(-1px); }
.tsp-atc-btn:active { transform: translateY(0); }
.tsp-atc-btn.disabled { background: #d1d5db; border-color: #d1d5db; cursor: not-allowed; transform: none; }

/* WC Variations iÃ§indeki add-to-cart override */
.tsp-variations-wrap .single_add_to_cart_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 24px !important;
    background: #E95902 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 16px !important;
    transition: background 0.2s ease !important;
    font-family: var(--font-main);
}
.tsp-variations-wrap .single_add_to_cart_button:hover { background: #C54A01 !important; }
.tsp-variations-wrap .variations select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.2s;
}
.tsp-variations-wrap .variations select:focus { border-color: #E95902; }
.tsp-variations-wrap .variations td, .tsp-variations-wrap .variations th { padding: 6px 0; vertical-align: middle; }

/* ===== BÄ°LGÄ° KARTLARI â€” Modern ===== */
.tsp-info-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0;
}
.tsp-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: box-shadow 0.25s;
}
.tsp-info-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}
.tsp-ic-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/* Renk temasÄ± â€” her ikonun kendine Ã¶zgÃ¼ arka plan tonu */
.tsp-ic-shield { background: #e8f5e9; color: #2e7d32; } /* YeÅŸil */
.tsp-ic-box    { background: #fff3e8; color: #E95902; } /* Turuncu */
.tsp-ic-fast   { background: #e8eaf6; color: #3949ab; } /* Mavi */

.tsp-ic-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}
.tsp-ic-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.tsp-ic-header > strong {
    font-size: 13.5px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}
.tsp-ic-badge {
    font-size: 10px;
    font-weight: 700;
    color: #E95902;
    background: #fff8f5;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid rgba(233,89,2,0.2);
    line-height: 1;
    white-space: nowrap;
    margin-left: auto;
}
.tsp-ic-text > span {
    font-size: 12.5px;
    color: #6b7280;
    white-space: normal; /* allow wrapping if needed since text is long */
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}
.tsp-ic-text > span em {
    font-style: normal;
    font-weight: 600;
    color: #E95902;
}
/* WC price iÃ§indeki elementler inline kalsÄ±n */
.tsp-ic-text > span .woocommerce-Price-amount,
.tsp-ic-text > span .woocommerce-Price-currencySymbol {
    display: inline;
    font-size: inherit;
    color: inherit;
}


/* ===== ALT ALTA BÃ–LÃœMLER ===== */
.tsp-section {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.tsp-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(233, 89, 2, 0.07);
    background: rgba(255, 248, 245, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.tsp-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.tsp-section-count {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
}

.tsp-section-body {
    padding: 28px 32px;
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}

.tsp-description-body p { margin: 0 0 12px; }
.tsp-description-body p:last-child { margin-bottom: 0; }

.tsp-section-body table { width: 100%; border-collapse: collapse; }
.tsp-section-body table th,
.tsp-section-body table td {
    padding: 11px 14px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}
.tsp-section-body table th { font-weight: 600; color: #6b7280; background: #fafafa; width: 35%; }


/* ===== Ä°LGÄ°LÄ° ÃœRÃœNLER â€” Swiper ===== */
.tsp-related-section {
    margin-top: 48px;
    overflow: hidden;
}
.tsp-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.tsp-related-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.tsp-related-section .swiper-button-next,
.tsp-related-section .swiper-button-prev {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    top: 40%;
}
.tsp-related-section .swiper-button-next::after,
.tsp-related-section .swiper-button-prev::after {
    font-size: 13px;
    color: #374151;
    font-weight: 700;
}
.tsp-related-section .swiper-button-next:hover,
.tsp-related-section .swiper-button-prev:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}
.tsp-related-section .swiper-slide {
    height: auto;
}





/* ===== MOBÄ°L ÃœRÃœN STICKY BAR ===== */
.tsp-sticky-bar {
    display: none;
}

/* ===== YORUMLAR (DeÄŸerlendirmeler) - Modern Split Layout ===== */
#reviews {
    display: flex;
    gap: 40px;
    align-items: stretch;
    flex-wrap: nowrap;
}

/* Yorum Formu (Sol Kolon) */
#reviews #review_form_wrapper {
    width: 60%;
    order: 1;
    background: transparent;
    padding: 0 20px 0 0;
    border: none;
    box-sizing: border-box;
}
#reviews #review_form_wrapper #reply-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    display: block;
}

/* Yorum Listesi (SaÄŸ Kolon) */
#reviews #comments {
    width: 40%;
    order: 2;
    padding-left: 30px;
    box-sizing: border-box;
    border-left: 1px solid #f0f0f0;
}
#reviews #comments h2 {
    display: none; /* We removed it from PHP, but just in case */
}

/* Comment Box Stretching */
.commentlist {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    display: block !important;
}
.commentlist li.review {
    width: 100% !important;
    display: block !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    background: transparent;
    border: none;
    padding: 0;
}
.comment_container {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    padding: 0 0 20px 0;
    box-sizing: border-box;
    display: flex;
    gap: 12px;
}
.commentlist li.review:last-child .comment_container {
    border-bottom: none;
    padding-bottom: 0;
}
/* Hide Avatar */
.comment_container img.avatar {
    display: none !important;
}
/* Comment text */
.comment-text {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    border-radius: 0 !important;
    flex: 1;
}

.comment-text .meta {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-text .meta strong {
    color: #111827;
    font-weight: 600;
    font-size: 15px;
}
.comment-text .description {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    background: transparent;
    padding: 0;
    margin-top: 6px;
}
.comment-text .description p {
    margin: 0 0 10px;
}
.comment-text .description p:last-child {
    margin-bottom: 0;
}

/* Yorum Formu DÃ¼zeni */
.comment-form p {
    margin-bottom: 16px;
}
.comment-form-author,
.comment-form-email {
    width: 48%;
    float: left;
}
.comment-form-email {
    float: right;
}
.comment-form-rating {
    clear: both;
    margin-bottom: 16px;
}
.comment-form-comment {
    clear: both;
}
.comment-form-comment textarea {
    height: 100px !important;
}
.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background: #fff;
    box-sizing: border-box;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    border-color: #E95902;
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 89, 2, 0.1);
}
/* GÃ¶nder Butonu (WooCommerce varsayÄ±lanlarÄ±nÄ± ezmek iÃ§in yÃ¼ksek Ã¶ncelik) - Soft TasarÄ±m */
#reviews #respond input#submit,
#reviews .comment-form input[type="submit"] {
    background-color: rgba(233, 89, 2, 0.1); /* Ã‡ok uÃ§uk, soft bir turuncu */
    color: var(--color-primary, #E95902); /* YazÄ± rengi ana turuncu */
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
#reviews #respond input#submit:hover,
#reviews .comment-form input[type="submit"]:hover {
    background-color: rgba(233, 89, 2, 0.18); /* Hover'da hafif daha belirgin */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 89, 2, 0.1);
}
#reviews #respond input#submit:active,
#reviews .comment-form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}
.comment-form-cookies-consent {
    clear: both;
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-form-cookies-consent input {
    margin: 0;
}

/* WooCommerce YÄ±ldÄ±z Renkleri (Marka Uyumu) */
#reviews .star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1em;
    font-size: 14px;
    width: 5.4em;
    font-family: star;
    color: #E95902;
}
#reviews .star-rating::before {
    content: "\73\73\73\73\73";
    color: #e5e7eb;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}
#reviews .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}
#reviews .star-rating span::before {
    content: "\53\53\53\53\53";
    top: 0;
    position: absolute;
    left: 0;
    color: #E95902;
}
p.stars a {
    color: #E95902 !important;
    text-decoration: none;
}
p.stars a:hover {
    color: #C54A01 !important;
}

@media (max-width: 768px) {
    #reviews {
        flex-wrap: wrap;
        gap: 30px;
    }
    #reviews #review_form_wrapper,
    #reviews #comments {
        width: 100%;
        padding: 0;
        border: none;
    }
    #reviews #review_form_wrapper {
        order: 1;
    }
    #reviews #comments {
        order: 2;
        border-top: 1px solid #f0f0f0;
        padding-top: 30px;
    }
    .comment-form-author,
    .comment-form-email {
        width: 100%;
        float: none;
    }
    .comment-form-rating {
        margin-top: -10px;
    }

    .tsp-sticky-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        /* Blur oranÄ± bottom nav ile birebir aynÄ± */
        background-color: rgba(255, 255, 255, 0.88);
        -webkit-backdrop-filter: blur(18px) saturate(180%);
        backdrop-filter: blur(18px) saturate(180%);
        border-top: 1px solid rgba(0,0,0,0.04);
        border-top-left-radius: var(--radius-lg, 24px);
        border-top-right-radius: var(--radius-lg, 24px);
        /* Ä°Ã§erik yukarÄ± itilir, bottom nav alanÄ± boÅŸ bÄ±rakÄ±lÄ±r */
        padding: 10px 20px calc(82px + env(safe-area-inset-bottom, 0px));
        /* Bottom nav'Ä±n (1000) ARKASINDA kalÄ±r */
        z-index: 999;
    }
    
    /* Footer'in sticky bar'in altinda kalmasini engelle */
    .single-product .tasario-site-footer {
        padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .tsp-sb-price {
        display: flex;
        flex-direction: column;
        gap: 1px;
        flex-shrink: 0;
    }
    .tsp-sb-price-sale {
        font-size: 20px;
        font-weight: 700;
        color: #E95902;
        line-height: 1.2;
    }
    .tsp-sb-price-sale .woocommerce-Price-amount { font-size: 20px; font-weight: 600; color: #E95902; }
    .tsp-sb-price-regular {
        font-size: 13px;
        color: #9ca3af;
        text-decoration: line-through;
    }
    .tsp-sb-price-regular .woocommerce-Price-amount { font-size: 13px; color: #9ca3af; }

    /* Butonlar grubu */
    .tsp-sb-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    /* Åimdi Al â€” outlined */
    .tsp-sb-now-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        min-width: 125px;
        padding: 0 16px;
        background: transparent;
        color: #E95902;
        border: 2px solid #E95902;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
        text-decoration: none;
        font-family: var(--font-main);
        transition: background 0.2s ease, color 0.2s ease;
    }
    .tsp-sb-now-btn:hover {
        background: rgba(233,89,2,0.06);
        color: #C54A01;
        border-color: #C54A01;
    }

    .tsp-sb-form {
        flex-shrink: 0;
    }
    .tsp-sb-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 125px;
        padding: 0 16px;
        height: 44px;
        background: #E95902;
        color: #fff;
        border: none;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        font-family: var(--font-main);
        transition: background 0.2s ease;
        white-space: nowrap;
    }
    .tsp-sb-btn:hover  { background: #C54A01; }
    .tsp-sb-btn.disabled { background: #d1d5db; cursor: not-allowed; }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .tsp-hero { grid-template-columns: 1fr; gap: 32px; }
    .tsp-gallery { position: static; }
}
@media (max-width: 768px) {
    .tsp-container { padding: 14px 2.5vw 10px; }
    .tsp-title { font-size: 22px; }
    
    /* BÃ¶lÃ¼mler (AÃ§Ä±klama, DeÄŸerlendirmeler vb.) */
    .tsp-section {
        margin-left: 0;
        margin-right: 0;
        border-radius: 16px;
        border-left: 1px solid #f0f0f0;
        border-right: 1px solid #f0f0f0;
    }
    .tsp-section-header {
        padding: 16px 20px;
    }
    .tsp-section-body {
        padding: 20px 20px;
    }
    
    /* Mobil Galeri: KÃ¼Ã§Ã¼k resimler altta (zaten default) */
    .tsp-gallery { position: static; }
    .tsp-thumbs-col { 
        gap: 8px;
        padding-bottom: 4px;
    }
    .tsp-thumb { width: 64px; height: 64px; }
    
    /* Fiyat ve butonlar sticky bar'da zaten var â€” masaÃ¼stÃ¼ sÃ¼rÃ¼mÃ¼nÃ¼ gizle */
    .tsp-price-block,
    .tsp-cart-form {
        display: none !important;
    }

    .tsp-tab-btn { padding: 14px 18px; font-size: 13px; }
    .tsp-tab-content { padding: 20px 16px; }
}
@media (max-width: 480px) {
    .tsp-gallery { gap: 8px; }
    .tsp-thumb { width: 56px; height: 56px; border-radius: 8px; }
}


