AbiirSkincare/Hydrogen/web/app/styles/app.css

1446 lines
26 KiB
CSS

:root {
--aside-width: 440px;
--cart-aside-header-height: 72px;
--cart-aside-summary-height-with-discount: 300px;
--cart-aside-summary-height: 250px;
--grid-item-width: 355px;
--header-height: 64px;
--color-dark: #000;
--color-light: #fff;
}
img {
border-radius: 4px;
}
/*
* --------------------------------------------------
* Non anchor links
* --------------------------------------------------
*/
.link:hover {
text-decoration: none;
cursor: pointer;
}
/*
* --------------------------------------------------
* components/MockShopNotice
* --------------------------------------------------
*/
.mock-shop-notice {
background: var(--color-light);
border: 1px solid var(--color-dark);
border-left-width: 0.5rem;
margin: 1rem 0;
padding: 0;
.inner {
padding: 0.875rem 1rem;
}
h2 {
font-size: 1.6rem;
font-weight: 700;
line-height: 1.4;
}
p {
font-size: 1rem;
line-height: 1.4;
margin-bottom: 0.5rem;
}
footer {
background: rgba(0, 0, 0, 0.06);
padding: 0.5rem 1rem;
}
.small {
font-size: 0.875rem;
line-height: 1.4;
margin-bottom: 0.5rem;
}
code {
background: rgba(0, 0, 0, 0.06);
border-radius: 0.25rem;
padding: 0.1em 0.3em;
}
a {
text-decoration: underline;
text-underline-offset: 6px;
}
a:hover {
text-decoration: none;
}
}
/*
* --------------------------------------------------
* components/Aside
* --------------------------------------------------
*/
@media (max-width: 45em) {
html:has(.overlay.expanded) {
overflow: hidden;
}
}
aside {
background: var(--color-light);
box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
height: 100vh;
width: min(var(--aside-width), 100vw);
position: fixed;
right: calc(-1 * var(--aside-width));
top: 0;
transition: transform 200ms ease-in-out;
}
aside header {
align-items: center;
border-bottom: 1px solid var(--color-dark);
display: flex;
height: var(--header-height);
justify-content: space-between;
padding: 0 20px;
}
aside header h3 {
margin: 0;
}
aside header .close {
font-weight: bold;
opacity: 0.8;
text-decoration: none;
transition: all 200ms;
width: 20px;
}
aside header .close:hover {
opacity: 1;
}
aside header h2 {
margin-bottom: 0.6rem;
margin-top: 0;
}
aside main {
margin: 1rem;
}
aside p {
margin: 0 0 0.25rem;
}
aside p:last-child {
margin: 0;
}
aside li {
margin-bottom: 0.125rem;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border-width: 0;
}
.overlay {
background: rgba(0, 0, 0, 0.2);
bottom: 0;
left: 0;
opacity: 0;
pointer-events: none;
position: fixed;
right: 0;
top: 0;
transition: opacity 400ms ease-in-out;
transition: opacity 400ms;
visibility: hidden;
/* Above site header (sticky z-50) and dropdowns */
z-index: 1000;
}
.overlay .close-outside {
background: transparent;
border: none;
color: transparent;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: calc(100% - var(--aside-width));
}
.overlay .light {
background: rgba(255, 255, 255, 0.5);
}
.overlay .cancel {
cursor: default;
height: 100%;
position: absolute;
width: 100%;
}
.overlay.expanded {
opacity: 1;
pointer-events: auto;
visibility: visible;
}
/* reveal aside */
.overlay.expanded aside {
transform: translateX(calc(var(--aside-width) * -1));
}
button.reset {
border: 0;
background: inherit;
font-size: inherit;
}
button.reset > * {
margin: 0;
}
button.reset:not(:has(> *)) {
height: 1.5rem;
line-height: 1.5rem;
}
button.reset:hover:not(:has(> *)) {
text-decoration: none;
cursor: pointer;
}
/*
* --------------------------------------------------
* components/Header
* --------------------------------------------------
*/
.header {
align-items: center;
background: #fff;
display: flex;
height: var(--header-height);
padding: 0 1rem;
position: sticky;
top: 0;
z-index: 1;
}
.header-menu-mobile-toggle {
@media (min-width: 48em) {
display: none;
}
}
.header-menu-mobile {
display: flex;
flex-direction: column;
grid-gap: 1rem;
}
.header-menu-desktop {
display: none;
grid-gap: 1rem;
@media (min-width: 45em) {
display: flex;
grid-gap: 1rem;
margin-left: 3rem;
}
}
.header-menu-item {
cursor: pointer;
}
.header-ctas {
align-items: center;
display: flex;
grid-gap: 1rem;
margin-left: auto;
}
.header-ctas > * {
min-width: fit-content;
}
/*
* --------------------------------------------------
* components/Footer
* --------------------------------------------------
*/
.footer {
background: var(--color-dark);
margin-top: auto;
}
.footer-menu {
justify-content: center;
display: flex;
flex-wrap: wrap;
grid-gap: 1rem;
padding: 1rem;
}
.footer-menu a {
color: var(--color-light);
min-width: fit-content;
}
/*
* --------------------------------------------------
* components/Cart
* --------------------------------------------------
*/
.cart-main {
height: 100%;
max-height: calc(100vh - var(--cart-aside-summary-height));
overflow-y: auto;
width: auto;
}
.cart-main.with-discount {
max-height: calc(100vh - var(--cart-aside-summary-height-with-discount));
}
/* —— ABiiR cart drawer (Figma 123:13655) —— */
aside[data-aside-type='cart'] {
background: #f8f4ef;
box-shadow: -8px 0 20px rgba(26, 26, 24, 0.12);
}
aside[data-aside-type='cart'] header {
height: var(--cart-aside-header-height);
min-height: var(--cart-aside-header-height);
padding: 0 25px;
border-bottom: 1px solid rgba(26, 26, 24, 0.08);
background: #f8f4ef;
}
aside[data-aside-type='cart'] header h3 {
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.83rem;
font-weight: 600;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #1a1a18;
}
aside[data-aside-type='cart'] header .close {
color: #1a1a18;
opacity: 1;
font-size: 1.5rem;
line-height: 1;
width: auto;
}
aside[data-aside-type='cart'] main {
margin: 0;
padding: 0;
height: calc(100vh - var(--cart-aside-header-height));
display: flex;
flex-direction: column;
min-height: 0;
}
/* —— Search drawer: match cart panel (Figma bag drawer) —— */
aside[data-aside-type='search'] {
background: #f8f4ef;
box-shadow: -8px 0 20px rgba(26, 26, 24, 0.12);
}
aside[data-aside-type='search'] header {
height: var(--cart-aside-header-height);
min-height: var(--cart-aside-header-height);
padding: 0 25px;
border-bottom: 1px solid rgba(26, 26, 24, 0.08);
background: #f8f4ef;
}
aside[data-aside-type='search'] header h3 {
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.83rem;
font-weight: 600;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #1a1a18;
}
aside[data-aside-type='search'] header .close {
color: #1a1a18;
opacity: 1;
font-size: 1.5rem;
line-height: 1;
width: auto;
}
aside[data-aside-type='search'] main {
margin: 0;
padding: 0;
height: calc(100vh - var(--cart-aside-header-height));
display: flex;
flex-direction: column;
min-height: 0;
}
.search-aside {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
height: 100%;
}
.search-aside-form,
.search-aside-form.predictive-search-form {
flex-shrink: 0;
margin: 0;
padding: 20px 25px 18px;
border-bottom: 1px solid rgba(26, 26, 24, 0.08);
background: #f8f4ef;
}
.search-aside__fields {
display: flex;
gap: 10px;
align-items: center;
}
.search-aside__input {
flex: 1;
min-width: 0;
border: 1px solid rgba(26, 26, 24, 0.15);
background: #fff;
color: #1a1a18;
font-family: 'Jost', system-ui, sans-serif;
font-size: 0.95rem;
line-height: 1.3;
padding: 12px 14px;
outline: none;
}
.search-aside__input::placeholder {
color: #7a7068;
}
.search-aside__input:focus {
border-color: rgba(193, 125, 92, 0.65);
box-shadow: 0 0 0 1px rgba(193, 125, 92, 0.22);
}
.search-aside__submit {
/* Shorter than full input row; paired with align-items: center on the field row */
box-sizing: border-box;
display: inline-flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
min-width: 5.5rem;
height: 2.7rem;
border: 0;
cursor: pointer;
background: rgba(93, 11, 36, 0.95);
color: #f8f4ef;
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.65rem;
font-weight: 600;
letter-spacing: 0.18em;
text-transform: uppercase;
line-height: 1.1;
padding: 0 16px;
transition: background 0.2s;
}
.search-aside__submit:hover {
background: #5d0b24;
}
.search-aside__scroll.predictive-search {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 4px 25px 28px;
-webkit-overflow-scrolling: touch;
}
.search-aside__status {
margin: 0.75rem 0 0;
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.85rem;
color: #7a7068;
}
.search-aside__view-all {
display: block;
margin-top: 1.25rem;
padding-top: 1.1rem;
border-top: 1px solid rgba(26, 26, 24, 0.08);
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.8rem;
font-weight: 500;
color: #5d0b24 !important;
text-decoration: none !important;
letter-spacing: 0.04em;
line-height: 1.45;
}
.search-aside__view-all:hover {
color: #1a1a18 !important;
}
.search-aside__view-all q {
font-style: italic;
color: #1a1a18;
}
/* Empty / copy-only (not loading) */
.search-aside__scroll.predictive-search > p:not(.search-aside__status) {
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.9rem;
line-height: 1.5;
color: #5a5550;
margin: 0.75rem 0 0;
}
.cart-aside-heading {
display: inline-flex;
align-items: center;
gap: 12px;
}
.cart-aside-heading__bag {
flex-shrink: 0;
color: #1a1a18;
}
.cart-aside-heading__title {
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.83rem;
font-weight: 600;
letter-spacing: 0.2em;
text-transform: uppercase;
}
.cart-main--abiir-aside {
max-height: none;
height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.cart-details--abiir-aside {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
height: 100%;
}
.cart-free-ship {
flex-shrink: 0;
background: #ede8e0;
padding: 13px 25px 14px;
}
.cart-free-ship--met .cart-free-ship__text {
color: #5a5550;
}
.cart-free-ship__text {
margin: 0 0 9px;
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.8rem;
line-height: 1.45;
color: #7a7068;
letter-spacing: 0.06em;
}
.cart-free-ship__accent {
font-weight: 500;
color: #c17d5c;
}
.cart-free-ship__accent * {
color: inherit !important;
}
.cart-free-ship__track {
height: 2px;
background: rgba(26, 26, 24, 0.12);
overflow: hidden;
border-radius: 1px;
}
.cart-free-ship__fill {
height: 100%;
background: #8a9e85;
transition: width 0.25s ease;
}
.cart-aside-lines {
flex: 1;
overflow-y: auto;
min-height: 0;
padding: 0 25px;
}
.cart-aside-lines ul {
list-style: none;
margin: 0;
padding: 0;
}
.cart-line--abiir-aside {
padding: 21px 0 0;
border-bottom: 1px solid rgba(26, 26, 24, 0.06);
}
.cart-line--abiir-aside:last-child {
border-bottom: none;
}
.cart-line-abiir {
display: flex;
gap: 17px;
align-items: flex-start;
}
.cart-line-abiir__img-wrap {
flex-shrink: 0;
display: block;
width: 80px;
background: #ede8e0;
overflow: hidden;
text-decoration: none;
}
.cart-line-abiir__img-wrap img {
display: block;
width: 80px;
height: 100px;
object-fit: cover;
margin: 0;
border-radius: 0;
}
.cart-line-abiir__body {
flex: 1;
min-width: 0;
}
.cart-line-abiir__top {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 8px;
}
.cart-line-abiir__vendor {
margin: 0 0 4px;
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.66rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #7a7068;
}
.cart-line-abiir__title-link {
text-decoration: none;
color: inherit;
}
.cart-line-abiir__title-link:hover .cart-line-abiir__title {
text-decoration: underline;
text-underline-offset: 3px;
}
.cart-line-abiir__title {
margin: 0 0 6px;
font-family:
'Cormorant Garamond',
'Georgia',
serif;
font-size: 1.17rem;
font-weight: 500;
line-height: 1.2;
color: #1a1a18;
}
.cart-line-abiir__meta {
margin: 0;
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.77rem;
font-weight: 300;
color: #7a7068;
}
.cart-line-abiir__remove {
border: none;
background: none;
padding: 6px;
cursor: pointer;
color: #1a1a18;
opacity: 0.65;
line-height: 0;
}
.cart-line-abiir__remove:hover:not(:disabled) {
opacity: 1;
}
.cart-line-abiir__remove:disabled {
opacity: 0.35;
cursor: not-allowed;
}
.cart-line-abiir__row {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 16px;
gap: 12px;
}
.cart-line-qty-abiir {
display: inline-flex;
align-items: stretch;
border: 1px solid rgba(26, 26, 24, 0.15);
height: 25px;
}
.cart-line-qty-abiir button {
border: none;
background: #f8f4ef;
width: 32px;
cursor: pointer;
font-size: 0.95rem;
line-height: 1;
color: #1a1a18;
padding: 0;
}
.cart-line-qty-abiir button:disabled {
opacity: 0.35;
cursor: not-allowed;
}
.cart-line-qty-abiir__value {
min-width: 30px;
display: flex;
align-items: center;
justify-content: center;
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.94rem;
font-weight: 500;
color: #1a1a18;
border-left: 1px solid rgba(26, 26, 24, 0.15);
border-right: 1px solid rgba(26, 26, 24, 0.15);
}
.cart-line-abiir__price {
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.98rem;
font-weight: 500;
color: #1a1a18;
}
.cart-summary-aside--abiir {
position: relative;
width: 100%;
flex-shrink: 0;
border-top: 1px solid rgba(26, 26, 24, 0.08);
padding: 25px 25px 22px;
background: #f8f4ef;
}
.cart-summary-aside__rows {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 22px;
}
.cart-summary-aside__row {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 12px;
}
.cart-summary-aside__label {
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.85rem;
color: #7a7068;
letter-spacing: 0.05em;
}
.cart-summary-aside__value {
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.85rem;
font-weight: 600;
color: #1a1a18;
}
.cart-summary-aside__value--muted {
font-weight: 500;
}
/* Subtotal row: +20% vs base label/value (0.85rem) */
.cart-summary-aside--abiir
.cart-summary-aside__row:first-child
.cart-summary-aside__label,
.cart-summary-aside--abiir
.cart-summary-aside__row:first-child
.cart-summary-aside__value {
font-size: calc(0.85rem * 1.2);
}
.cart-summary-aside__checkout {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
width: 100%;
min-height: 54px;
background: rgba(93, 11, 36, 0.95);
color: #f8f4ef !important;
text-decoration: none !important;
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 1.05rem;
font-weight: 700;
letter-spacing: 0.15em;
text-transform: uppercase;
margin-bottom: 0;
}
.cart-summary-aside__checkout:hover {
background: #5d0b24;
}
.cart-summary-aside__checkout-label * {
color: inherit !important;
}
.cart-summary-aside__checkout-arrow {
font-size: 1rem;
}
.cart-summary-aside__continue {
display: block;
text-align: center;
padding: 14px 12px;
margin-top: 4px;
border-bottom: 1px solid rgba(26, 26, 24, 0.2);
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.77rem;
letter-spacing: 0.14em;
text-transform: uppercase;
color: #7a7068 !important;
text-decoration: none !important;
}
.cart-summary-aside__continue:hover {
color: #1a1a18 !important;
}
.cart-summary-aside__trust {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px 17px;
margin-top: 18px;
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.59rem;
font-weight: 300;
letter-spacing: 0.06em;
color: #7a7068;
text-transform: none;
}
.cart-empty-aside {
padding: 32px 25px;
}
.cart-empty-aside__copy {
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.95rem;
line-height: 1.55;
color: #5a5550;
margin: 0 0 20px;
}
.cart-empty-aside__link {
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.14em;
text-transform: uppercase;
color: #5d0b24 !important;
}
.cart-line {
padding: 0.75rem 0;
}
.cart-line-inner {
display: flex;
}
.cart-line img {
height: 100%;
display: block;
margin-right: 0.75rem;
}
.cart-summary-page {
position: relative;
}
.cart-summary-aside:not(.cart-summary-aside--abiir) {
background: white;
border-top: 1px solid var(--color-dark);
bottom: 0;
padding-top: 0.75rem;
position: absolute;
width: calc(var(--aside-width) - 40px);
}
.cart-line-quantity {
display: flex;
}
/* Child line components (warranties, gift wrapping, etc.) */
.cart-line-children {
padding-left: 2rem;
}
.cart-discount {
align-items: center;
display: flex;
margin-top: 0.25rem;
}
.cart-subtotal {
align-items: center;
display: flex;
}
/*
* --------------------------------------------------
* components/Search
* --------------------------------------------------
*/
.predictive-search-result {
margin-bottom: 1.5rem;
}
.predictive-search-result h5 {
text-transform: uppercase;
}
/* Predictive list styling when shown in search aside (overrides) */
aside[data-aside-type='search'] .predictive-search-result {
margin-bottom: 1.75rem;
}
aside[data-aside-type='search'] .predictive-search-result h5 {
font-family:
'Raleway',
system-ui,
sans-serif;
font-size: 0.65rem;
font-weight: 600;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #1a1a18;
margin: 0 0 0.5rem;
}
aside[data-aside-type='search'] .predictive-search-result-item {
margin-bottom: 0.15rem;
}
aside[data-aside-type='search'] .predictive-search-result-item a {
color: #1a1a18;
text-decoration: none;
border-radius: 0;
padding: 0.4rem 0;
}
aside[data-aside-type='search'] .predictive-search-result-item a:hover {
color: #c17d5c;
}
aside[data-aside-type='search'] .predictive-search-result small {
font-family:
'Jost',
system-ui,
sans-serif;
color: #7a7068;
}
.predictive-search-result-item {
margin-bottom: 0.5rem;
}
.predictive-search-result-item a {
align-items: center;
display: flex;
}
.predictive-search-result-item a img {
margin-right: 0.75rem;
height: 100%;
}
.search-result {
margin-bottom: 1.5rem;
}
.search-results-item {
margin-bottom: 0.5rem;
}
.search-results-item a {
display: flex;
flex: row;
align-items: center;
gap: 1rem;
}
/*
* --------------------------------------------------
* routes/search.tsx (CollectionPageView + ABiiR product grid)
* --------------------------------------------------
*/
.search-page-form {
margin: 0;
width: 100%;
max-width: none;
}
.search-page-form__fields {
display: flex;
gap: 10px;
align-items: center;
}
.search-page-form__input {
flex: 1;
min-width: 0;
border: 1px solid rgba(26, 26, 24, 0.15);
background: #fff;
color: #1a1a18;
font-family: 'Jost', system-ui, sans-serif;
font-size: 0.95rem;
line-height: 1.3;
padding: 12px 14px;
outline: none;
}
.search-page-form__input::placeholder {
color: #7a7068;
}
.search-page-form__input:focus {
border-color: rgba(193, 125, 92, 0.65);
box-shadow: 0 0 0 1px rgba(193, 125, 92, 0.22);
}
.search-page-form__submit {
box-sizing: border-box;
display: inline-flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
min-width: 5.5rem;
height: 2.7rem;
border: 0;
cursor: pointer;
background: rgba(93, 11, 36, 0.95);
color: #f8f4ef;
font-family: 'Raleway', system-ui, sans-serif;
font-size: 0.65rem;
font-weight: 600;
letter-spacing: 0.18em;
text-transform: uppercase;
line-height: 1.1;
padding: 0 18px;
transition: background 0.2s;
}
.search-page-form__submit:hover {
background: #5d0b24;
}
/* Same row as .search-page-form__submit (e.g. account order filter "Clear") */
.search-page-form__button--secondary {
box-sizing: border-box;
display: inline-flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
min-width: 4.5rem;
height: 2.7rem;
border: 1px solid rgba(26, 26, 24, 0.2);
cursor: pointer;
background: #fff;
color: #1a1a18;
font-family: 'Raleway', system-ui, sans-serif;
font-size: 0.65rem;
font-weight: 600;
letter-spacing: 0.18em;
text-transform: uppercase;
line-height: 1.1;
padding: 0 14px;
transition:
background 0.2s,
border-color 0.2s;
}
.search-page-form__button--secondary:hover:not(:disabled) {
border-color: rgba(26, 26, 24, 0.35);
background: rgba(250, 248, 243, 0.9);
}
.search-page-form__button--secondary:disabled {
cursor: not-allowed;
opacity: 0.5;
}
.search-page__error {
margin: 0 0 1.25rem;
font-family: 'Raleway', system-ui, sans-serif;
font-size: 0.9rem;
color: #8b2c2c;
}
.search-page__empty {
margin: 0;
max-width: 40rem;
font-family: 'Raleway', system-ui, sans-serif;
font-size: 0.95rem;
line-height: 1.55;
color: #5a5550;
}
.search-page__empty q {
font-style: italic;
color: #1a1a18;
}
.search-page__empty-link {
color: #5d0b24 !important;
font-weight: 600;
text-decoration: underline;
text-underline-offset: 3px;
}
.search-page__empty-link:hover {
color: #1a1a18 !important;
}
.search-page__body {
display: flex;
flex-direction: column;
gap: 0;
}
.search-page__more {
display: flex;
flex-direction: column;
gap: 2rem;
margin-top: 2.5rem;
padding-top: 2rem;
border-top: 1px solid rgba(26, 26, 24, 0.08);
}
.search-page__section-title {
margin: 0 0 0.75rem;
font-family: 'Raleway', system-ui, sans-serif;
font-size: 0.65rem;
font-weight: 600;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #1a1a18;
}
.search-page__link-list {
list-style: none;
margin: 0;
padding: 0;
}
.search-page__link-list li {
margin-bottom: 0.4rem;
}
.search-page__link {
font-family: 'Raleway', system-ui, sans-serif;
font-size: 0.9rem;
font-weight: 500;
color: #1a1a18 !important;
text-decoration: none !important;
transition: color 0.15s;
}
.search-page__link:hover {
color: #c17d5c !important;
}
.search-page__products > div {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.search-page__products > div > a {
display: inline-block;
width: fit-content;
font-family: 'Raleway', system-ui, sans-serif;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #7a7068 !important;
text-decoration: none !important;
}
.search-page__products > div > a:hover {
color: #1a1a18 !important;
}
/*
* --------------------------------------------------
* routes/collections._index.tsx
* --------------------------------------------------
*/
.collections-grid {
display: grid;
grid-gap: 1.5rem;
grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-width), 1fr));
margin-bottom: 2rem;
}
.collection-item img {
height: auto;
}
/*
* --------------------------------------------------
* routes/collections.$handle.tsx
* --------------------------------------------------
*/
.collection-description {
margin-bottom: 1rem;
max-width: 95%;
@media (min-width: 45em) {
max-width: 600px;
}
}
.products-grid {
display: grid;
grid-gap: 1.5rem;
grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-width), 1fr));
margin-bottom: 2rem;
}
.product-item img {
height: auto;
width: 100%;
}
/*
* --------------------------------------------------
* routes/products.$handle.tsx
* --------------------------------------------------
*/
.product {
display: grid;
@media (min-width: 45em) {
grid-template-columns: 1fr 1fr;
grid-gap: 4rem;
}
}
.product h1 {
margin-top: 0;
}
.product-image img {
height: auto;
width: 100%;
}
.product-main {
align-self: start;
position: sticky;
top: 6rem;
}
.product-price-on-sale {
display: flex;
grid-gap: 0.5rem;
}
.product-price-on-sale s {
opacity: 0.5;
}
.product-options-grid {
display: flex;
flex-wrap: wrap;
grid-gap: 0.75rem;
}
.product-options-item,
.product-options-item:disabled {
padding: 0.25rem 0.5rem;
background-color: transparent;
font-size: 1rem;
font-family: inherit;
}
.product-option-label-swatch {
width: 1.25rem;
height: 1.25rem;
margin: 0.25rem 0;
}
.product-option-label-swatch img {
width: 100%;
}
/*
* --------------------------------------------------
* routes/blog._index.tsx
* --------------------------------------------------
*/
.blog-grid {
display: grid;
grid-gap: 1.5rem;
grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-width), 1fr));
margin-bottom: 2rem;
}
.blog-article-image {
aspect-ratio: 3/2;
display: block;
}
.blog-article-image img {
height: 100%;
}
/*
* --------------------------------------------------
* routes/blog.$articlehandle.tsx
* --------------------------------------------------
*/
.article img {
height: auto;
width: 100%;
}
/*
* --------------------------------------------------
* routes/account
* --------------------------------------------------
*/
.account-logout {
display: inline-block;
}
/*
* components/Newsletter — inline styles are primary; these back up if Tailwind/preflight wins.
*/
.newsletter-form .newsletter-submit {
height: 59px;
min-height: 59px;
margin-top: 5px;
box-sizing: border-box;
}
.newsletter-form .newsletter-email {
height: 61px;
min-height: 61px;
box-sizing: border-box;
}