// Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 import styled from 'styled-components'; import Button from '../components/Button'; export const ProductDetail = styled.div` ${({ theme }) => theme.breakpoints.desktop} { padding: 100px; } `; export const Container = styled.div` display: grid; grid-template-columns: 1fr; gap: 28px; ${({ theme }) => theme.breakpoints.desktop} { grid-template-columns: 40% 60%; } `; export const Image = styled.div<{ $src: string }>` width: 100%; height: 150px; background: url(${({ $src }) => $src}) no-repeat center; background-size: 100% auto; ${({ theme }) => theme.breakpoints.desktop} { height: 500px; background-position: top; } `; export const Details = styled.div` display: flex; flex-direction: column; gap: 16px; padding: 0 20px; `; export const AddToCart = styled(Button)` display: flex; align-items: center; gap: 10px; justify-content: center; width: 100%; font-size: ${({ theme }) => theme.sizes.dSmall}; font-weight: ${({ theme }) => theme.fonts.regular}; ${({ theme }) => theme.breakpoints.desktop} { font-size: ${({ theme }) => theme.sizes.dMedium}; width: 220px; } `; export const Name = styled.h5` font-size: ${({ theme }) => theme.sizes.dMedium}; margin: 0; ${({ theme }) => theme.breakpoints.desktop} { font-size: ${({ theme }) => theme.sizes.dLarge}; } `; export const Text = styled.p` margin: 0; `; export const Description = styled(Text)` margin: 0; color: ${({ theme }) => theme.colors.textLightGray}; font-weight: ${({ theme }) => theme.fonts.regular}; ${({ theme }) => theme.breakpoints.desktop} { font-size: ${({ theme }) => theme.sizes.dMedium}; } `; export const ProductPrice = styled(Text)` font-weight: ${({ theme }) => theme.fonts.bold}; ${({ theme }) => theme.breakpoints.desktop} { font-size: ${({ theme }) => theme.sizes.dLarge}; } `;