 /** {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }


    html, body {
      font-family: 'Inter', sans-serif;
      background-color: var(--background);
      color: var(--foreground);
      line-height: 1.6;
      margin: 0;
      min-height: 100vh;

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    @media (min-width: 1024px) {
      .container {
        padding: 0 2rem;
      }
    }
*/

   /* :root {
      --background: #ffffff;
      --foreground: #0f172a;
      --primary: #3b82f6;
      --primary-light: #60a5fa;
      --secondary: #8b5cf6;
      --secondary-light: #a78bfa;
      --primary-foreground: #ffffff;
      --muted: #f1f5f9;
      --muted-foreground: #64748b;
      --border: #e2e8f0;
      --hero-bg: #0f172a;
      --hero-foreground: #f8fafc;
      --destructive: #ef4444;
      --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    }*/

    /* Breadcrumb */
    .breadcrumb-section {
      background-color: var(--muted);
      padding: 16px 0;
      border-bottom: 1px solid var(--border);
    }

    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
    }

    .breadcrumb a {
      color: var(--muted-foreground);
      text-decoration: none;
      transition: color 0.2s;
    }

    .breadcrumb a:hover {
      color: var(--primary);
    }

    .breadcrumb span {
      color: var(--muted-foreground);
    }

    .breadcrumb-current {
      color: var(--foreground);
      font-weight: 500;
    }

    /* Product Detail Section */
    .product-detail {
      padding: 32px 0 64px;
    }

    .product-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 48px;
    }

    @media (min-width: 1024px) {
      .product-layout {
        grid-template-columns: 1fr 1fr;
      }
    }

    /* Product Gallery */
    .product-gallery {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .gallery-main {
      position: relative;
      aspect-ratio: 1;
      background-color: var(--muted);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .gallery-main img {
      max-width: 80%;
      max-height: 80%;
      object-fit: contain;
      transition: transform 0.3s ease;
    }

    .gallery-main:hover img {
      transform: scale(1.05);
    }

    .gallery-badge {
      position: absolute;
      top: 16px;
      left: 16px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .badge {
      padding: 4px 12px;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
    }

    .badge-new {
      background-color: var(--success);
      color: white;
    }

    .badge-sale {
      background-color: var(--destructive);
      color: white;
    }

    .gallery-zoom {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 40px;
      height: 40px;
      background-color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.2s;
    }

    .gallery-zoom:hover {
      transform: scale(1.1);
    }

    .gallery-zoom svg {
      width: 20px;
      height: 20px;
      color: var(--foreground);
    }

    .gallery-thumbnails {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
    }

    .gallery-thumb {
      aspect-ratio: 1;
      background-color: var(--muted);
      border-radius: 8px;
      overflow: hidden;
      cursor: pointer;
      border: 2px solid transparent;
      transition: border-color 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 8px;
    }

    .gallery-thumb:hover,
    .gallery-thumb.active {
      border-color: var(--primary);
    }

    .gallery-thumb img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

    /* Product Info */
    .product-info {
      display: flex;
      flex-direction: column;
    }

    .product-brand {
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 8px;
    }

    .product-title {
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 8px;
      line-height: 1.2;
    }

    @media (min-width: 1024px) {
      .product-title {
        font-size: 2.25rem;
      }
    }

    .product-sku {
      font-size: 14px;
      color: var(--muted-foreground);
      margin-bottom: 16px;
    }

    .product-rating {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 24px;
    }

    .rating-stars {
      display: flex;
      gap: 2px;
    }

    .rating-stars svg {
      width: 18px;
      height: 18px;
    }

    .rating-stars svg.filled {
      color: #f59e0b;
    }

    .rating-stars svg.empty {
      color: var(--border);
    }

    .rating-count {
      font-size: 14px;
      color: var(--muted-foreground);
    }

    .product-price-box {
      background-color: var(--muted);
      padding: 20px;
      border-radius: 12px;
      margin-bottom: 24px;
    }

    .price-label {
      font-size: 12px;
      color: var(--muted-foreground);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 4px;
    }

    .price-row {
      display: flex;
      align-items: baseline;
      gap: 12px;
    }

    .current-price {
      font-size: 2rem;
      font-weight: 700;
      color: var(--foreground);
    }

    .original-price {
      font-size: 1.25rem;
      color: var(--muted-foreground);
      text-decoration: line-through;
    }

    .discount-badge {
      background-color: var(--destructive);
      color: white;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 600;
    }

    .stock-status {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      font-size: 14px;
    }

    .stock-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
    }

    .stock-dot.in-stock {
      background-color: var(--success);
    }

    .stock-dot.low-stock {
      background-color: #f59e0b;
    }

    .stock-dot.out-of-stock {
      background-color: var(--destructive);
    }

    .product-descriptions {
      font-size: 15px;
      color: var(--muted-foreground);
      margin-bottom: 30px;
      line-height: 1.7;
    }
    .features2 img{
      padding-top: 20px;
      max-width:100%;
      height: 100%;
      flex-shrink: 5;
    }
    .product-features {
      margin-bottom: 32px;
    }

    .product-features h3 {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .feature-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .feature-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
    }

    .feature-item svg {
      width: 18px;
      height: 18px;
      color: var(--success);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .features{
      max-width:100%;
      height: 100%;
      flex-shrink: 5;
    }

    .product-actions {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 32px;
    }

    @media (min-width: 640px) {
      .product-actions {
        flex-direction: row;
      }
    }


    .btn-large {
      padding: 16px 32px;
      font-size: 16px;
      border-radius: 8px;
      flex: 1;
    }

    .btn-large svg {
      width: 20px;
      height: 20px;
    }

    .product-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      padding-top: 24px;
      border-top: 1px solid var(--border);
    }

    .meta-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: var(--muted-foreground);
    }

    .meta-item svg {
      width: 18px;
      height: 18px;
    }

    /* Specifications Section */
    .specs-section {
      padding: 64px 0;
      background-color: var(--muted);
    }

    .specs-header {
      text-align: center;
      margin-bottom: 48px;
    }

    .specs-header h2 {
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 8px;
    }

    @media (min-width: 1024px) {
      .specs-header h2 {
        font-size: 2rem;
      }
    }

    .specs-header p {
      color: var(--muted-foreground);
    }

    .specs-tabs {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-bottom: 32px;
      flex-wrap: wrap;
    }

    /*.specs-tab {
      padding: 10px 24px;
      background-color: transparent;
      border: 1px solid var(--border);
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }*/

    .specs-tab {
      padding: 10px 24px;
      background-color: transparent;
      border: 1px solid var(--border);
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }


    .specs-tab:hover,
    .specs-tab.active {
      background: var(--gradient-primary);
      color: white;
      border-color: transparent;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    }
   /* .specs-tab:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .specs-tab.active {
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      border-color: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      color: white;
    }*/



    .specs-content {
      background-color: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    }

    .specs-table {
      width: 100%;
    }

    .specs-row {
      display: grid;
      grid-template-columns: 1fr;
      border-bottom: 1px solid var(--border);
    }

    @media (min-width: 640px) {
      .specs-row {
        grid-template-columns: 200px 1fr;
      }
    }

    .specs-row:last-child {
      border-bottom: none;
    }

    .specs-label {
      padding: 16px 24px;
      font-weight: 600;
      font-size: 14px;
      background-color: var(--muted);
    }

    @media (min-width: 640px) {
      .specs-label {
        border-right: 1px solid var(--border);
      }
    }

    .specs-value {
      padding: 16px 24px;
      font-size: 14px;
      color: var(--muted-foreground);
    }

    .specs-panel {
      display: none;
    }

    .specs-panel.active {
      display: block;
    }

    /* Related Products */
    .related-section {
      padding: 64px 0;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 32px;
    }

    .section-header h2 {
      font-size: 1.5rem;
      font-weight: 700;
    }

    @media (min-width: 1024px) {
      .section-header h2 {
        font-size: 1.75rem;
      }
    }

    .view-all-link {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 500;
      color: var(--primary);
      text-decoration: none;
      transition: gap 0.2s;
    }

    .view-all-link:hover {
      gap: 10px;
    }

    .view-all-link svg {
      width: 16px;
      height: 16px;
    }

    .related-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }

    @media (min-width: 640px) {
      .related-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1024px) {
      .related-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    .related-card {
      background-color: white;
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s;
    }

    .related-card:hover {
      border-color: var(--primary);
      box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.15);
      transform: translateY(-4px);
    }

    .related-image {
      aspect-ratio: 1;
      background-color: var(--muted);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      position: relative;
    }

    .related-image img {
      max-width: 80%;
      max-height: 80%;
      object-fit: contain;
    }

    .related-badge {
      position: absolute;
      top: 12px;
      left: 12px;
    }

    .related-content {
      padding: 16px;
    }

    .related-brand {
      font-size: 12px;
      color: var(--primary);
      font-weight: 600;
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .related-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .related-title a {
      color: var(--foreground);
      text-decoration: none;
      transition: color 0.2s;
    }

    .related-title a:hover {
      color: var(--primary);
    }

    .related-price {
      font-size: 16px;
      font-weight: 700;
      color: var(--foreground);
    }

    /* Lightbox Modal */
    .lightbox {
      position: fixed;
      inset: 0;
      background-color: rgba(0,0,0,0.9);
      z-index: 200;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .lightbox.active {
      display: flex;
    }

    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 48px;
      height: 48px;
      background-color: rgba(255,255,255,0.1);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.2s;
    }

    .lightbox-close:hover {
      background-color: rgba(255,255,255,0.2);
    }

    .lightbox-close svg {
      width: 24px;
      height: 24px;
      color: white;
    }

    .lightbox-image {
      max-width: 90%;
      max-height: 90vh;
      object-fit: contain;
    }

    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      background-color: rgba(255,255,255,0.1);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.2s;
    }

    .lightbox-nav:hover {
      background-color: rgba(255,255,255,0.2);
    }

    .lightbox-nav svg {
      width: 24px;
      height: 24px;
      color: white;
    }

    .lightbox-prev {
      left: 20px;
    }

    .lightbox-next {
      right: 20px;
    }


    /* Base image */
.zoomable {
    width: 100%;
    max-width: 100%;
    height: auto;
    cursor: zoom-in;
    border-radius: 8px;
}

/* Overlay */
#imageZoomOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 12px; /* mobile safe spacing */
}


/* Zoomed image */
#zoomedImage {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 12px;
    object-fit: contain;

    /* Touch support */
    touch-action: pinch-zoom;
    transform-origin: center;
    transition: transform 0.25s ease;
}

/* Desktop hover hint */
@media (hover: hover) {
    .zoomable:hover {
        transform: scale(1.02);
    }
}

.hr-accent {
  border: none;
  height: 2px;
  margin: 14px 0;
  background: linear-gradient(
    to right,
    #3b82f6,
    #8b5cf6
  );
  border-radius: 2px;
}

    /* --- FIX SPECS CENTERING --- 
.specs-table,
.specs-row,
.specs-label,
.specs-value {
    text-align: left !important;
    justify-content: flex-start !important;
}

.specs-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.specs-label {
    width: 40%;
    font-weight: 600;
}

.specs-value {
    width: 60%;
}
*/