init
This commit is contained in:
236 files changed
+24692
No files matched your search
@@ -0,0 +1,223 @@
|
||||
:root {
|
||||
font-family: Vazirmatn, sans-serif;
|
||||
color: #211b1d;
|
||||
background: #f8f2e9;
|
||||
--paper: #f8f2e9;
|
||||
--ink: #211b1d;
|
||||
--ink-deep: #191316;
|
||||
--cream: #fff7eb;
|
||||
--line: #d9cabd;
|
||||
--muted: #625650;
|
||||
--red: #a91d38;
|
||||
--hot: #ff8793;
|
||||
--gutter: clamp(1.2rem, 4.5vw, 4rem);
|
||||
}
|
||||
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
[hidden] { display: none !important; }
|
||||
body { margin: 0; line-height: 1.7; }
|
||||
img { display: block; max-inline-size: 100%; }
|
||||
a { color: inherit; text-decoration: none; }
|
||||
button, select { font: inherit; }
|
||||
button { cursor: pointer; }
|
||||
h1, h2, h3, p, figure { margin: 0; }
|
||||
h1, h2, h3 { line-height: 1.24; }
|
||||
h2 { font-size: clamp(1.75rem, 3.8vw, 3rem); font-weight: 850; }
|
||||
:focus-visible { outline: 3px solid #d3435e; outline-offset: 5px; }
|
||||
|
||||
.shell { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }
|
||||
.site-header { background: var(--paper); border-block-start: 3px solid var(--red); }
|
||||
.masthead { display: flex; align-items: center; min-height: 82px; gap: clamp(1rem, 4vw, 3.5rem); }
|
||||
.brand { font-size: clamp(1.6rem, 3vw, 2.2rem); }
|
||||
.masthead nav { display: flex; gap: clamp(.85rem, 3.5vw, 2.6rem); font-size: .94rem; font-weight: 680; }
|
||||
.masthead nav a { padding-block: .5rem; white-space: nowrap; }
|
||||
.masthead nav a:hover, .text-link:hover { color: var(--red); }
|
||||
.language { margin-inline-start: auto; padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 2rem; font-size: .86rem; font-weight: 690; white-space: nowrap; }
|
||||
.language:hover { border-color: var(--red); }
|
||||
.skip-link { position: absolute; z-index: 4; top: 0; inset-inline-start: 1rem; background: var(--cream); padding: .6rem; transform: translateY(-130%); }
|
||||
.skip-link:focus { transform: none; }
|
||||
|
||||
.hero { background: var(--ink-deep); color: var(--cream); position: relative; isolation: isolate; overflow: hidden; }
|
||||
.hero-media { position: absolute; inset: 0 auto 0 0; width: 68%; z-index: -1; }
|
||||
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
|
||||
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent 56%, #19131626 70%, var(--ink-deep) 100%); }
|
||||
.hero-inner { display: grid; grid-template-columns: 53% 47%; direction: ltr; align-items: center; min-height: min(650px, 58vw); position: relative; }
|
||||
.hero-copy { grid-column: 2; padding-block: clamp(2rem, 5.6vw, 5.3rem); }
|
||||
[lang="fa"] .hero-copy { direction: rtl; }
|
||||
.hero-copy .eyebrow { color: var(--hot); display: inline-flex; gap: .7rem; align-items: center; font-weight: 720; }
|
||||
.eyebrow span { width: 1.8rem; height: 1px; background: currentColor; }
|
||||
.hero h1 { font-size: clamp(2.5rem, 5.85vw, 6.45rem); font-weight: 900; letter-spacing: -.04em; margin-block: .55rem .9rem; line-height: 1.14; }
|
||||
.hero h1 em { color: #ffb1b7; font-style: normal; }
|
||||
.hero-copy > p:not(.eyebrow) { color: #f0ded9; max-inline-size: 31rem; font-size: clamp(.98rem, 1.35vw, 1.13rem); }
|
||||
.hero-caption { position: absolute; left: 0; bottom: 1.2rem; font-size: .78rem; padding: .25rem .6rem; background: #191316d9; border: 1px solid #f8f2e94d; border-radius: .15rem; }
|
||||
|
||||
.button-group { display: flex; flex-wrap: wrap; gap: .65rem; margin-block-start: 1.35rem; }
|
||||
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: .62em 1.3em; border: 1px solid transparent; border-radius: .3rem; font-size: .95rem; line-height: 1.5; font-weight: 780; transition: background-color .18s, border-color .18s, color .18s; }
|
||||
.button-primary { color: #fff8ef; background: #b82746; }
|
||||
.button-primary:hover { background: #d13857; }
|
||||
.button-ghost { color: var(--cream); border-color: #f8f2e969; background: transparent; }
|
||||
.button-ghost:hover { background: #f8f2e91f; border-color: var(--cream); }
|
||||
.button-ink { color: var(--cream); background: var(--ink); }
|
||||
.button-ink:hover { background: var(--red); }
|
||||
.button-outline { background: transparent; border-color: var(--line); color: var(--ink); }
|
||||
.button-outline:hover, .button-outline[aria-pressed="true"] { border-color: var(--red); color: var(--red); }
|
||||
.text-link { font-weight: 750; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .23em; }
|
||||
|
||||
.shelf { padding-block: clamp(3rem, 6.25vw, 5.5rem); }
|
||||
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; margin-block-end: 1.35rem; }
|
||||
.section-heading h1 { font-size: clamp(2.15rem, 5vw, 4.7rem); }
|
||||
.collection-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(.8rem, 2vw, 1.7rem); }
|
||||
.collection-card { display: grid; position: relative; isolation: isolate; overflow: hidden; align-content: center; min-height: clamp(220px, 29vw, 360px); padding: clamp(1.15rem, 3.4vw, 2.75rem); border-radius: .4rem; }
|
||||
.collection-rose { background: #8d1c35; color: var(--cream); }
|
||||
.collection-sound { background: #e9ddd0; color: var(--ink); }
|
||||
.collection-copy { max-inline-size: 52%; z-index: 1; }
|
||||
.collection-card h3 { font-size: clamp(1.6rem, 3.65vw, 3.5rem); font-weight: 850; }
|
||||
.collection-card p { margin-block: .55rem 1.15rem; line-height: 1.65; }
|
||||
.card-link { display: inline-block; border-block-end: 1px solid currentColor; font-size: .89rem; font-weight: 740; }
|
||||
.collection-card img { position: absolute; inset-inline-end: 1%; top: -4%; width: 49%; height: auto; transform: rotate(10deg); border: .25rem solid #f7f0e9; box-shadow: 0 13px 27px #32141b55; transition: transform .25s ease; }
|
||||
.collection-rose img { transform: rotate(-9deg); inset-inline-end: 2%; }
|
||||
.collection-card:hover img { transform: rotate(2deg) translateY(-3px); }
|
||||
|
||||
.preview-promo { display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; background: #f0e4d9; border-radius: .4rem; overflow: hidden; }
|
||||
.preview-promo-copy { padding: clamp(1.25rem, 4vw, 3.2rem); }
|
||||
.preview-promo-copy p { margin-block: .7rem 1.1rem; max-inline-size: 25rem; color: var(--muted); }
|
||||
.preview-promo figure { position: relative; }
|
||||
.preview-promo img { width: 100%; height: auto; }
|
||||
.preview-promo figcaption { position: absolute; inset-inline-start: .6rem; bottom: .55rem; font-size: .75rem; padding: .15rem .5rem; color: var(--cream); background: var(--ink); border-radius: .15rem; }
|
||||
.guide-promo { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; background: var(--ink-deep); color: var(--cream); padding: clamp(1.15rem, 3vw, 2.6rem); border-inline-start: 4px solid #b82746; border-radius: .35rem; margin-block: clamp(2rem, 5vw, 4.25rem); }
|
||||
.guide-promo h2 { font-size: clamp(1.45rem, 3.15vw, 2.55rem); }
|
||||
.guide-promo p { color: #eadbd7; margin-block-start: .4rem; }
|
||||
.site-footer { border-block-start: 3px solid var(--red); background: var(--ink-deep); color: var(--cream); }
|
||||
.footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.65rem clamp(1.25rem, 4vw, 3.5rem); padding-block: clamp(2rem, 4.5vw, 4rem); }
|
||||
.site-footer .brand { --porint-wordmark-accent: var(--hot); font-size: clamp(2rem, 4vw, 3.1rem); }
|
||||
.footer-identity > p, .footer-copy { color: #eddfda; }
|
||||
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-block-start: .65rem; font-size: .95rem; }
|
||||
.footer-section h2, .footer-licensing h2 { font-size: 1rem; font-weight: 800; color: var(--hot); }
|
||||
.footer-section h2 { margin-block-end: .6rem; }
|
||||
.site-footer address { font-style: normal; }
|
||||
.footer-contact { display: grid; justify-items: start; gap: .32rem; }
|
||||
.footer-copy { white-space: pre-line; overflow-wrap: anywhere; }
|
||||
.footer-postal { margin-block-start: .3rem; }
|
||||
.footer-postal bdi { margin-inline-start: .35rem; overflow-wrap: anywhere; }
|
||||
.footer-nav a, .footer-contact a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: #fff7eb73; overflow-wrap: anywhere; }
|
||||
.site-footer a:hover { color: var(--hot); text-decoration-color: currentColor; }
|
||||
.footer-licensing { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.35rem; border-block-start: 1px solid #fff7eb38; padding-block: 1.1rem 1.35rem; font-size: .91rem; }
|
||||
.footer-licensing p { flex: 1 1 26rem; }
|
||||
|
||||
.inner-page { padding-block: clamp(2rem, 5.1vw, 4.5rem); min-height: 60vh; }
|
||||
.collection-feature { display: grid; grid-template-columns: 1fr minmax(180px, 34%); align-items: center; gap: 1.5rem; background: #ebddcf; padding: clamp(1.15rem, 5vw, 4rem); margin-block: 1rem 2rem; border-radius: .4rem; }
|
||||
.collection-feature h1, .design-intro h1, .guide-article h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; }
|
||||
.collection-feature p { margin-block-start: .65rem; color: var(--muted); }
|
||||
.collection-feature img { max-height: 290px; width: auto; margin-inline: auto; transform: rotate(-4deg); filter: drop-shadow(0 14px 12px #42262938); }
|
||||
.empty-note { max-inline-size: 45rem; color: var(--muted); }
|
||||
.motif-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 270px), 375px)); gap: 1rem; margin-block-start: 1rem; }
|
||||
.motif { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: center; background: #efe3d8; border-radius: .35rem; padding: 1.1rem; }
|
||||
.motif img { inline-size: 90px; block-size: 106px; object-fit: contain; }
|
||||
.motif h3 { font-size: 1.45rem; }
|
||||
.motif span { color: var(--red); font-size: .9rem; }
|
||||
.guide-hero { background: var(--ink-deep); color: var(--cream); }
|
||||
.guide-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(1.4rem, 4vw, 4.5rem); padding-block: clamp(2rem, 5vw, 4.5rem); }
|
||||
.guide-kicker { color: var(--hot); font-weight: 760; margin-block-end: .6rem; }
|
||||
.guide-hero h1 { font-size: clamp(2rem, 4.5vw, 4.35rem); font-weight: 900; text-wrap: balance; }
|
||||
.guide-deck { color: #eeded9; max-inline-size: 41rem; margin-block-start: .95rem; }
|
||||
.guide-hero-inner img { border-radius: .45rem; width: 100%; height: auto; }
|
||||
.guide-hero-inner figcaption { color: #eeded9; font-size: .875rem; margin-block-start: .45rem; }
|
||||
.guide-content { padding-block: clamp(2rem, 5vw, 4.25rem); }
|
||||
.guide-workflow { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(15rem, 1fr); grid-template-areas: "steps prep"; align-items: start; gap: clamp(1.5rem, 4vw, 4rem); }
|
||||
.guide-workflow #apply { grid-area: steps; }
|
||||
.guide-checklist { grid-area: prep; background: #efe3d6; border-block-start: 4px solid var(--red); padding: clamp(1rem, 3vw, 2rem); border-radius: .35rem; }
|
||||
.guide-checklist h2 { font-size: 1.55rem; }
|
||||
.guide-checklist ul { margin-block: .7rem 1.2rem; padding-inline-start: 1.15rem; }
|
||||
.guide-checklist li + li { margin-block-start: .4rem; }
|
||||
.guide-checklist h3 { font-size: 1.1rem; padding-block-start: 1rem; border-block-start: 1px solid var(--line); }
|
||||
.guide-checklist p, .guide-steps p, .guide-care p, .guide-faq details p { color: var(--muted); margin-block-start: .45rem; }
|
||||
.guide-section { scroll-margin-block-start: 1.5rem; }
|
||||
.guide-section > h2 { margin-block-end: 1rem; }
|
||||
.guide-content > .guide-section { margin-block-start: clamp(2.25rem, 6vw, 5rem); }
|
||||
.guide-steps { counter-reset: guide-step; margin: 0; padding: 0; list-style: none; }
|
||||
.guide-steps li { position: relative; counter-increment: guide-step; background: #fff9f1; border: 1px solid var(--line); border-radius: .35rem; padding: 1.1rem; padding-inline-start: 3.7rem; }
|
||||
.guide-steps li + li { margin-block-start: .7rem; }
|
||||
.guide-steps li::before { content: counter(guide-step); display: grid; place-items: center; position: absolute; inset-block-start: 1.03rem; inset-inline-start: 1rem; width: 1.95rem; height: 1.95rem; background: var(--red); color: var(--cream); border-radius: 50%; font-weight: 790; }
|
||||
[lang="fa"] .guide-steps li::before { content: counter(guide-step, persian); }
|
||||
.guide-care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
|
||||
.guide-care > div { background: #efe3d6; border-radius: .35rem; padding: clamp(1rem, 2.5vw, 1.65rem); }
|
||||
.guide-faq details { border-block-start: 1px solid var(--line); padding-block: .85rem; }
|
||||
.guide-faq details:last-child { border-block-end: 1px solid var(--line); }
|
||||
.guide-faq summary { cursor: pointer; font-weight: 750; min-height: 2rem; }
|
||||
.guide-faq summary::marker { color: var(--red); }
|
||||
.guide-faq details p { max-inline-size: 52rem; }
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.guide-hero-inner { grid-template-columns: 1fr; }
|
||||
.guide-workflow { grid-template-columns: 1fr; grid-template-areas: "prep" "steps"; }
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.guide-care { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
.design-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-block: .7rem 1.6rem; }
|
||||
.design-intro p:not(.size) { margin-block-start: .55rem; color: var(--muted); max-inline-size: 42rem; }
|
||||
.size { flex: none; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: .35rem; display: grid; min-inline-size: 10rem; }
|
||||
.size span { color: var(--muted); font-size: .83rem; }
|
||||
.size strong { font-size: 1.13rem; }
|
||||
.try-on { border-block-start: 1px solid var(--line); padding-block-start: 1.45rem; }
|
||||
.preview-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1rem; margin-block-end: .95rem; }
|
||||
.is-compare .fitting-room { max-inline-size: 1040px; margin-inline: auto; }
|
||||
.fitting-slot { display: grid; gap: 1rem; min-width: 0; }
|
||||
.fitting-slot:first-child { grid-template-columns: minmax(0, 1.55fr) minmax(240px, .8fr); }
|
||||
.garment-display { overflow: hidden; border-radius: .45rem; background: #e8ded2; }
|
||||
.garment-frame { position: relative; background: #d8d0c8; aspect-ratio: 1; max-inline-size: 590px; margin-inline: auto; }
|
||||
.garment-frame > img:first-child { width: 100%; height: 100%; }
|
||||
.garment-print { position: absolute; left: var(--print-x); top: var(--print-y); width: var(--print-width); height: auto; transform: translate(-50%, -50%); }
|
||||
.garment-display figcaption { padding: .65rem .9rem; font-weight: 730; text-align: center; }
|
||||
.fitting-controls { display: grid; gap: .75rem; align-content: start; align-self: start; border: 1px solid var(--line); background: #fff9f1; border-radius: .45rem; padding: clamp(.85rem, 2.2vw, 1.65rem); }
|
||||
.fitting-controls label { display: grid; gap: .25rem; font-weight: 690; font-size: .94rem; }
|
||||
.fitting-controls select { min-width: 0; min-height: 44px; width: 100%; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: .3rem; padding-inline: .55rem; }
|
||||
.fitting-controls select:disabled { opacity: .8; }
|
||||
.is-compare .fitting-room { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 2.2vw, 1.5rem); }
|
||||
.is-compare .fitting-slot { grid-template-columns: 1fr; align-content: start; }
|
||||
.is-compare .fitting-controls { grid-template-columns: 1fr 1fr; }
|
||||
.slot-name { grid-column: 1 / -1; color: var(--red); font-weight: 800; }
|
||||
.preview-note { color: var(--muted); font-size: .88rem; margin-block-start: .65rem; }
|
||||
.design-page .guide-promo { margin-block-end: 0; }
|
||||
.empty-preview { display: grid; justify-items: start; gap: .7rem; padding: 1rem; background: #eee2d5; }
|
||||
.empty-preview img { max-height: 260px; }
|
||||
.draft-label { color: var(--red); font-weight: 740; }
|
||||
.draft-label a { text-decoration: underline; }
|
||||
|
||||
@media (max-width: 880px) {
|
||||
.hero-inner { min-height: 520px; grid-template-columns: 49% 51%; }
|
||||
.hero-media { width: 71%; }
|
||||
.collection-grid { grid-template-columns: 1fr 1fr; }
|
||||
.collection-copy { max-inline-size: 60%; }
|
||||
.collection-card img { width: 47%; top: 3%; inset-inline-end: -5%; }
|
||||
}
|
||||
|
||||
@media (max-width: 620px) {
|
||||
.masthead { gap: .7rem; min-height: 66px; }
|
||||
.masthead nav { gap: .65rem; font-size: .79rem; }
|
||||
.language { padding-inline: .5rem; font-size: .73rem; }
|
||||
.hero-media { width: 100%; height: auto; position: relative; display: block; }
|
||||
.hero-media img { width: 100%; height: min(75vw, 365px); object-position: 20% 42%; }
|
||||
.hero-media::after { background: linear-gradient(to bottom, transparent 64%, #191316a6 90%, var(--ink-deep)); }
|
||||
.hero-inner { min-height: auto; display: block; margin-top: -1.15rem; }
|
||||
.hero-copy { padding-block: 0 2.15rem; }
|
||||
.hero h1 { font-size: clamp(2.5rem, 10.3vw, 4rem); }
|
||||
.hero-caption { bottom: auto; top: -2.2rem; font-size: .66rem; }
|
||||
.collection-grid { grid-template-columns: 1fr; }
|
||||
.collection-card { min-height: 210px; }
|
||||
.collection-card img { width: 43%; inset-inline-end: 5%; top: -4%; }
|
||||
.preview-promo { grid-template-columns: 1fr; }
|
||||
.preview-promo figure { order: -1; }
|
||||
.collection-feature { grid-template-columns: 1fr 39%; }
|
||||
.design-intro { align-items: flex-start; flex-direction: column; }
|
||||
.fitting-slot:first-child { grid-template-columns: 1fr; }
|
||||
.is-compare .fitting-controls { grid-template-columns: 1fr; padding: .65rem; }
|
||||
.is-compare .fitting-slot { gap: .55rem; }
|
||||
.is-compare .garment-display figcaption { font-size: .84rem; padding-inline: .35rem; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
|
||||
}
|
||||
Reference in new issue
Block a user