.products-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Products Sidebar */
.products-sidebar {
    width: 280px;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--theme-color1);
    padding-bottom: 15px;
}

.sidebar-header h3 {
    color: var(--theme-color1);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    text-align: center;
}

.mobile-category-toggle {
    display: none;
    background: var(--theme-color1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.mobile-category-toggle:hover {
    background: var(--theme-color2);
    transform: scale(1.1);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-list.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-bottom:.4px solid var(--theme-color1)
}

.category-item:hover {
    transform: translateX(5px);
}

.category-item.active {
    background: var(--theme-color1);
    color: white;
    border-color: var(--theme-color1);
    border-radius: 20px;
}

.category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--theme-color1);
    border-radius: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon img {
    transform: scale(1.1);
}

.category-item.active .category-icon {
    background: white;
    color: var(--theme-color1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-item.active .category-icon img {
    filter: brightness(1.2) contrast(1.1);
}

.category-name {
    font-weight: 600;
    font-size: 14px;
}

/* Products Main Content */
.products-main {
    flex: 1;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Category Filter Modern */
.category-filter-modern {
    margin-bottom: 60px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.filter-header h2 {
    color: var(--theme-color1);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.filter-count {
    background: var(--theme-color1);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
}

.filter-tab:hover {
    border-color: var(--theme-color1);
    color: var(--theme-color1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-tab.active {
    background: var(--theme-color1);
    border-color: var(--theme-color1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 130, 203, 0.3);
}

.filter-tab i {
    font-size: 18px;
}

/* Products Grid Unified - 3 Products Side by Side */
.products-grid-unified {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 60px;
}

/* Unified Product Card Styles */
.box-car.car-block-three.style-2 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.box-car.car-block-three.style-2:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--theme-color1);
}

.image-box {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.slider-thumb {
    width: 100%;
    height: 100%;
}

.slider-thumb .image {
    width: 100%;
    height: 100%;
}

.slider-thumb .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.box-car:hover .slider-thumb .image img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--theme-color1);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    text-transform: uppercase;
}

.product-3d-btn-unified {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--theme-color1);
    border: none;
    padding: 12px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-3d-btn-unified:hover {
    background: var(--theme-color1);
    color: white;
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(0, 130, 203, 0.4);
}

.icon-box {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 3;
}

.icon-box:hover {
    background: var(--theme-color1);
}

.icon-box:hover svg path {
    fill: white;
}

.content-box {
    padding: 25px;
}

.content-box .title a {
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-box .title a:hover {
    color: var(--theme-color1);
}

.content-box .text {
    color: #666;
    line-height: 1.6;
    margin: 12px 0 20px;
    font-size: 14px;
}

.btn-box {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.qr-code {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 5px;
}

.qr-code:hover {
    transform: scale(1.1);
}

.view3d {
    display: block;
    background-color: var(--theme-color1);
    border: 1px solid var(--theme-color1);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    transition: .3s ease;
    text-decoration: none;
}

.view3d:hover {
    border: 1px solid var(--theme-color1);
    color: var(--theme-color1);
    background-color: transparent;
}

.details {
    color: var(--theme-color1);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.details:hover {
    color: var(--theme-color2);
    transform: translateX(5px);
}

.product-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    height:100%;
}

.product-card-modern:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--theme-color1);
}

.product-image-modern {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-modern:hover .product-image-modern img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    text-transform: capitalize;
    width: 100px;
    line-height: 10px;
    padding: 10px 15px;
    border-radius: 20px;
    background-color: var(--theme-color-light);
    color: var(--theme-color-dark);
    text-align: center;
	z-index:1;
}


.product-3d-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--theme-color1);
    border: none;
    padding: 12px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-3d-btn:hover {
    background: var(--theme-color1);
    color: white;
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(0, 130, 203, 0.4);
}

.product-3d-btn i {
    font-size: 16px;
}

.product-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 130, 203, 0.9) 0%, rgba(29, 29, 27, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-modern:hover .product-overlay-modern {
    opacity: 1;
}

.btn-details {
    background: white;
    color: var(--theme-color1);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-details:hover {
    background: var(--theme-color2);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(29, 29, 27, 0.3);
}

.product-info-modern {
    padding: 25px;
}

.product-category {
    color: var(--theme-color1);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 13px;
}

.product-features-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: linear-gradient(135deg, #0082cb, #38a7e6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.product-actions-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.qr-code-modern {
    width: 35px;
    height: 35px;
	aspect-ratio:1/1;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.qr-code-modern:hover {
    transform: scale(1.1);
}

.product-link {
    color: var(--theme-color1);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: var(--theme-color2);
    transform: translateX(5px);
}

/* Pagination Modern */
.pagination-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pagination-info {
    color: #666;
    font-size: 14px;
}

.pagination-info strong {
    color: var(--theme-color1);
    font-weight: 700;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--theme-color1);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--theme-color2);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.pagination-numbers {
    display: flex;
    gap: 10px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-number:hover {
    border-color: var(--theme-color1);
    color: var(--theme-color1);
}

.pagination-number.active {
    background: var(--theme-color1);
    border-color: var(--theme-color1);
    color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--theme-color1) 0%, var(--theme-color2) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background: white;
    color: var(--theme-color1);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: var(--theme-color1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid-unified {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .products-layout {
        flex-direction: column;
        gap: 30px;
    }

    .products-sidebar {
        width: 100%;
        position: static;
        padding: 20px;
    }

    .mobile-category-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .category-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        max-height: none;
        opacity: 1;
    }

    .category-list.collapsed {
        max-height: 0;
        opacity: 0;
        margin-top: -10px;
    }

    .category-item {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
        min-width: 120px;
        border-radius: 15px;
    }

    .category-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .category-name {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 60px 0;
    }

    .mata-container {
        padding: 0 15px;
        overflow-x: hidden;
    }

    .products-layout {
        gap: 20px;
    }

    .products-sidebar {
        padding: 15px;
        margin: 0 -5px;
        border-radius: 15px;
    }

    .sidebar-header h3 {
        font-size: 1.3rem;
    }

    .mobile-category-toggle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .products-grid-unified {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
    }

    .product-card-modern {
        margin: 0;
        border-radius: 15px;
        overflow: hidden;
    }

    .product-image-modern {
        height: 220px;
    }

    .product-info-modern {
        padding: 20px;
    }

    .product-title {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .product-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .product-features-modern {
        gap: 6px;
        margin-bottom: 15px;
    }

    .feature-tag {
        padding: 5px 10px;
        font-size: 10px;
        border-radius: 12px;
    }

    .breadcrumb-section {
        padding: 60px 0;
        min-height: 160px;
    }

    .breadcrumb-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .breadcrumb-search {
        margin-left: 0;
        max-width: 100%;
    }

    .breadcrumb-nav {
        margin-top: 10px;
        font-size: 10px;
        padding: 12px;
    }

    .breadcrumb-search .search-input {
        padding: 12px 20px;
        font-size: 14px;
    }

    .breadcrumb-search .search-btn {
        padding: 12px 20px;
    }

    .category-item {
        min-width: 90px;
        padding: 10px 6px;
        margin: 2px;
        border-radius: 12px;
    }

    .category-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .category-name {
        font-size: 10px;
        font-weight: 600;
        text-align: center;
        line-height: 1.2;
    }

    .pagination-modern {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
        margin: 0 5px;
    }

    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .pagination-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .pagination-numbers {
        gap: 8px;
    }

    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Additional Mobile Improvements */
@media (max-width: 480px) {
    .mata-container {
        padding: 0 10px;
    }

    .products-sidebar {
        padding: 12px;
        margin: 0;
    }

    .sidebar-header h3 {
        font-size: 1.1rem;
    }

    .mobile-category-toggle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .category-item {
        min-width: 80px;
        padding: 8px 4px;
        margin: 1px;
    }

    .category-icon {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .category-name {
        font-size: 9px;
    }

    .products-grid-unified {
        gap: 12px;
        padding: 0;
    }

    .product-card-modern {
        border-radius: 12px;
    }

    .product-image-modern {
        height: 180px;
    }

    .product-info-modern {
        padding: 15px;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 12px;
    }

    .feature-tag {
        padding: 4px 8px;
        font-size: 9px;
    }

    .product-actions-modern {
        padding-top: 15px;
    }

    .qr-code-modern {
        width: 30px;
        height: 30px;
    }

    .product-link {
        font-size: 12px;
    }

    .pagination-modern {
        padding: 15px;
        margin: 0;
    }

    .pagination-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* Prevent horizontal scroll */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* Filter Animation */
.product-card-modern.hidden {
    display: none;
}

.product-card-modern.show {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.slick-list .product-card-modern {
    margin:10px;
}

/* 3D Model Modal - Ortak Kullanım */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 80%;
  max-height: 600px;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
}

.model-content {
  width: 100%;
  height: 100%;
}

.model-container {
  width: 100%;
  height: 100%;
}

.placeholder-3d-view {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

.custom-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.custom-close-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.custom-close-btn i {
  font-size: 18px;
  color: #333;
}

/* AR Button Styles */
.ar-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.ar-button:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.ar-button i {
  font-size: 16px;
}

/* Model Loading */
.model-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.spinner-container {
  text-align: center;
  color: white;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Model Viewer Özel Stiller */
#active-model {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-overlay-content {
    width: 95%;
    height: 90%;
  }
  
  .custom-close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
  
  .ar-button {
    bottom: 15px;
    right: 15px;
    padding: 10px 16px;
    font-size: 12px;
  }
}