
.product-box {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--container-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
  }

  .product-page {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 1rem;
  }

  .product-image {
    flex: 1;
    min-width: 300px;
  }

  .product-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
    object-fit: contain;
    aspect-ratio: 1;
  }

  .product-image img:hover {
    transform: scale(1.02);
  }

  .product-details {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: var(--spacing-sm);
    letter-spacing: -0.5px;
  }

  .product-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: var(--spacing-xl);
    max-width: 65ch;
  }

  .button-group {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
  }

 

  /* ───── Colour-picker controls (keep) ───────────────────────── */
  .top-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  .color-selection {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--container-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 0.5rem 1rem;
  }

  .color-selection h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
  }

  .color-circles {
    display: flex;
    gap: 0.8rem;
  }

  .color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .color-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .color-name {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .color-circle:hover .color-name {
    opacity: 1;
  }

  @media (max-width: 768px) {
    .top-controls {
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
    }

    .color-selection {
      width: 100%;
      justify-content: flex-start;
    }
  }

  /* ───── Gallery & light-box ─────────────────────────────────── */
  .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    margin: 2.5rem 0;
  }

  .gallery-img {
    width: 320px;
    height: 320px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s;
    background: #f8f8f8;
  }

  .gallery-img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .color-gallery .product-title {
    font-size: 1.5rem;
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    color: #222;
  }

  .lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    backdrop-filter: blur(8px);
  }

  .lightbox.active {
    display: flex;
  }

  .lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: zoom-in;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform-origin: center;
  }

  .lightbox.zoomed img {
    transform: scale(2.5);
    cursor: zoom-out;
    transform-origin: var(--x) var(--y);
  }

  .close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 2001;
  }

  .close-lightbox::before,
  .close-lightbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background: white;
    transform-origin: center;
  }

  .close-lightbox::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .close-lightbox::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* ───── Responsive tweaks for search bar (header removed) ───── */
  @media (max-width: 768px) {
    .search-container {
      order: 3;
      margin: 1rem 0;
      width: 100%;
    }

    .search-box,
    .search-input {
      width: 100%;
    }
  }

  