import React from 'react';

interface ProductTabsProps {
  children: React.ReactNode;
  technicalData?: React.ReactNode;
}

export default function ProductTabs({ children, technicalData }: ProductTabsProps) {
  return (
    <div className="space-y-24">
      <div className="max-w-none">
        {children}
      </div>

      {technicalData && (
        <div className="pt-24 border-t-2 border-neutral-dark/5">
          <div className="mb-16">
            <h2 className="text-4xl md:text-5xl font-black text-primary tracking-tighter uppercase mb-4">Technical Specifications</h2>
            <div className="h-1.5 w-24 bg-accent rounded-full" />
          </div>
          <div className="not-prose">
            {technicalData}
          </div>
        </div>
      )}
    </div>
  );
}
