Refine product detail layout and add delivery information section

This commit is contained in:
hasicicsalih committed 2026-04-03 14:58:24 +02:00
1 parent 8140efb951
commit feeebf6f2d
116 files changed
+128079 -3

No files matched your search

@@ -225,6 +225,71 @@
color: #5f5f5f;
}
/* --- Delivery Box Start --- */
.delivery-box {
margin-top: 8px;
padding: 20px;
border: 1px solid #d9d9d9;
background: #efefef;
display: flex;
flex-direction: column;
gap: 16px;
}
.delivery-box-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
}
.delivery-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 42px;
height: 28px;
padding: 0 10px;
border: 1px solid #ff6a00;
color: #ff6a00;
font-size: 11px;
letter-spacing: 0.16em;
}
.delivery-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px 20px;
}
.delivery-item {
display: flex;
flex-direction: column;
gap: 6px;
}
.delivery-item--full {
grid-column: 1 / -1;
padding-top: 4px;
border-top: 1px solid #d9d9d9;
}
.delivery-item-label {
font-size: 10px;
letter-spacing: 0.2em;
color: #666;
}
.delivery-item p {
margin: 0;
font-size: 15px;
line-height: 1.45;
color: #1f1f1f;
}
/* --- Delivery Box End --- */
/* --- Right Column End --- */
/* --- Material Tags Start --- */
@@ -448,7 +513,8 @@
.detail-columns,
.detail-meta-grid,
.size-grid,
.detail-bottom-actions {
.detail-bottom-actions,
.delivery-grid {
grid-template-columns: 1fr;
display: grid;
}
@@ -203,6 +203,31 @@ function ProductDetailContent({ perfumeSlug }) {
<p>{perfume.edition}</p>
</div>
</div>
<div className="delivery-box">
<div className="delivery-box-header">
<span className="label-title">LIEFERUNG</span>
<span className="delivery-badge">CH</span>
</div>
<div className="delivery-grid">
<div className="delivery-item">
<span className="delivery-item-label">VERSAND</span>
<p>Innerhalb von 1–2 Werktagen</p>
</div>
<div className="delivery-item">
<span className="delivery-item-label">ZUSTELLUNG</span>
<p>In der Regel in 5–6 Tagen bei dir</p>
</div>
<div className="delivery-item delivery-item--full">
<span className="delivery-item-label">HINWEIS</span>
<p>Sorgfältig verpackt und geschützt versendet.</p>
</div>
</div>
</div>
</div>
</section>