parfum_agsd/parfum-shop/src/components/ProductDetailPage.css

1239 lines
24 KiB
CSS

.detail-page {
min-height: 100vh;
padding: 0;
color: var(--theme-text);
background: var(--theme-bg);
}
.eyebrow,
.label-title {
font-size: var(--text-xs);
letter-spacing: 0.22em;
}
.eyebrow,
.label-title {
color: var(--theme-text-muted);
}
.product-hero {
position: relative;
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
gap: var(--gap-md);
align-items: center;
min-height: clamp(680px, 100svh, 940px);
padding-block: 0;
border-bottom: 0;
isolation: isolate;
}
.product-media-column {
position: relative;
grid-column: 1 / -1;
grid-row: 1;
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
align-items: center;
min-height: inherit;
min-width: 0;
}
.product-hero-visual {
position: relative;
grid-column: 4 / 10;
grid-row: 1;
justify-self: center;
align-self: center;
display: grid;
place-items: center;
width: 100%;
min-height: inherit;
overflow: visible;
border: 0;
background: transparent;
}
.product-hero-visual::before {
display: none;
}
.product-hero-copy {
position: absolute;
top: clamp(6.5rem, 11vw, 9rem);
left: 0;
z-index: 5;
width: min(26vw, 390px);
}
.product-hero-copy span {
display: block;
margin-bottom: clamp(0.75rem, 1.5vw, 1.15rem);
color: var(--theme-text-muted);
font-size: var(--text-xs);
letter-spacing: 0.22em;
text-transform: uppercase;
}
.product-hero-copy h1 {
margin: 0;
color: var(--theme-text);
font-size: clamp(2.6rem, 5.1vw, 6.4rem);
font-weight: 300;
line-height: 0.9;
letter-spacing: 0;
text-transform: uppercase;
text-wrap: balance;
}
.product-hero-image {
position: relative;
z-index: 1;
width: min(100%, 600px);
max-height: min(62svh, 700px);
height: auto;
object-fit: contain;
display: block;
filter: var(--shadow-product);
}
.is-transition-arriving .product-hero-image,
.is-transition-arriving [data-product-transition-reveal] {
opacity: 0;
}
.product-thumbs {
position: absolute;
top: calc(50% + min(19vw, 318px) + clamp(0.75rem, 1.5vw, 1.2rem));
left: 50%;
z-index: 3;
display: flex;
justify-content: center;
gap: var(--gap-xs);
margin-top: 0;
transform: translateX(-50%);
}
.thumb-btn {
width: clamp(4.8rem, 7vw, 6.25rem);
height: clamp(4.8rem, 7vw, 6.25rem);
min-height: 44px;
padding: 0;
border: 1px solid var(--theme-border);
background: transparent;
overflow: hidden;
cursor: pointer;
transition:
transform var(--duration-med) var(--ease-out),
border-color var(--duration-med) var(--ease-out),
box-shadow var(--duration-med) var(--ease-out);
}
.thumb-btn:hover,
.thumb-btn:focus-visible {
transform: translateY(-2px);
border-color: rgba(var(--theme-accent-rgb) / 0.62);
box-shadow: var(--theme-shadow-soft);
}
.thumb-btn.active {
outline: 2px solid var(--theme-accent);
outline-offset: 3px;
}
.thumb-btn img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.hero-fact-grid {
position: absolute;
left: 0;
top: auto;
bottom: clamp(4rem, 9svh, 7rem);
z-index: 3;
width: min(22vw, 310px);
display: grid;
grid-template-columns: 1fr;
gap: var(--gap-md);
margin-top: 0;
transform: none;
}
.hero-fact-grid div,
.character-facts > div,
.meta-card,
.delivery-grid div {
padding-top: 1rem;
border-top: 1px solid var(--theme-border);
}
.hero-fact-grid span,
.character-facts span,
.meta-card span,
.delivery-grid span,
.comment-card span,
.review-detail-row span {
display: block;
margin-bottom: 0.55rem;
color: var(--theme-text-muted);
font-size: var(--text-xs);
letter-spacing: 0.2em;
text-transform: uppercase;
}
.hero-fact-grid p,
.character-facts p,
.meta-card p,
.delivery-grid p {
margin: 0;
color: var(--theme-text);
font-size: var(--text-base);
line-height: 1.55;
}
.product-purchase-panel {
position: relative;
grid-column: 10 / -1;
grid-row: 1;
z-index: 4;
justify-self: end;
align-self: center;
width: min(100%, 390px);
max-height: none;
overflow: visible;
display: flex;
flex-direction: column;
gap: clamp(1rem, 1.8vw, 1.45rem);
padding: 0;
border: 0;
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: none;
}
.purchase-price-row {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: var(--gap-sm);
}
.purchase-price-row span {
color: var(--theme-text-muted);
font-size: var(--text-xs);
letter-spacing: 0.22em;
text-transform: uppercase;
}
.purchase-price-row strong {
color: var(--theme-text);
font-size: clamp(1.45rem, 2.3vw, 2rem);
font-weight: 400;
letter-spacing: 0;
}
.purchase-size-group,
.purchase-actions {
display: flex;
flex-direction: column;
gap: var(--gap-xs);
}
.size-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--gap-xs);
}
.size-card {
position: relative;
min-height: 116px;
display: flex;
flex-direction: column;
gap: 0.35rem;
padding: clamp(0.95rem, 1.6vw, 1.2rem);
border: 1px solid var(--theme-border);
background: transparent;
color: var(--theme-text);
text-align: left;
cursor: pointer;
isolation: isolate;
transition:
border-color var(--duration-med) var(--ease-out),
background-color var(--duration-med) var(--ease-out),
color var(--duration-med) var(--ease-out);
}
/* Top accent line — appears on hover, stays on active. */
.size-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: var(--theme-accent);
transform: scaleX(0);
transform-origin: left center;
transition: transform var(--duration-med) var(--ease-out);
}
.size-card:hover,
.size-card:focus-visible {
border-color: var(--theme-border-strong);
}
.size-card:hover::before,
.size-card:focus-visible::before {
transform: scaleX(0.45);
}
.size-card.active {
border-color: var(--theme-accent);
background: rgba(var(--theme-accent-rgb) / 0.06);
}
.size-card.active::before {
transform: scaleX(1);
}
.size-title {
display: block;
color: var(--theme-text-muted);
font-size: var(--text-xs);
letter-spacing: 0.18em;
text-transform: uppercase;
transition: color var(--duration-med) var(--ease-out);
}
.size-card.active .size-title {
color: var(--theme-accent);
}
.size-card strong {
display: block;
margin-top: auto;
color: var(--theme-text);
font-size: clamp(1.1rem, 1.55vw, 1.45rem);
font-weight: 400;
letter-spacing: 0;
line-height: 1.05;
white-space: nowrap;
}
.size-card small {
color: var(--theme-text-muted);
font-size: var(--text-xs);
line-height: 1.4;
}
.purchase-discovery-note {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
justify-content: space-between;
gap: var(--gap-sm);
padding: clamp(0.85rem, 1.45vw, 1rem) 0 0;
border-top: 1px solid var(--theme-border);
background: transparent;
}
.purchase-discovery-note strong {
display: block;
margin-bottom: 0.25rem;
color: var(--theme-text);
font-weight: 500;
}
.purchase-discovery-note p {
max-width: 38rem;
margin: 0;
color: var(--theme-text-muted);
font-size: var(--text-xs);
line-height: 1.42;
}
.purchase-discovery-note .discount-preview {
margin-top: 0.5rem;
color: #fff;
}
/* Buy / restock / discovery / review CTAs use the global .atmos-btn system
(see src/style/buttons.css). The .restock-button class is kept on the
element only as a hook for the mobile breakpoint that hides it. */
.product-story-grid,
.product-meta-section {
position: relative;
display: grid;
grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
gap: clamp(1.5rem, 5vw, 6rem);
align-items: stretch;
padding-block: clamp(4rem, 9vw, 9rem);
border-top: 0;
}
.product-story-grid {
margin-top: clamp(4rem, 8vw, 8rem);
}
.story-copy {
align-self: center;
max-width: 58rem;
}
.story-copy h2,
.section-intro h2,
.reviews-heading h2,
.recommendation-heading h2,
.detail-bottom-cta h2 {
margin: 0.85rem 0 0;
color: var(--theme-text);
font-size: clamp(2.2rem, 5.6vw, 6rem);
font-weight: 300;
line-height: 0.94;
letter-spacing: 0;
text-wrap: balance;
}
.story-copy p,
.section-intro p,
.reviews-heading p,
.detail-bottom-cta p {
max-width: var(--text-measure);
margin: 1.25rem 0 0;
color: var(--theme-text-muted);
font-size: var(--text-lg);
line-height: 1.62;
}
.story-copy .character-facts p {
max-width: none;
margin: 0;
color: var(--theme-text);
font-size: var(--text-base);
line-height: 1.55;
}
.story-visual-panel {
position: relative;
min-height: clamp(360px, 42vw, 620px);
display: flex;
align-items: flex-end;
padding: clamp(1.2rem, 3vw, 2.4rem);
border: 1px solid var(--theme-border);
overflow: hidden;
background: var(--theme-surface-soft);
}
.story-visual-panel::after {
content: "";
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
background:
linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72)),
linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 45%);
}
.story-visual-image {
position: absolute;
inset: 0;
z-index: 0;
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
filter: saturate(0.92) contrast(1.04);
}
.character-facts {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--gap-sm);
margin-top: clamp(1.4rem, 3vw, 2.4rem);
max-width: 58rem;
}
.character-facts > div {
min-height: 132px;
}
.story-visual-content {
position: relative;
z-index: 2;
width: 100%;
}
.story-visual-content > span:first-child {
display: block;
margin-bottom: var(--gap-sm);
color: rgba(255, 255, 255, 0.68);
font-size: var(--text-xs);
letter-spacing: 0.22em;
text-transform: uppercase;
}
.material-tags {
display: flex;
flex-wrap: wrap;
gap: var(--gap-xs);
}
.material-tags span {
display: inline-flex;
align-items: center;
min-height: 40px;
padding: 0.55rem 0.85rem;
border: 1px solid rgba(255, 255, 255, 0.22);
background: rgba(0, 0, 0, 0.24);
color: #fff;
font-size: var(--text-sm);
letter-spacing: 0;
text-transform: none;
}
.product-structure-section,
.product-reviews-section,
.recommendation-section {
position: relative;
padding-block: clamp(3rem, 8vw, 8rem);
border-top: 0;
}
.product-story-grid::before,
.product-structure-section::before,
.product-meta-section::before,
.product-reviews-section::before,
.recommendation-section::before {
position: absolute;
top: clamp(1.2rem, 3vw, 2rem);
right: 0;
width: min(32vw, 420px);
padding-top: 0.55rem;
border-top: 1px solid var(--theme-border);
color: var(--theme-text-muted);
font-size: var(--text-xs);
letter-spacing: 0.16em;
line-height: 1.4;
text-transform: uppercase;
}
.product-story-grid::before {
content: "01 / Charakter";
}
.product-structure-section::before {
content: "02 / Struktur";
}
.product-meta-section::before {
content: "03 / Atelier";
}
.product-reviews-section::before {
content: "04 / Resonanz";
}
.recommendation-section::before {
content: "05 / Kollektion";
}
.section-intro {
max-width: 74rem;
}
.structure-timeline {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap-sm);
margin-top: clamp(1.6rem, 4vw, 4rem);
}
.structure-phase-card,
.comment-card,
.delivery-panel,
.review-details,
.recommendation-card {
border: 1px solid var(--theme-border);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
var(--theme-surface-soft);
}
.structure-phase-card {
position: relative;
isolation: isolate;
overflow: hidden;
min-height: 280px;
padding: clamp(1rem, 2vw, 1.5rem);
display: flex;
flex-direction: column;
justify-content: space-between;
gap: var(--gap-md);
border-color: rgba(255, 255, 255, 0.18);
background: #262626;
color: #fff;
}
.structure-phase-card::before,
.structure-phase-card::after {
content: "";
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
}
.structure-phase-card::before {
background: var(--phase-visual-image, none) center / cover no-repeat;
transform: scale(1.02);
}
.structure-phase-card::after {
background:
linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.72)),
linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.12));
}
.structure-phase-card > * {
position: relative;
z-index: 1;
}
.structure-index {
color: rgba(255, 255, 255, 0.7);
font-size: var(--text-sm);
letter-spacing: 0.2em;
}
.structure-phase-card h3 {
margin: 0;
color: #fff;
font-size: var(--text-lg);
font-weight: 400;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.structure-phase-card div {
display: flex;
flex-wrap: wrap;
gap: var(--gap-xs);
}
.structure-phase-card div span {
padding: 0.55rem 0.75rem;
border: 1px solid rgba(255, 255, 255, 0.22);
background: rgba(0, 0, 0, 0.26);
color: rgba(255, 255, 255, 0.86);
font-size: var(--text-sm);
}
.product-meta-section {
align-items: start;
}
.meta-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--gap-sm);
}
.meta-card {
min-height: 132px;
}
.delivery-panel {
padding: clamp(1.1rem, 2.4vw, 1.7rem);
}
.delivery-panel-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--gap-sm);
padding-bottom: var(--gap-sm);
border-bottom: 1px solid var(--theme-border);
}
.delivery-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 30px;
border: 1px solid var(--theme-accent);
color: var(--theme-accent);
font-size: var(--text-xs);
letter-spacing: 0.16em;
}
.delivery-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--gap-sm);
margin-top: var(--gap-sm);
}
.delivery-grid div:last-child {
grid-column: 1 / -1;
}
.reviews-heading {
display: flex;
justify-content: space-between;
align-items: end;
gap: var(--gap-lg);
}
.review-score-block {
display: grid;
justify-items: end;
gap: 0.35rem;
flex-shrink: 0;
}
.review-score-block strong {
color: var(--theme-text);
font-size: clamp(3rem, 6vw, 6rem);
font-weight: 300;
line-height: 0.9;
letter-spacing: 0;
}
.review-score-block span {
color: var(--theme-accent);
letter-spacing: 0.18em;
}
.review-score-block small {
color: var(--theme-text-muted);
font-size: var(--text-xs);
letter-spacing: 0.12em;
}
.comment-spotlight {
margin-top: clamp(1.6rem, 4vw, 4rem);
}
.comment-dots {
display: flex;
justify-content: flex-end;
gap: 0.6rem;
margin-bottom: var(--gap-sm);
}
.comment-dot {
width: 16px;
min-height: 16px;
padding: 0;
border: 0;
border-radius: 999px;
background: var(--theme-text-muted);
cursor: pointer;
}
.comment-dot.active {
background: var(--theme-accent);
}
.comment-spotlight-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--gap-sm);
}
.comment-card {
min-height: 190px;
padding: clamp(1rem, 2vw, 1.5rem);
display: flex;
flex-direction: column;
gap: var(--gap-sm);
}
.comment-card p {
margin: 0;
flex: 1;
color: var(--theme-text);
font-size: var(--text-base);
line-height: 1.58;
}
.comment-card small {
color: var(--theme-text-muted);
font-size: var(--text-sm);
letter-spacing: 0.08em;
}
.review-panel {
margin-top: var(--gap-sm);
}
/* .review-toggle is rendered as `.atmos-btn--outline --block --split`. */
.review-toggle-icon {
font-size: 1.2rem;
line-height: 1;
transition: transform var(--duration-med) var(--ease-out);
}
.review-toggle-icon.open {
transform: rotate(45deg);
}
.review-details {
display: grid;
gap: var(--gap-sm);
margin-top: var(--gap-xs);
padding: clamp(1rem, 2vw, 1.25rem);
}
.review-detail-row {
display: grid;
grid-template-columns: 9rem 1fr 3rem;
align-items: center;
gap: var(--gap-sm);
}
.review-detail-row span {
margin-bottom: 0;
}
.review-detail-row strong {
color: var(--theme-text);
font-weight: 400;
text-align: right;
}
.review-detail-bar {
position: relative;
height: 1px;
overflow: hidden;
background: var(--theme-border);
}
.review-detail-fill {
position: absolute;
inset: 0 auto 0 0;
background: var(--theme-accent);
}
.detail-bottom-cta {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: var(--gap-lg);
align-items: end;
margin-top: clamp(1rem, 3vw, 2rem);
padding: clamp(1.5rem, 4vw, 3.5rem);
overflow: hidden;
background:
radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.24), transparent 18rem),
linear-gradient(135deg, var(--theme-accent-fill), var(--theme-accent-fill-strong));
}
.detail-bottom-cta .eyebrow,
.detail-bottom-cta h2,
.detail-bottom-cta p {
color: var(--theme-accent-contrast);
}
.detail-bottom-cta p {
max-width: 48rem;
}
.detail-bottom-actions {
justify-content: flex-end;
}
.recommendation-heading {
display: block;
max-width: 74rem;
}
.recommendation-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap-sm);
margin-top: clamp(1.6rem, 4vw, 4rem);
}
.recommendation-card {
min-height: clamp(360px, 36vw, 520px);
display: grid;
grid-template-rows: auto minmax(14rem, 1fr) auto;
gap: var(--gap-sm);
padding: clamp(1rem, 2vw, 1.4rem);
color: inherit;
text-decoration: none;
overflow: hidden;
transition:
transform var(--duration-med) var(--ease-out),
border-color var(--duration-med) var(--ease-out),
box-shadow var(--duration-med) var(--ease-out);
}
.recommendation-card:hover {
transform: translateY(-4px);
border-color: rgba(var(--theme-accent-rgb) / 0.54);
box-shadow: var(--theme-shadow-soft);
}
.recommendation-card > span {
color: var(--theme-text-muted);
font-size: var(--text-sm);
}
.recommendation-card img {
place-self: center;
width: min(86%, 430px);
height: auto;
object-fit: contain;
filter: var(--shadow-product-card);
transition: transform var(--duration-slow) var(--ease-out);
}
.recommendation-card:hover img {
transform: scale(1.045) rotate(-0.4deg);
}
.recommendation-card h3 {
max-width: 12ch;
margin: 0;
color: var(--theme-text);
font-size: var(--text-base);
font-weight: 400;
line-height: 1.08;
text-transform: uppercase;
}
.recommendation-card p {
margin: 0.55rem 0 0;
color: var(--theme-text-muted);
font-size: var(--text-sm);
line-height: 1.45;
}
@media (max-width: 1180px) {
.product-story-grid,
.product-meta-section,
.detail-bottom-cta {
grid-template-columns: 1fr;
}
.structure-timeline,
.recommendation-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 1023px) {
.product-hero {
grid-template-columns: 1fr;
align-content: start;
align-items: start;
gap: clamp(1rem, 2.5vw, 1.5rem);
min-height: auto;
padding-top: clamp(6rem, 10vw, 7.5rem);
padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.product-media-column,
.product-purchase-panel {
grid-column: 1;
grid-row: auto;
}
.product-media-column {
min-height: 0;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto auto auto auto;
gap: clamp(0.8rem, 2vw, 1.25rem);
align-self: auto;
place-items: stretch;
}
.product-hero-copy {
position: static;
width: min(100%, 720px);
margin-bottom: 0;
}
.product-hero-copy h1 {
max-width: 12ch;
font-size: clamp(2.4rem, 6.8vw, 4.8rem);
}
.product-hero-visual {
grid-column: auto;
grid-row: auto;
min-height: 0;
height: clamp(18rem, 48svh, 32rem);
}
.product-hero-image {
width: min(74%, 460px);
max-height: 100%;
}
.product-thumbs,
.hero-fact-grid {
position: static;
width: auto;
margin-top: 0;
transform: none;
}
.product-thumbs {
justify-content: center;
}
.thumb-btn {
width: clamp(3.6rem, 8vw, 4.8rem);
height: clamp(3.6rem, 8vw, 4.8rem);
}
.hero-fact-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap-xs);
}
.hero-fact-grid div {
padding-top: 0.75rem;
}
.hero-fact-grid span {
margin-bottom: 0.4rem;
font-size: 0.72rem;
letter-spacing: 0.16em;
}
.hero-fact-grid p {
font-size: var(--text-sm);
line-height: 1.38;
overflow-wrap: anywhere;
}
.product-purchase-panel {
justify-self: stretch;
align-self: auto;
width: min(100%, 46rem);
max-width: 46rem;
max-height: none;
margin-inline: auto;
overflow: visible;
gap: var(--gap-sm);
}
}
@media (max-width: 760px) {
.detail-page {
padding: 0;
}
.product-hero {
grid-template-columns: 1fr;
align-content: start;
gap: clamp(0.65rem, 2vw, 1rem);
min-height: auto;
padding-top: clamp(6.4rem, 18vw, 7.25rem);
padding-bottom: clamp(1.5rem, 5vw, 2.5rem);
}
.product-media-column,
.product-purchase-panel {
grid-column: 1;
grid-row: auto;
}
.product-hero-visual {
height: clamp(13rem, 32svh, 18rem);
min-height: 0;
}
.product-hero-image {
width: min(68%, 280px);
}
.character-facts,
.meta-grid,
.delivery-grid,
.comment-spotlight-grid,
.structure-timeline,
.recommendation-grid {
grid-template-columns: 1fr;
}
.hero-fact-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero-fact-grid div:last-child {
grid-column: 1 / -1;
}
.size-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-hero-copy span {
margin-bottom: 0.35rem;
font-size: 0.68rem;
letter-spacing: 0.16em;
}
.product-hero-copy h1 {
font-size: clamp(2rem, 10.4vw, 3rem);
line-height: 0.9;
}
.thumb-btn {
width: clamp(2.8rem, 11vw, 3.25rem);
height: clamp(2.8rem, 11vw, 3.25rem);
min-width: var(--touch-target-min);
}
.product-thumbs {
margin-top: 0.2rem;
}
.hero-fact-grid {
gap: 0.45rem;
}
.hero-fact-grid div {
min-width: 0;
padding-top: 0.45rem;
}
.hero-fact-grid span {
margin-bottom: 0.25rem;
font-size: clamp(0.65rem, 2vw, var(--text-xs));
letter-spacing: 0.09em;
}
.hero-fact-grid p {
font-size: clamp(0.78rem, 2.5vw, var(--text-sm));
line-height: 1.22;
overflow-wrap: anywhere;
}
.product-purchase-panel {
min-width: 0;
gap: 0.48rem;
}
.purchase-price-row {
display: none;
}
.purchase-price-row strong {
font-size: clamp(1.1rem, 5vw, 1.35rem);
white-space: nowrap;
}
.size-card {
min-width: 0;
min-height: 70px;
gap: 0.2rem;
padding: 0.6rem 0.7rem;
}
.size-title {
font-size: 0.66rem;
letter-spacing: 0.14em;
}
.size-card strong {
font-size: 0.98rem;
white-space: normal;
overflow-wrap: anywhere;
}
.size-card small,
.purchase-discovery-note {
display: none;
}
.purchase-actions .atmos-btn,
.restock-button {
min-height: var(--touch-target-min);
font-size: 0.72rem;
}
.purchase-discovery-note,
.reviews-heading,
.recommendation-heading {
align-items: stretch;
flex-direction: column;
}
.product-story-grid::before,
.product-structure-section::before,
.product-meta-section::before,
.product-reviews-section::before,
.recommendation-section::before {
right: auto;
left: 0;
width: min(100%, 24rem);
}
.review-score-block {
justify-items: start;
}
.detail-bottom-actions {
justify-content: stretch;
}
.detail-bottom-actions button {
width: 100%;
}
}
@media (max-width: 640px) {
.product-thumbs {
display: none;
}
}
@media (max-width: 480px) {
.product-hero-copy h1 {
font-size: clamp(1.95rem, 10.2vw, 2.85rem);
}
.hero-fact-grid {
grid-template-columns: 1fr;
}
.product-thumbs {
flex-wrap: wrap;
}
.restock-button {
display: none;
}
.review-detail-row {
grid-template-columns: 1fr;
align-items: start;
}
.review-detail-row strong {
text-align: left;
}
}
@media (prefers-reduced-motion: reduce) {
.is-transition-arriving .product-hero-image,
.is-transition-arriving [data-product-transition-reveal] {
opacity: 1;
}
}