      /* ==============================================================
        PRODUCT DETAIL PAGE – PURE CSS (MOBILE-FIRST + FULL RESPONSIVE)
        ============================================================== */

      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        font-family: Arial, sans-serif;
        background: #f9fafb;
      }
      html.dark {
        background: #0f172a;
        color: #e2e8f0;
      }

      .product-detail-section {
        padding: 2rem 0;
      }
      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 0.5rem;
        font-size: 12px;
      }

      /* --------------------------------------------------------------
        Breadcrumb
      -------------------------------------------------------------- */
      .breadcrumb {
        font-size: 0.875rem;
        color: #6b7280;
        margin-bottom: 1rem;
      }
      .breadcrumb a {
        color: #16a34a;
        text-decoration: none;
      }
      .breadcrumb a:hover {
        text-decoration: underline;
      }
      .separator {
        margin: 0 0.5rem;
      }

      /* --------------------------------------------------------------
        Layout – Mobile first (column) → Desktop (row)
        -------------------------------------------------------------- */
      .product-layout {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
      }
      .image-gallery,
      .product-info {
        width: 100%;
      }

      /* Tablet */
      @media (min-width: 640px) {
        .product-layout {
          gap: 2rem;
        }
      }

      /* Desktop */
      @media (min-width: 1024px) {
        .product-layout {
          flex-direction: row;
        }
        .image-gallery,
        .product-info {
          width: 50%;
        }
      }

      /* --------------------------------------------------------------
        Image Gallery
        -------------------------------------------------------------- */
      .image-gallery {
        background: #fff;
        border-radius: 0.5rem;
        padding: 1rem;
      }
      .dark .image-gallery {
        background: #1e293b;
      }

      .main-image-container {
        margin-bottom: 0.75rem;
        overflow: hidden;
        border-radius: 0.5rem;
      }
      .main-image {
        width: 100%;
        height: 280px;
        object-fit: cover;
        display: block;
      }
      @media (min-width: 640px) {
        .main-image {
          height: 400px;
        }
      }
      @media (min-width: 1024px) {
        .main-image {
          height: 600px;
        }
      }

      .thumbnails {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.25rem;
      }
      .thumbnails::-webkit-scrollbar {
        height: 6px;
      }
      .thumbnails::-webkit-scrollbar-thumb {
        background: #9ca3af;
        border-radius: 3px;
      }
      .dark .thumbnails::-webkit-scrollbar-thumb {
        background: #475569;
      }

      .thumbnail {
        flex: 0 0 4rem;
        height: 4rem;
        object-fit: cover;
        border: 2px solid #e5e7eb;
        border-radius: 0.5rem;
        cursor: pointer;
        transition: border 0.2s;
      }
      .thumbnail:hover {
        border-color: #16a34a;
      }
      .dark .thumbnail {
        border-color: #334155;
      }
      .dark .thumbnail:hover {
        border-color: #86efac;
      }

      /* --------------------------------------------------------------
        Product Info
        -------------------------------------------------------------- */
      .product-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #111827;
        margin-bottom: 0.75rem;
      }
      @media (min-width: 640px) {
        .product-title {
          font-size: 1.875rem;
        }
      }
      .dark .product-title {
        color: #f1f5f9;
      }

      .price-section {
        margin-bottom: 1rem;
        font-size: 1.25rem;
        font-weight: 700;
      }
      .current-price {
        color: #16a34a;
      }
      .dark .current-price {
        color: #86efac;
      }
      .original-price {
        text-decoration: line-through;
        color: #9ca3af;
        margin-left: 0.5rem;
        font-size: 1rem;
      }
      .savings {
        color: #dc2626;
        font-size: 0.875rem;
        margin-left: 0.5rem;
      }

      .condition,
      .seller {
        color: #6b7280;
        margin-bottom: 0.75rem;
      }
      .dark .condition,
      .dark .seller {
        color: #94a3b8;
      }
      .condition strong,
      .seller-link {
        color: #111827;
        font-weight: 600;
      }
      .dark .condition strong,
      .dark .seller-link {
        color: #f1f5f9;
      }
      .seller-link:hover {
        text-decoration: underline;
      }
      .rating {
        color: #f59e0b;
      }

      /* --------------------------------------------------------------
        Promotion
        -------------------------------------------------------------- */
      .promotion-box {
        background: #ecfdf5;
        border: 1px solid #86efac;
        border-radius: 0.5rem;
        padding: 0.75rem;
        margin-bottom: 1rem;
      }
      .dark .promotion-box {
        background: #064e3b;
        border-color: #34d399;
      }
      .promotion-title {
        color: #166534;
        font-weight: 600;
        margin-bottom: 0.25rem;
      }
      .dark .promotion-title {
        color: #86efac;
      }
      .promotion-text {
        color: #166534;
      }
      .dark .promotion-text {
        color: #d1fae5;
      }

      /* --------------------------------------------------------------
      Action Buttons
      -------------------------------------------------------------- */
      /* Mobile: Only the buttons float at bottom */
