/* views/product-detail.ejs satır 1337 bloğundan taşındı (extract-inline-assets.js) */
      .light-mode #addReviewModal .modal-content {
        background: #fff;
        color: #111;
      }

      .light-mode #addReviewModal .form-control {
        background: #fff;
        color: #111;
        border-color: #111;
      }

      .light-mode #addReviewModal .review-btn {
        background: transparent;
        color: #f90;
        border-color: #f90;
      }

      .light-mode #addReviewModal .review-btn:hover {
        background: #f90;
        color: #111;
      }

      .light-mode #addReviewModal .btn-close {
        filter: none;
        opacity: 0.8;
      }

      /* Dosya seç butonu - "Dosyaları seç" yazısı okunabilir olsun */
      #addReviewModal input[type="file"]::file-selector-button {
        padding: 0.35rem 0.75rem;
        margin-inline-end: 0.75rem;
        background: #444;
        color: #fff;
        border: 1px solid #666;
        border-radius: 0.25rem;
        font-weight: 500;
        cursor: pointer;
      }
      .light-mode #addReviewModal input[type="file"]::file-selector-button {
        background: #e9ecef;
        color: #212529;
        border-color: #dee2e6;
      }
      #addReviewModal input[type="file"] {
        color: inherit;
      }

      /* Fotoğraf bilgi yazısı - daha okunabilir renk */
      #addReviewModal .review-image-info {
        color: #6c9bcf !important;
        font-weight: 500;
      }

      .light-mode #addReviewModal .review-image-info {
        color: #0d6efd !important;
        font-weight: 500;
      }

      #addReviewModal {
        z-index: 99991;
      }

      [data-theme="dark"] #addReviewModal .modal-content,
      body:not(.light-mode) #addReviewModal .modal-content {
        background: #111;
        color: #fff;
      }

      [data-theme="dark"] #addReviewModal .form-control,
      body:not(.light-mode) #addReviewModal .form-control {
        background: #111;
        color: #fff;
        border-color: #fff;
      }

      [data-theme="dark"] #addReviewModal .review-btn,
      body:not(.light-mode) #addReviewModal .review-btn {
        background: transparent;
        color: #f90;
        border-color: #f90;
      }

      [data-theme="dark"] #addReviewModal .review-btn:hover,
      body:not(.light-mode) #addReviewModal .review-btn:hover {
        background: #f90;
        color: #111;
      }

      [data-theme="dark"] #addReviewModal .btn-close,
      body:not(.light-mode) #addReviewModal .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%);
        opacity: 0.8;
      }

      /* Fullscreen Viewer */
      .fullscreen-viewer {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        z-index: 99999;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        user-select: none;
        -webkit-user-select: none;
      }
      .fullscreen-viewer.active {
        display: flex;
      }
      .fullscreen-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 50%;
        background: rgba(255,255,255,0.15);
        color: #fff;
        font-size: 1.3rem;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
        backdrop-filter: blur(4px);
      }
      .fullscreen-close:hover {
        background: rgba(255,255,255,0.3);
      }
      .fullscreen-counter {
        position: absolute;
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255,255,255,0.7);
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 2px;
        z-index: 10;
      }
      .fullscreen-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        border: none;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
        color: #fff;
        font-size: 1.4rem;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s, opacity 0.2s;
        backdrop-filter: blur(4px);
      }
      .fullscreen-nav:hover {
        background: rgba(255,255,255,0.25);
      }
      .fullscreen-nav.hidden {
        opacity: 0;
        pointer-events: none;
      }
      .fullscreen-prev {
        left: 20px;
      }
      .fullscreen-next {
        right: 20px;
      }
      .fullscreen-zoom-controls {
        position: absolute;
        top: 20px;
        left: 20px;
        display: flex;
        align-items: center;
        gap: 4px;
        z-index: 10;
        background: rgba(0,0,0,0.5);
        border-radius: 10px;
        padding: 4px 8px;
        backdrop-filter: blur(8px);
      }
      .fullscreen-zoom-btn {
        width: 36px;
        height: 36px;
        border: none;
        border-radius: 8px;
        background: rgba(255,255,255,0.1);
        color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
      }
      .fullscreen-zoom-btn:hover {
        background: rgba(255,255,255,0.25);
      }
      .fullscreen-zoom-level {
        color: rgba(255,255,255,0.8);
        font-size: 0.8rem;
        font-weight: 600;
        min-width: 42px;
        text-align: center;
        letter-spacing: 0.5px;
      }
      .fullscreen-image-wrapper {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 70px 80px 100px;
        overflow: hidden;
        cursor: grab;
        touch-action: none;
      }
      .fullscreen-image-wrapper.zoomed {
        cursor: grab;
      }
      .fullscreen-image-wrapper.zoomed.dragging {
        cursor: grabbing;
      }
      .fullscreen-image-wrapper img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 4px;
        transition: opacity 0.25s ease;
        transform-origin: center center;
        will-change: transform;
      }
      .fullscreen-image-wrapper img.fading {
        opacity: 0.3;
      }
      .fullscreen-thumbnails {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        padding: 8px 12px;
        background: rgba(0,0,0,0.6);
        border-radius: 12px;
        backdrop-filter: blur(8px);
        max-width: 90vw;
        overflow-x: auto;
        z-index: 10;
      }
      .fullscreen-thumbnails::-webkit-scrollbar {
        height: 4px;
      }
      .fullscreen-thumbnails::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.3);
        border-radius: 2px;
      }
      .fullscreen-thumb {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border: 2px solid transparent;
        border-radius: 6px;
        overflow: hidden;
        cursor: pointer;
        opacity: 0.5;
        transition: all 0.2s;
      }
      .fullscreen-thumb:hover {
        opacity: 0.8;
      }
      .fullscreen-thumb.active {
        border-color: #f90;
        opacity: 1;
      }
      .fullscreen-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      @media (max-width: 768px) {
        .fullscreen-nav {
          width: 36px;
          height: 36px;
          font-size: 1.1rem;
        }
        .fullscreen-prev { left: 8px; }
        .fullscreen-next { right: 8px; }
        .fullscreen-image-wrapper {
          padding: 60px 12px 90px;
        }
        .fullscreen-thumb {
          width: 42px;
          height: 42px;
          min-width: 42px;
        }
        .fullscreen-zoom-controls {
          top: auto;
          bottom: 80px;
          left: 50%;
          transform: translateX(-50%);
        }
      }

      /* Thumbnail Navigation Styles */
      .product-thumbnails-left {
        position: relative;
        padding: 30px 0;
        width: 80px;
        /* Thumbnail genişliği kadar */
        margin: 0 auto;
      }

      .thumbnail-container {
        height: calc(80px * 5);
        overflow-y: hidden;
        position: relative;
        scroll-behavior: smooth;
        margin: 0 auto;
      }

      .thumbnail-box {
        height: 80px;
        width: 80px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .thumbnail-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
      }

      .thumbnail-box.active {
        border-color: #f90;
      }

      .thumbnail-nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 24px;
        border: none;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        transition: all 0.3s ease;
        padding: 0;
      }

      .thumbnail-nav:hover {
        background: rgba(0, 0, 0, 0.8);
      }

      .prev-thumb {
        top: -5px;
      }

      .next-thumb {
        bottom: 35px;
        /* Alt ok'u yukarı aldık */
      }

      .thumbnail-nav.disabled {
        opacity: 0.3;
        cursor: not-allowed;
      }

      .thumbnail-nav i {
        font-size: 16px;
        line-height: 1;
      }

      .product-main-image {
        position: relative;
        width: 100%;
        max-width: 1920px;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        background-color: #fafafa;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: zoom-in;
        user-select: none;
        -webkit-user-select: none;
        z-index: 2;
      }

      .product-main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        pointer-events: none;
      }

      @media (max-width: 991px) {
        .product-main-image {
          max-width: 100%;
        }
      }

      @media (max-width: 768px) {
        .product-main-image {
          max-width: 100%;
        }
      }

      /* Product Image Wrapper */
      .product-image-wrapper {
        display: flex;
        flex-direction: column;
        position: relative;
      }

      /* Progress Bar Styles */
      .progress-bar-container {
        display: none;
        width: 60%;
        height: 4px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 2px;
        margin: 15px auto 0;
        position: relative;
        z-index: 1;
        order: 2;
      }

      .progress-bar-container::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 3px;
        border: 1px solid #fff;
      }

      .progress-bar-fill {
        height: 100%;
        width: 12.5%;
        background: #f90;
        border-radius: 2px;
        transition: width 0.3s ease;
      }

      /* Light Mode Progress Bar */
      .light-mode .progress-bar-container::after {
        border-color: rgba(0, 0, 0, 0.2);
      }

      /* Dark Mode Progress Bar */
      [data-theme="dark"] .progress-bar-container::after,
      body:not(.light-mode) .progress-bar-container::after {
        border-color: rgba(255, 255, 255, 0.2);
      }

      @media screen and (max-width: 820px) {
        .product-thumbnails-left {
          display: none;
        }

        .product-image-wrapper {
          width: 100%;
          max-width: 820px;
          margin: 0 auto;
        }

        .product-image-container {
          width: 100%;
          max-width: 820px;
          margin: 0 auto;
          position: relative;
          order: 1;
        }

        .progress-bar-container {
          display: block;
          position: relative;
          margin: 15px auto 0;
          z-index: 1;
          order: 2;
        }
      }

      /* 540x720 cihazlar için progress bar'ı resme çok yakınlaştır */
      @media screen and (min-width: 540px) and (max-width: 540px) and (min-height: 720px) and (max-height: 720px) {
        .progress-bar-container {
          margin: -125px auto 0;
        }

        .product-image-wrapper {
          gap: 0;
        }
      }

      /* 768x1024 cihazlar için progress bar'ı resme çok yakınlaştır */
      @media screen and (min-width: 768px) and (max-width: 768px) and (min-height: 1024px) and (max-height: 1024px) {
        .progress-bar-container {
          margin: -150px auto 0;
        }

        .product-image-wrapper {
          gap: 0;
        }
      }

      /* 1024x1366 ve benzeri tablet cihazlar için */
      @media screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 1366px) {
        .product-main-image {
          max-width: 600px;
        }
      }

      /* 1024px genişliğindeki tüm cihazlar için */
      @media screen and (min-width: 1024px) and (max-width: 1024px) {
        .product-main-image {
          max-width: 700px;
        }
      }

      /* Fiyat ve Beden Tablosu Container */
      .price-size-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
      }

      .price-size-container .product-prices-wrap {
        display: flex;
        align-items: baseline;
        gap: 0.75rem;
        flex-wrap: wrap;
      }

      /* Üstü çizili (eski) fiyat - ürün detay sayfası */
      .price-size-container .product-price-old {
        text-decoration: line-through;
        color: var(--text-muted);
        font-size: 1.35rem;
        font-weight: 500;
      }

      .price-size-container .product-price {
        margin: 0;
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary-color);
      }

      .price-size-container .size-guide {
        margin: 0;
      }

      .size-guide-modal { z-index: 99990 !important; }
      .size-guide-modal + .modal-backdrop,
      .modal-backdrop.show { z-index: 99989 !important; }

      @media (max-width: 768px) {
        .price-size-container {
          flex-direction: column;
          align-items: flex-start;
          gap: 1rem;
        }
        
        .price-size-container .product-price-old {
          font-size: 1.15rem;
        }
        
        .price-size-container .product-price {
          font-size: 1.5rem;
        }
      }

      /* Upgrade Section Styles */
      .upgrade-section {
        padding: 30px 0;
        background: var(--bg-color);
      }

      .upgrade-section h2 {
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        color: var(--text-color);
      }

      .upgrade-item {
        padding: 1rem;
        transition: transform 0.3s ease;
      }

      .upgrade-item a {
        text-decoration: none;
        color: inherit;
        display: block;
      }

      .upgrade-item:hover {
        transform: translateY(-5px);
      }

      .upgrade-item img {
        max-width: 100%;
        height: auto;
        margin-bottom: 1rem;
        max-height: 250px;
        object-fit: contain;
      }

      .upgrade-item h3 {
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
        color: var(--text-color);
      }

      .upgrade-item .price {
        font-size: 1.1rem;
        font-weight: 600;
        color: #f90;
        margin-bottom: 0;
      }

      .upgrade-item .price .price-old {
        text-decoration: line-through;
        color: var(--text-muted, #999);
        font-weight: 500;
        margin-right: 0.35rem;
      }

      .upgrade-item .price .price-current {
        color: #f90;
      }

      @media screen and (max-width: 768px) {
        .tab-buttons {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 10px;
        }

        .upgrade-section {
          padding: 20px 0;
        }

        .upgrade-section h2 {
          font-size: 1.5rem;
          margin-bottom: 1rem;
        }

        .upgrade-item {
          padding: 0.75rem;
          margin-bottom: 1rem;
        }
        
        .upgrade-item img {
          max-height: 200px;
        }
        
        .upgrade-item h3 {
          font-size: 1rem;
        }
        
        .upgrade-item .price {
          font-size: 1rem;
        }
        
        .product-video-section {
          padding: 40px 0 !important;
        }
        
        .product-video-section .section-title {
          font-size: 1.25rem !important;
          margin-bottom: 20px !important;
        }
        
        .video-container {
          padding: 0 10px !important;
        }
      }
