/**
 * Ürün detay sayfası — tema sınıfları (product-*) burada tanımlı
 */
.product-detail {
    padding: 100px 0 80px;
    background: var(--smoke-color4, #f4f6f8);
}

.product-detail .container {
    max-width: var(--main-container, 1320px);
}

.product-breadcrumb {
    margin-bottom: 2rem;
}

.product-breadcrumb .breadcrumb {
    margin-bottom: 0;
    padding: 0.75rem 1rem;
    background: var(--white-color, #fff);
    border-radius: 8px;
    border: 1px solid var(--th-border-color, #d5d7da);
    flex-wrap: wrap;
}

.product-breadcrumb .breadcrumb-item a {
    color: var(--theme-color, #058ac6);
    text-decoration: none;
}

.product-breadcrumb .breadcrumb-item.active {
    color: var(--title-color, #0b1422);
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    position: relative;
    background: var(--white-color, #fff);
    border: 1px solid var(--th-border-color, #d5d7da);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.product-image-placeholder {
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--smoke-color, #f2f5fa);
    color: var(--gray-color2, #999);
    font-size: 4rem;
}

.product-detail-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--error-color, #dc3545);
}

.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid var(--th-border-color, #d5d7da);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.85;
    transition: border-color 0.2s, opacity 0.2s;
    flex-shrink: 0;
}

.product-thumb:hover,
.product-thumb.active {
    opacity: 1;
    border-color: var(--theme-color, #058ac6);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    background: var(--white-color, #fff);
    border: 1px solid var(--th-border-color, #d5d7da);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-category-tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--theme-color, #058ac6);
    background: var(--smoke-color3, #eef1ff);
    border-radius: 6px;
    text-decoration: none;
}

.product-category-tag:hover {
    color: var(--white-color, #fff);
    background: var(--theme-color, #058ac6);
}

.product-title {
    font-family: var(--title-font, "Plus Jakarta Sans", sans-serif);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--title-color, #0b1422);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.product-stock-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--th-border-color2, #e6e6e6);
}

.stock-available {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--success-color, #28a745);
    font-weight: 600;
    font-size: 0.9375rem;
}

.stock-unavailable {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--error-color, #dc3545);
    font-weight: 600;
    font-size: 0.9375rem;
}

.product-sku-line {
    padding-bottom: 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--th-border-color2, #e6e6e6);
}

.product-sku-row,
.product-barcode {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--title-color, #0b1422);
    background: var(--smoke-color4, #f4f6f8);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.product-price-block {
    margin-bottom: 1.25rem;
}

.product-price-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--body-color, #6e7070);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.product-price-box {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
}

.product-old-price {
    font-size: 1.125rem;
    color: var(--gray-color2, #999);
    text-decoration: line-through;
}

.product-current-price {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--theme-color, #058ac6);
    line-height: 1.2;
}

.product-short-desc {
    font-size: 1rem;
    color: var(--body-color, #6e7070);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.product-feature-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    background: var(--smoke-color4, #f4f6f8);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--title-color, #0b1422);
    border: 1px solid var(--th-border-color2, #e6e6e6);
}

.product-feature-item i {
    font-size: 1.25rem;
    color: var(--theme-color, #058ac6);
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
    .product-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.add-to-cart-form {
    flex: 1;
    min-width: 160px;
}

.btn-buy,
.btn-buy-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff !important;
    background: var(--theme-color, #058ac6) !important;
    border: none !important;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(5, 138, 198, 0.35);
}

.btn-buy-primary:hover {
    background: var(--title-color, #0b1422) !important;
    color: #fff !important;
}

.btn-quote,
.btn-quote-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    flex: 1;
    min-width: 160px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-color, #058ac6) !important;
    background: var(--white-color, #fff) !important;
    border: 2px solid var(--theme-color, #058ac6) !important;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-quote-secondary:hover {
    background: var(--smoke-color3, #eef1ff) !important;
    color: var(--theme-color, #058ac6) !important;
}

.product-contact-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: var(--smoke-color3, #eef1ff);
    border-radius: 10px;
    border: 1px solid var(--th-border-color, #d5d7da);
}

.product-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--theme-color, #058ac6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.product-contact-content span {
    display: block;
    font-size: 0.875rem;
    color: var(--body-color, #6e7070);
    margin-bottom: 0.15rem;
}

.product-contact-phone {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--theme-color, #058ac6);
    text-decoration: none;
}

.product-contact-phone:hover {
    text-decoration: underline;
}

/* Tek panel: sadece ürün detayı */
.product-detail-panel {
    margin-top: 3rem;
    background: var(--white-color, #fff);
    border: 1px solid var(--th-border-color, #d5d7da);
    border-radius: 12px;
    padding: 1.75rem 1.5rem 2rem;
}

.product-detail-panel-title {
    font-family: var(--title-font, "Plus Jakarta Sans", sans-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--title-color, #0b1422);
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid var(--theme-color, #058ac6);
}

.product-description-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body-color, #6e7070);
}

.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description-content h4 {
    color: var(--title-color, #0b1422);
    margin-top: 1.25rem;
    margin-bottom: 0.65rem;
}

.product-description-content p {
    margin-bottom: 1rem;
}

.product-description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-extra-panel {
    margin-top: 2rem;
    background: var(--white-color, #fff);
    border: 1px solid var(--th-border-color, #d5d7da);
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1.75rem;
}

.product-extra-panel > h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--title-color, #0b1422);
    margin-bottom: 1rem;
}

.product-documents-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.product-document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: var(--smoke-color4, #f4f6f8);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--th-border-color2, #e6e6e6);
    transition: border-color 0.2s, background 0.2s;
}

.product-document-item:hover {
    border-color: var(--theme-color, #058ac6);
    background: var(--smoke-color3, #eef1ff);
}

.product-document-item .document-icon {
    font-size: 1.75rem;
    color: var(--error-color, #dc3545);
}

.document-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.document-title {
    font-weight: 600;
    color: var(--title-color, #0b1422);
}

.document-action {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--theme-color, #058ac6);
}

.product-video-wrapper {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--th-border-color, #d5d7da);
}

.product-related-section {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--th-border-color, #d5d7da);
}

.product-related-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--title-color, #0b1422);
    margin-bottom: 1.5rem;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--white-color, #fff);
    border: 1px solid var(--th-border-color, #d5d7da);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(11, 20, 34, 0.08);
}

.product-card-image-wrapper {
    position: relative;
    aspect-ratio: 4/4;
}

.product-card-image-wrapper .product-card-thumb-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1;
}

.product-card-image-wrapper .product-card-thumb-link:focus-visible {
    outline: 2px solid var(--theme-color, #058ac6);
    outline-offset: -2px;
}

.product-card-image-wrapper .product-card-thumb-link .product-card-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-card-image {
    display: block;
}

.product-card-image-wrapper .product-card-badge {
    z-index: 2;
}

.product-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    color: #fff;
}

.product-card-content {
    padding: 1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 0.75rem;
    color: var(--gray-color2, #999);
    margin-bottom: 0.35rem;
}

.product-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.product-card-title a {
    color: var(--title-color, #0b1422);
    text-decoration: none;
}

.product-card-title a:hover {
    color: var(--theme-color, #058ac6);
}

.product-card-description {
    font-size: 0.875rem;
    color: var(--body-color, #6e7070);
    margin-bottom: 0.75rem;
    flex: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.product-card-price-current {
    font-weight: 800;
    color: var(--theme-color, #058ac6);
    font-size: 1.05rem;
}

.product-card-price-old {
    font-size: 0.8125rem;
    color: var(--gray-color2, #999);
    text-decoration: line-through;
    margin-right: 0.35rem;
}

.product-card-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--theme-color, #058ac6);
    text-decoration: none;
    white-space: nowrap;
}

.product-card-btn:hover {
    text-decoration: underline;
}

/* Teklif offcanvas */
.quote-sidebar {
    max-width: 420px;
}

.quote-sidebar-header {
    border-bottom: 1px solid var(--th-border-color, #d5d7da);
    padding: 1.25rem;
}

.quote-sidebar-title-wrapper {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.quote-sidebar-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--smoke-color3, #eef1ff);
    color: var(--theme-color, #058ac6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.quote-sidebar-product {
    font-size: 0.8125rem;
    color: var(--body-color, #6e7070);
    margin: 0;
}

.quote-sidebar-body {
    padding: 1.25rem;
}

.quote-product-preview {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--smoke-color4, #f4f6f8);
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.quote-product-preview img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

.quote-product-placeholder {
    width: 72px;
    height: 72px;
    background: var(--smoke-color, #f2f5fa);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--gray-color2, #999);
}

.quote-form-group {
    margin-bottom: 1rem;
}

.quote-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--title-color, #0b1422);
}

.quote-form-input {
    border-radius: 8px !important;
    border-color: var(--th-border-color, #d5d7da) !important;
}

.btn-quote-submit {
    width: 100%;
    padding: 0.875rem;
    font-weight: 700;
    color: #fff !important;
    background: var(--theme-color, #058ac6) !important;
    border: none !important;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quote-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--th-border-color2, #e6e6e6);
}

.quote-trust-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--body-color, #6e7070);
}

.quote-trust-item i {
    color: var(--success-color, #28a745);
}