@media (max-width: 639px) {
  .sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    gap: 0.75rem;
    border-radius: 0;
  }

  .dark .sticky-action-bar {
    background: #1e293b;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
  }

  .sticky-action-bar .btn {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
  }

  /* Add bottom padding so content isn't hidden behind floating bar */
  .product-detail-section > .container {
    padding-bottom: 100px;
  }

  /* Optional: Add some space below variants so they don't touch buttons when scrolling */
  .variant-selector {
    margin-bottom: 1.5rem;
  }
}
      .btn {
        flex: 1 1 100%;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        font-weight: 500;
        text-align: center;
        text-decoration: none;
        transition: background 0.2s;
        font-size: 1rem;
      }
      @media (min-width: 640px) {
        .btn {
          flex: 0 1 auto;
        }
      }
      .btn-primary {
        background: #16a34a;
        color: #fff;
      }
      .btn-primary:hover {
        background: #059669;
      }
      .btn-success {
        background: #15803d;
        color: #fff;
      }
      .btn-success:hover {
        background: #166534;
      }

      /* --------------------------------------------------------------
      Section Titles & Text
      -------------------------------------------------------------- */
      .section-title {
        font-size: 1.125rem;
        font-weight: 600;
        margin: 1.5rem 0 0.75rem;
        color: #111827;
      }
      .dark .section-title {
        color: #f1f5f9;
      }

      .description-text,
      .shipping-text,
      .return-policy,
      .no-reviews,
      .no-qa,
      .no-related {
        color: #6b7280;
        line-height: 1.6;
        font-s
      }
      .dark .description-text,
      .dark .shipping-text,
      .dark .return-policy,
      .dark .no-reviews,
      .dark .no-qa,
      .dark .no-related {
        color: #94a3b8;
      }

      /* --------------------------------------------------------------
        Specifications Table
        -------------------------------------------------------------- */
      .specs-table {
        width: 100%;
        border-collapse: collapse;
      }
      .specs-table tr {
        border-bottom: 1px solid #e5e7eb;
      }
      .dark .specs-table tr {
        border-color: #334155;
      }
      .spec-key {
        padding: 0.5rem 0;
        font-weight: 600;
        color: #374151;
        text-transform: capitalize;
      }
      .dark .spec-key {
        color: #e2e8f0;
      }
      .spec-value {
        padding: 0.5rem 0;
        color: #6b7280;
      }
      .dark .spec-value {
        color: #94a3b8;
      }

      /* --------------------------------------------------------------
        Reviews
        -------------------------------------------------------------- */
      .review-item {
        background: #f9fafb;
        padding: 0.75rem;
        border-radius: 0.5rem;
        margin-bottom: 1rem;
      }
      .dark .review-item {
        background: #1e293b;
      }
      .reviewer {
        font-weight: 600;
        color: #111827;
        margin-bottom: 0.25rem;
      }
      .dark .reviewer {
        color: #f1f5f9;
      }
      .review-comment {
        color: #6b7280;
        margin-bottom: 0.25rem;
      }
      .dark .review-comment {
        color: #94a3b8;
      }
      .review-date {
        font-size: 0.75rem;
        color: #9ca3af;
      }
      .dark .review-date {
        color: #6b7280;
      }
      .see-all-link,
      .ask-link {
        color: #16a34a;
        font-size: 0.875rem;
        text-decoration: none;
      }
      .see-all-link:hover,
      .ask-link:hover {
        text-decoration: underline;
      }

      /* --------------------------------------------------------------
        Q&A
        -------------------------------------------------------------- */
            .qa-item {
        margin-bottom: 1rem;
      }
      .question,
      .answer {
        margin: 0.25rem 0;
      }
      .no-answer {
        font-style: italic;
        color: #9ca3af;
      }
      .dark .no-answer {
        color: #6b7280;
      }

      /* --------------------------------------------------------------
      Related Products
      -------------------------------------------------------------- */
      .related-products {
        margin-top: 2rem;
      }
      .related-grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        padding-bottom: 1rem;
      }
      .related-grid::-webkit-scrollbar {
        height: 8px;
      }
      .related-grid::-webkit-scrollbar-thumb {
        background: #9ca3af;
        border-radius: 4px;
      }
      .dark .related-grid::-webkit-scrollbar-thumb {
        background: #475569;
      }

      .related-card {
        flex: 0 0 11rem;
        background: #fff;
        border-radius: 0.5rem;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        transition: all 0.3s;
        text-decoration: none;
        color: inherit;
      }
      .dark .related-card {
        background: #1e293b;
      }
      .related-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      }
      .related-img {
        width: 100%;
        height: 9rem;
        object-fit: cover;
      }
      .related-info {
        padding: 0.5rem;
      }
      .related-name {
        font-size: 0.875rem;
        font-weight: 500;
        color: #111827;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .dark .related-name {
        color: #f1f5f9;
      }
      .related-price {
        font-weight: 700;
        color: #16a34a;
      }
      .dark .related-price {
        color: #86efac;
      }

      /* --------------------------------------------------------------
        Dark Mode Root
        -------------------------------------------------------------- */
      html.dark .product-detail-section {
        background: #0f172a;
      }
    