Product shop page
A single-product shop page: the gallery follows the chosen color, the buy box stays in view, and Add to bag fills with a confirmation.
"use client";
import { useEffect, useRef, useState, type CSSProperties } from "react";
import "./product-page.css";
/**
* ProductPage: a single-product shop page for a daypack ("Ridge 22").
* Its signature: a gallery that follows the chosen color, and a buy box
* that stays in view on wide screens while the details scroll past.
*/
const COLORS = [
{
id: "rust",
label: "Rust",
swatch: "#b4471f",
image: "/images/landing-product-pack-01.jpg",
},
{
id: "slate",
label: "Slate",
swatch: "#3d4148",
image: "/images/landing-product-pack-02.jpg",
},
] as const;
const EXTRA = [
{
id: "detail",
label: "Zip and fabric close-up",
image: "/images/landing-product-detail-03.jpg",
alt: "Close-up of the waterproof zip and the ripstop fabric",
},
{
id: "trail",
label: "On the trail",
image: "/images/landing-product-trail-04.jpg",
alt: "A hiker seen from behind wearing the pack on a rocky mountain trail",
},
];
const SPECS = [
{ q: "Size and weight", a: "22 litres. 48 × 29 × 18 cm. 840 g empty." },
{
q: "Materials",
a: "Recycled 210D ripstop with a PFC-free water-repellent finish. YKK AquaGuard zips.",
},
{
q: "What fits inside",
a: "A 16-inch laptop, a 1-litre bottle on each side, a rain shell and lunch, with room left.",
},
{
q: "Shipping and returns",
a: "Free shipping over €80. Returns are free for 60 days, even if you used it.",
},
];
const RATINGS = [
{ stars: 5, share: 82 },
{ stars: 4, share: 13 },
{ stars: 3, share: 3 },
{ stars: 2, share: 1 },
{ stars: 1, share: 1 },
];
/** Photo with a toned placeholder underneath until the file exists. */
function Photo({ src, alt, tone }: { src: string; alt: string; tone: string }) {
const img = useRef<HTMLImageElement>(null);
const [missing, setMissing] = useState(false);
useEffect(() => {
const el = img.current;
if (el && el.complete && el.naturalWidth === 0) setMissing(true);
}, []);
return (
<div className="gu-shop__photo" style={{ "--tone": tone } as CSSProperties}>
{!missing && (
<img ref={img} src={src} alt={alt} onError={() => setMissing(true)} />
)}
</div>
);
}
export function ProductPage() {
const [color, setColor] = useState<(typeof COLORS)[number]["id"]>("rust");
const [view, setView] = useState("main");
const [added, setAdded] = useState(false);
const [count, setCount] = useState(0);
const c = COLORS.find((x) => x.id === color)!;
const extra = EXTRA.find((x) => x.id === view);
const mainSrc = extra ? extra.image : c.image;
const mainAlt = extra
? extra.alt
: `Ridge 22 daypack in ${c.label}, front three-quarter view`;
const add = () => {
setAdded(true);
setCount((n) => n + 1);
window.setTimeout(() => setAdded(false), 2200);
};
return (
<div className="gu-shop">
<nav className="gu-shop__nav" aria-label="Main">
<a href="#" className="gu-shop__logo">
Ridgeline
</a>
<a href="#">Packs</a>
<a href="#">Journal</a>
<a href="#" className="gu-shop__bag">
Bag <span>{count}</span>
</a>
</nav>
<div className="gu-shop__main">
<section className="gu-shop__gallery" aria-label="Product photos">
<Photo
key={mainSrc}
src={mainSrc}
alt={mainAlt}
tone={extra ? "#57534b" : c.swatch}
/>
<div
className="gu-shop__thumbs"
role="group"
aria-label="Choose a photo"
>
<button
type="button"
aria-pressed={view === "main"}
onClick={() => setView("main")}
>
<Photo key={c.image} src={c.image} alt="" tone={c.swatch} />
<span className="gu-shop__sr">Front view in {c.label}</span>
</button>
{EXTRA.map((x) => (
<button
key={x.id}
type="button"
aria-pressed={view === x.id}
onClick={() => setView(x.id)}
>
<Photo src={x.image} alt="" tone="#57534b" />
<span className="gu-shop__sr">{x.label}</span>
</button>
))}
</div>
</section>
<section className="gu-shop__buy" aria-labelledby="gu-shop-title">
<p className="gu-shop__kicker">Everyday and day-hike pack</p>
<h1 id="gu-shop-title">Ridge 22</h1>
<p className="gu-shop__price">€149</p>
<p className="gu-shop__lede">
One pack for the commute and the Saturday hike. It sheds rain,
carries a laptop flat against your back and weighs less than a bag
of flour.
</p>
<fieldset className="gu-shop__colors">
<legend>
Color: <b>{c.label}</b>
</legend>
{COLORS.map((x) => (
<label key={x.id} style={{ "--sw": x.swatch } as CSSProperties}>
<input
type="radio"
name="gu-shop-color"
value={x.id}
checked={color === x.id}
onChange={() => {
setColor(x.id);
setView("main");
}}
/>
<span className="gu-shop__sr">{x.label}</span>
</label>
))}
</fieldset>
<button
type="button"
className={`gu-shop__add ${added ? "is-added" : ""}`}
onClick={add}
>
<span>{added ? "Added to your bag" : "Add to bag"}</span>
</button>
<p className="gu-shop__sr" role="status">
{added ? `Ridge 22 in ${c.label} added to your bag` : ""}
</p>
<ul className="gu-shop__perks">
<li>Free shipping over €80</li>
<li>60-day returns, used or not</li>
<li>10-year repair guarantee</li>
</ul>
<div className="gu-shop__specs">
{SPECS.map((s, i) => (
<details key={s.q} open={i === 0}>
<summary>{s.q}</summary>
<p>{s.a}</p>
</details>
))}
</div>
</section>
</div>
<section className="gu-shop__reviews" aria-labelledby="gu-shop-reviews">
<div className="gu-shop__score">
<h2 id="gu-shop-reviews">What owners say</h2>
<p>
<strong>4.8</strong> out of 5, from 1,236 reviews
</p>
<ul aria-label="Rating breakdown">
{RATINGS.map((r) => (
<li key={r.stars}>
<span>{r.stars} stars</span>
<span className="gu-shop__bar" aria-hidden="true">
<i style={{ width: `${r.share}%` }} />
</span>
<span>{r.share}%</span>
</li>
))}
</ul>
</div>
<div className="gu-shop__quotes">
<blockquote>
<p>
“Three winters of bike commuting in Glasgow and my laptop
has never been wet.”
</p>
<footer>Callum, owned for 3 years</footer>
</blockquote>
<blockquote>
<p>
“The side pockets actually hold a bottle when the pack is
full. Small thing, rare thing.”
</p>
<footer>Inès, owned for 8 months</footer>
</blockquote>
</div>
</section>
<footer className="gu-shop__foot">
<span>© 2026 Ridgeline Outdoor</span>
<a href="#">Shipping</a>
<a href="#">Repairs</a>
</footer>
</div>
);
}
Paste this into ChatGPT, Claude, Cursor, v0, Lovable or Bolt. It describes the layout, motion, colors and accessibility and includes the code, so the AI can rebuild it in any framework.
# Build this UI piece: Product shop page
You are a senior front-end engineer. Recreate the piece below in my project. If I don't say which framework I use, ask once, then build it in that framework (React, Vue, Svelte, Angular, Astro, plain HTML/CSS/JS or anything else). Keep the behavior, motion, colors, spacing and accessibility exactly as described. Keep the code clean and commented for beginners.
## What it is
A light shop page for one product, a 22-litre daypack ("Ridge 22" by Ridgeline). Its signature: the photo gallery follows the chosen color, and on wide screens the buy box stays in view while the gallery scrolls past. Sections: nav with a bag counter, gallery (main photo and three thumbnails), buy box (name, price, short pitch, color swatches, Add to bag, three perks, spec accordion), a dark reviews band with a rating breakdown and two quotes, and a footer.
## Palette
Background #f3eee3, surface #fbf8f2, text #0e0e10, muted #57534b, lines rgba(14,14,16,0.14), accent #ff5a1f (rating bars, perk dots), lime #d7ff3a (the "Added" fill), focus #2b35ff. Product swatches: Rust #b4471f, Slate #3d4148.
## Layout
- Root uses container queries (container-type: inline-size) and overflow-x: clip, so the buy box can stick. Side padding 5%.
- At ≥760px two columns (1.15fr gallery, 1fr buy box); the buy box is `position: sticky; top: 24px`. On phones the buy box follows the gallery.
- Gallery: main photo 4:5 with a 24px radius; below it three square thumbnails (front view in the current color, zip close-up, on the trail). The selected thumbnail gets a two-ring outline; the others sit at 60% opacity.
- Buy box: a small kicker, the name up to 6rem (weight 900), price 1.6rem, a 40ch pitch, a color fieldset of round 32px swatches inside 44px hit areas (the selected one gets a ring), a full-width 56px "Add to bag" button, three perks with orange dots, and an accordion of four specs using native details/summary with a + that turns into ×.
- Reviews: ink band, two columns at ≥760px: a giant "4.8", a 5-to-1-star breakdown with bars and percentages, then two customer quotes.
## Images
Four photos: the pack in Rust and in Slate (same angle and framing, 1200×1500), a zip and fabric close-up, and a hiker wearing it on a trail. Until a file exists, each frame shows a toned gradient (the swatch color, or warm grey for the extra shots).
## Motion
- Changing color or thumbnail fades the new photo in while it settles from 1.02 scale (0.5s).
- Add to bag: a lime fill slides up from the bottom, the label becomes "Added to your bag" and the bag counter goes up by one. The button label resets after 2.2s.
- The accordion's + rotates 45°.
## Accessibility
- Colors are real radio inputs in a fieldset with a legend that names the chosen color. Thumbnails are toggle buttons with aria-pressed and hidden text labels.
- "Added to your bag" is also announced through a role="status" region.
- Specs use native details/summary, so they work with the keyboard out of the box.
- prefers-reduced-motion: photos swap instantly, and the button fill and accordion icon change without animation.
## Reference implementation
The original is written in React with one plain CSS file. Dependencies: none (plain React and CSS). Translate it faithfully; do not add new libraries unless my framework needs them.
### ProductPage.tsx
```tsx
"use client";
import { useEffect, useRef, useState, type CSSProperties } from "react";
import "./product-page.css";
/**
* ProductPage: a single-product shop page for a daypack ("Ridge 22").
* Its signature: a gallery that follows the chosen color, and a buy box
* that stays in view on wide screens while the details scroll past.
*/
const COLORS = [
{
id: "rust",
label: "Rust",
swatch: "#b4471f",
image: "/images/landing-product-pack-01.jpg",
},
{
id: "slate",
label: "Slate",
swatch: "#3d4148",
image: "/images/landing-product-pack-02.jpg",
},
] as const;
const EXTRA = [
{
id: "detail",
label: "Zip and fabric close-up",
image: "/images/landing-product-detail-03.jpg",
alt: "Close-up of the waterproof zip and the ripstop fabric",
},
{
id: "trail",
label: "On the trail",
image: "/images/landing-product-trail-04.jpg",
alt: "A hiker seen from behind wearing the pack on a rocky mountain trail",
},
];
const SPECS = [
{ q: "Size and weight", a: "22 litres. 48 × 29 × 18 cm. 840 g empty." },
{
q: "Materials",
a: "Recycled 210D ripstop with a PFC-free water-repellent finish. YKK AquaGuard zips.",
},
{
q: "What fits inside",
a: "A 16-inch laptop, a 1-litre bottle on each side, a rain shell and lunch, with room left.",
},
{
q: "Shipping and returns",
a: "Free shipping over €80. Returns are free for 60 days, even if you used it.",
},
];
const RATINGS = [
{ stars: 5, share: 82 },
{ stars: 4, share: 13 },
{ stars: 3, share: 3 },
{ stars: 2, share: 1 },
{ stars: 1, share: 1 },
];
/** Photo with a toned placeholder underneath until the file exists. */
function Photo({ src, alt, tone }: { src: string; alt: string; tone: string }) {
const img = useRef<HTMLImageElement>(null);
const [missing, setMissing] = useState(false);
useEffect(() => {
const el = img.current;
if (el && el.complete && el.naturalWidth === 0) setMissing(true);
}, []);
return (
<div className="gu-shop__photo" style={{ "--tone": tone } as CSSProperties}>
{!missing && (
<img ref={img} src={src} alt={alt} onError={() => setMissing(true)} />
)}
</div>
);
}
export function ProductPage() {
const [color, setColor] = useState<(typeof COLORS)[number]["id"]>("rust");
const [view, setView] = useState("main");
const [added, setAdded] = useState(false);
const [count, setCount] = useState(0);
const c = COLORS.find((x) => x.id === color)!;
const extra = EXTRA.find((x) => x.id === view);
const mainSrc = extra ? extra.image : c.image;
const mainAlt = extra
? extra.alt
: `Ridge 22 daypack in ${c.label}, front three-quarter view`;
const add = () => {
setAdded(true);
setCount((n) => n + 1);
window.setTimeout(() => setAdded(false), 2200);
};
return (
<div className="gu-shop">
<nav className="gu-shop__nav" aria-label="Main">
<a href="#" className="gu-shop__logo">
Ridgeline
</a>
<a href="#">Packs</a>
<a href="#">Journal</a>
<a href="#" className="gu-shop__bag">
Bag <span>{count}</span>
</a>
</nav>
<div className="gu-shop__main">
<section className="gu-shop__gallery" aria-label="Product photos">
<Photo
key={mainSrc}
src={mainSrc}
alt={mainAlt}
tone={extra ? "#57534b" : c.swatch}
/>
<div
className="gu-shop__thumbs"
role="group"
aria-label="Choose a photo"
>
<button
type="button"
aria-pressed={view === "main"}
onClick={() => setView("main")}
>
<Photo key={c.image} src={c.image} alt="" tone={c.swatch} />
<span className="gu-shop__sr">Front view in {c.label}</span>
</button>
{EXTRA.map((x) => (
<button
key={x.id}
type="button"
aria-pressed={view === x.id}
onClick={() => setView(x.id)}
>
<Photo src={x.image} alt="" tone="#57534b" />
<span className="gu-shop__sr">{x.label}</span>
</button>
))}
</div>
</section>
<section className="gu-shop__buy" aria-labelledby="gu-shop-title">
<p className="gu-shop__kicker">Everyday and day-hike pack</p>
<h1 id="gu-shop-title">Ridge 22</h1>
<p className="gu-shop__price">€149</p>
<p className="gu-shop__lede">
One pack for the commute and the Saturday hike. It sheds rain,
carries a laptop flat against your back and weighs less than a bag
of flour.
</p>
<fieldset className="gu-shop__colors">
<legend>
Color: <b>{c.label}</b>
</legend>
{COLORS.map((x) => (
<label key={x.id} style={{ "--sw": x.swatch } as CSSProperties}>
<input
type="radio"
name="gu-shop-color"
value={x.id}
checked={color === x.id}
onChange={() => {
setColor(x.id);
setView("main");
}}
/>
<span className="gu-shop__sr">{x.label}</span>
</label>
))}
</fieldset>
<button
type="button"
className={`gu-shop__add ${added ? "is-added" : ""}`}
onClick={add}
>
<span>{added ? "Added to your bag" : "Add to bag"}</span>
</button>
<p className="gu-shop__sr" role="status">
{added ? `Ridge 22 in ${c.label} added to your bag` : ""}
</p>
<ul className="gu-shop__perks">
<li>Free shipping over €80</li>
<li>60-day returns, used or not</li>
<li>10-year repair guarantee</li>
</ul>
<div className="gu-shop__specs">
{SPECS.map((s, i) => (
<details key={s.q} open={i === 0}>
<summary>{s.q}</summary>
<p>{s.a}</p>
</details>
))}
</div>
</section>
</div>
<section className="gu-shop__reviews" aria-labelledby="gu-shop-reviews">
<div className="gu-shop__score">
<h2 id="gu-shop-reviews">What owners say</h2>
<p>
<strong>4.8</strong> out of 5, from 1,236 reviews
</p>
<ul aria-label="Rating breakdown">
{RATINGS.map((r) => (
<li key={r.stars}>
<span>{r.stars} stars</span>
<span className="gu-shop__bar" aria-hidden="true">
<i style={{ width: `${r.share}%` }} />
</span>
<span>{r.share}%</span>
</li>
))}
</ul>
</div>
<div className="gu-shop__quotes">
<blockquote>
<p>
“Three winters of bike commuting in Glasgow and my laptop
has never been wet.”
</p>
<footer>Callum, owned for 3 years</footer>
</blockquote>
<blockquote>
<p>
“The side pockets actually hold a bottle when the pack is
full. Small thing, rare thing.”
</p>
<footer>Inès, owned for 8 months</footer>
</blockquote>
</div>
</section>
<footer className="gu-shop__foot">
<span>© 2026 Ridgeline Outdoor</span>
<a href="#">Shipping</a>
<a href="#">Repairs</a>
</footer>
</div>
);
}
```
### product-page.css
```css
/* ProductPage: change these colors to match your brand. */
.gu-shop {
--bg: #f3eee3;
--surface: #fbf8f2;
--text: #0e0e10;
--muted: #57534b;
--line: rgb(14 14 16 / 0.14);
--accent: #ff5a1f;
--volt: #d7ff3a;
--focus: #2b35ff;
--ease: cubic-bezier(0.16, 1, 0.3, 1);
container-type: inline-size;
/* clip (not hidden) so the buy box can stick */
overflow-x: clip;
background: var(--bg);
color: var(--text);
font-family: system-ui, sans-serif;
}
.gu-shop a {
color: inherit;
text-decoration: none;
}
.gu-shop :focus-visible {
outline: 2px solid var(--focus);
outline-offset: 3px;
}
.gu-shop h1,
.gu-shop h2,
.gu-shop p {
margin: 0;
}
.gu-shop__sr {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
.gu-shop__nav {
display: flex;
align-items: center;
gap: 22px;
padding: 16px 5%;
border-bottom: 1px solid var(--line);
font-weight: 600;
}
.gu-shop__logo {
margin-right: auto;
font-weight: 900;
font-size: 1.15rem;
letter-spacing: -0.03em;
}
.gu-shop__bag span {
display: inline-grid;
place-items: center;
min-width: 22px;
height: 22px;
margin-left: 4px;
border-radius: 999px;
background: var(--text);
color: var(--bg);
font-size: 0.75rem;
}
/* Gallery + buy box */
.gu-shop__main {
display: grid;
gap: 32px;
padding: 24px 5% 56px;
}
@container (min-width: 760px) {
.gu-shop__main {
grid-template-columns: 1.15fr 1fr;
gap: 5%;
align-items: start;
}
.gu-shop__buy {
position: sticky;
top: 24px;
}
}
.gu-shop__gallery {
display: grid;
gap: 12px;
min-width: 0;
}
.gu-shop__photo {
position: relative;
overflow: hidden;
aspect-ratio: 4 / 5;
border-radius: 24px;
background:
repeating-linear-gradient(
135deg,
rgb(255 255 255 / 0.12) 0 2px,
transparent 2px 18px
),
radial-gradient(
120% 90% at 30% 20%,
color-mix(in srgb, var(--tone) 55%, #fff),
var(--tone)
);
}
.gu-shop__photo img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
animation: gu-shop-fade 0.5s var(--ease);
}
@keyframes gu-shop-fade {
from {
opacity: 0;
transform: scale(1.02);
}
}
.gu-shop__thumbs {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
}
.gu-shop__thumbs button {
padding: 0;
border: 0;
border-radius: 16px;
background: none;
cursor: pointer;
opacity: 0.6;
transition: opacity 0.25s;
}
.gu-shop__thumbs button:hover,
.gu-shop__thumbs button[aria-pressed="true"] {
opacity: 1;
}
.gu-shop__thumbs button[aria-pressed="true"] .gu-shop__photo {
box-shadow:
0 0 0 2px var(--bg),
0 0 0 4px var(--text);
}
.gu-shop__thumbs .gu-shop__photo {
aspect-ratio: 1;
border-radius: 16px;
}
.gu-shop__kicker {
font-weight: 600;
color: var(--muted);
}
.gu-shop__buy h1 {
margin-top: 6px;
font-size: clamp(3rem, 8cqi, 6rem);
font-weight: 900;
line-height: 0.9;
letter-spacing: -0.055em;
}
.gu-shop__price {
margin-top: 10px !important;
font-size: 1.6rem;
font-weight: 800;
}
.gu-shop__lede {
max-width: 40ch;
margin-top: 16px !important;
line-height: 1.5;
color: var(--muted);
}
.gu-shop__colors {
display: flex;
gap: 12px;
margin: 24px 0 0;
padding: 0;
border: 0;
}
.gu-shop__colors legend {
margin-bottom: 10px;
padding: 0;
font-weight: 600;
}
.gu-shop__colors label {
position: relative;
display: grid;
place-items: center;
width: 44px;
height: 44px;
border-radius: 50%;
cursor: pointer;
}
.gu-shop__colors label::before {
content: "";
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--sw);
box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15);
}
.gu-shop__colors input {
position: absolute;
inset: 0;
margin: 0;
border-radius: 50%;
opacity: 0;
cursor: pointer;
}
.gu-shop__colors label:has(input:checked) {
box-shadow: inset 0 0 0 2px var(--text);
}
.gu-shop__colors label:has(input:focus-visible) {
outline: 2px solid var(--focus);
outline-offset: 2px;
}
.gu-shop__add {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 56px;
margin-top: 24px;
overflow: hidden;
border: 0;
border-radius: 999px;
background: var(--text);
color: var(--bg);
font: inherit;
font-size: 1.05rem;
font-weight: 800;
cursor: pointer;
transition: transform 0.2s var(--ease);
}
.gu-shop__add::before {
content: "";
position: absolute;
inset: 0;
background: var(--volt);
transform: translateY(101%);
transition: transform 0.45s var(--ease);
}
.gu-shop__add span {
position: relative;
}
.gu-shop__add:active {
transform: scale(0.98);
}
.gu-shop__add.is-added {
color: var(--text);
}
.gu-shop__add.is-added::before {
transform: none;
}
.gu-shop__perks {
display: grid;
gap: 6px;
margin: 18px 0 0;
padding: 0;
list-style: none;
font-size: 0.92rem;
color: var(--muted);
}
.gu-shop__perks li::before {
content: "";
display: inline-block;
width: 6px;
height: 6px;
margin: 0 10px 2px 2px;
border-radius: 50%;
background: var(--accent);
}
.gu-shop__specs {
margin-top: 28px;
border-top: 1px solid var(--line);
}
.gu-shop__specs details {
border-bottom: 1px solid var(--line);
}
.gu-shop__specs summary {
display: flex;
justify-content: space-between;
align-items: center;
min-height: 52px;
font-weight: 700;
cursor: pointer;
list-style: none;
}
.gu-shop__specs summary::-webkit-details-marker {
display: none;
}
.gu-shop__specs summary::after {
content: "+";
font-size: 1.4rem;
font-weight: 400;
transition: transform 0.3s var(--ease);
}
.gu-shop__specs details[open] summary::after {
transform: rotate(45deg);
}
.gu-shop__specs p {
padding: 0 0 16px;
line-height: 1.5;
color: var(--muted);
}
/* Reviews */
.gu-shop__reviews {
display: grid;
gap: 40px;
padding: 64px 5%;
background: var(--text);
color: var(--bg);
}
@container (min-width: 760px) {
.gu-shop__reviews {
grid-template-columns: 1fr 1.3fr;
}
}
.gu-shop__score h2 {
font-size: 1rem;
color: #aea89c;
}
.gu-shop__score > p {
margin: 10px 0 20px !important;
color: #aea89c;
}
.gu-shop__score strong {
display: block;
font-size: clamp(4rem, 12cqi, 7.5rem);
font-weight: 900;
line-height: 0.85;
letter-spacing: -0.06em;
color: var(--bg);
}
.gu-shop__score ul {
display: grid;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}
.gu-shop__score li {
display: grid;
grid-template-columns: 4.5em 1fr 3em;
align-items: center;
gap: 12px;
font-size: 0.88rem;
}
.gu-shop__score li span:last-child {
text-align: right;
color: #aea89c;
}
.gu-shop__bar {
height: 8px;
overflow: hidden;
border-radius: 999px;
background: rgb(243 238 227 / 0.14);
}
.gu-shop__bar i {
display: block;
height: 100%;
border-radius: inherit;
background: var(--accent);
}
.gu-shop__quotes {
display: grid;
gap: 28px;
align-content: center;
}
.gu-shop__quotes blockquote {
margin: 0;
}
.gu-shop__quotes p {
font-size: clamp(1.3rem, 3cqi, 2rem);
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.02em;
}
.gu-shop__quotes footer {
margin-top: 10px;
color: #aea89c;
}
.gu-shop__foot {
display: flex;
gap: 20px;
padding: 20px 5%;
font-size: 0.85rem;
color: var(--muted);
}
.gu-shop__foot span {
margin-right: auto;
}
@media (prefers-reduced-motion: reduce) {
.gu-shop__photo img {
animation: none;
}
.gu-shop__add,
.gu-shop__add::before,
.gu-shop__specs summary::after,
.gu-shop__thumbs button {
transition: none;
}
}
```
You might also want
Next piece: Profile cardOnline course landing page with a free mini lesson
Landing pages, intermediate
Agency page with stacking cases
Landing pages, intermediate
Coffee roaster subscription page
Landing pages, advanced
