/* ==========================================================================
   PREMIUM PRODUCT DETAIL STYLING (Trendyol / Modern E-Commerce Standard)
   ========================================================================== */

/* ===== 1. Breadcrumb ===== */
.product-breadcrumb {
    padding: 12px 0;
    background: transparent;
}
.product-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #a0aec0;
    font-size: 1.1rem;
    line-height: 1;
}

/* ===== 2. Product Gallery ===== */
.product-main-gallery {
    border: 1px solid #edf2f7;
    border-radius: 16px;
    background: #ffffff;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}
.product-main-gallery:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.gallery-thumbnail-item img {
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.gallery-thumbnail-item.active img,
.gallery-thumbnail-item img:hover {
    border-color: #f27a1a !important;
    transform: translateY(-2px);
}

/* Removed Price Box CSS as requested */

/* ===== 4. Highlights Box (Öne Çıkan Özellikler) ===== */
.highlights-card-premium {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.highlight-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.highlight-chip:hover {
    background: #ffffff;
    border-color: #f27a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 122, 26, 0.1);
}

.highlight-chip-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.icon-delivery { background: #eff6ff; color: #3b82f6; }
.icon-shield { background: #f0fdf4; color: #22c55e; }
.icon-return { background: #fef2f2; color: #ef4444; }
.icon-card { background: #fff7ed; color: #f27a1a; }

/* ===== 5. Action Buttons & Quantity ===== */

.btn-fav-premium {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.2s ease;
}

.btn-fav-premium:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
    transform: scale(1.08);
}

/* Removed Custom AI Tabs CSS */

/* ===== 8. Review Cards ===== */
.review-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.review-card-premium:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.verified-buyer-badge {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

/* ===== 9. Review List Container (Scrollable) ===== */
.review-list-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 12px;
}

/* Elegant Scrollbar for Review List */
.review-list-container::-webkit-scrollbar {
    width: 6px;
}
.review-list-container::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 10px;
}
.review-list-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.review-list-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===== 10. Star Rating Form ===== */
.star-rating-select {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}
.star-rating-select input {
    display: none; /* Hide the radio buttons */
}
.star-rating-select label {
    font-size: 2rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.1s ease;
    margin: 0;
}
.star-rating-select label:hover {
    transform: scale(1.1);
}
/* Magic trick: Light up stars on hover and check */
.star-rating-select input:checked ~ label,
.star-rating-select label:hover,
.star-rating-select label:hover ~ label {
    color: #f59e0b; /* Golden Yellow */
}

/* ===== Related products: storefront card polish (kopya) ===== */
.product-related .basic-product.theme-product-1 {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    margin-bottom: 0;
    box-shadow: none;
    width: 100%;
    display: block;
}

.product-related .basic-product.theme-product-1:hover {
    border-color: #e2e2e2;
}

.product-related .basic-product.theme-product-1 .img-wrapper {
    border-radius: 6px;
    overflow: hidden;
    background: #f7f7f8;
}

.product-related .basic-product.theme-product-1 .img-wrapper img,
.product-related .basic-product.theme-product-1 .img-wrapper img.bg-img {
    display: block !important;
    aspect-ratio: 6 / 7;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.product-related .basic-product.theme-product-1:hover .img-wrapper img {
    transform: scale(1.03);
}

.product-related .basic-product.theme-product-1 .product-detail {
    padding-top: 12px;
    border: none;
}

.product-related .basic-product.theme-product-1 .product-detail > div {
    border: none !important;
}

.product-related .basic-product.theme-product-1 .product-title {
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.75;
}

.product-related .basic-product.theme-product-1 .product-detail h6 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 4px 0 8px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.35em * 2);
}

.product-related .basic-product.theme-product-1 .price {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0;
    gap: 8px;
}

.product-related .basic-product.theme-product-1 .price del {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
    opacity: 1;
    text-decoration-thickness: 1px;
}

