Jake Vanderwerf
2026-09-06 eef16f5a0f5af0aea313e411534643678ba4bea1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
@media (min-width: 600px) {
    #wpadminbar ~ .wp-site-blocks nav.menu {
        top: calc(var(--btn) + 1rem + 16px);
    }
}
.scroll-up nav.menu {
    top: -2rem;
}
nav.menu {
    max-width: 100%;
    position: sticky;
    top: calc(var(--btn));
    z-index: 5;
    grid-column: full;
    background-color: rgba(var(--base-50), var(--op-6));
    box-shadow: var(--shdw-down) rgba(var(--base), var(--op-45));
 
    ul {
        --justify: flex-start;
        li {
            padding: 0 .5rem;
        }
    }
}
main {
    > header {
        grid-column: full;
 
        h1 {
            max-width: var(--wide);
        }
    }
 
    > section * {
        max-width: var(--wide)!important;
    }
}
 
.menu-item.menu-item {
    margin: var(--sp2);
    padding-top: var(--sp4);
    max-width: none;
    &:target {
        outline: none;
        background: transparent;
        border: 1rem solid rgb(var(--action-0));
        h3 {
            color: rgb(var(--action-0));
        }
    }
 
    +.menu-item {
        border-top: 1px solid rgb(var(--base-200));
    }
 
 
 
 
 
    .price s {
        font-size: var(--txt-small);
        vertical-align: top;
        display: inline-block;
        padding-right: 1rem;
    }
    .price:has(s) {
        color: rgb(var(--secondary-0));
 
        s {
            color: rgb(var(--contrast));
        }
    }
 
    .tags.left {
        left: -1rem;
 
        .sale, .featured {
            display: flex;
            --gap: .5rem;
            padding: .125rem .5rem;
            text-transform: uppercase;
            font-weight: var(--fw-h-bold);
            width: max-content;
        }
        .sale {
            background-color: rgb(var(--secondary-0));
            color: rgb(var(--secondary-contrast));
        }
        .featured {
            background-color: rgb(var(--action-0));
            color: rgb(var(--action-contrast));
        }
    }
 
    .header {
        flex-wrap:nowrap;
        figure {
            max-width: 30vw!important;
            aspect-ratio: 1;
            object-fit: cover;
        }
        h3, p {
            margin: 0;
            width: max-content;
        }
    }
 
    .gallery figure {
        max-width: min(15vw, 8rem) !important;
        aspect-ratio: 1;
        object-fit: cover;
    }
    figcaption {
        display: none;
    }
 
    .info {
        --gap: 0.5rem 0;
        h4 {
            margin: 0;
            font-weight: var(--fw-h);
            font-size: var(--txt-medium);
        }
        .row {
            --gap:1rem;
 
            > a, figure, h4 {
                position: sticky;
                top: calc(var(--btnbtn) + 2.5rem);
                background-color: rgb(var(--base-50));
                z-index: 1;
            }
            >div {
                flex: 1;
            }
            > a {
                white-space: nowrap;
                width: max-content;
            }
            figure {
                max-width: min(10vw, 5rem) !important;
                aspect-ratio: 1;
                object-fit: cover;
                margin: 0;
                margin-inline: 0;
            }
        }
 
        .sale-until,
        .out-of-stock {
            font-size: var(--txt-x-small);
            font-style: italic;
 
            i.icon {
                vertical-align: top;
                padding-right: 1rem;
                color: rgb(var(--secondary-0));
            }
        }
    }
 
    .field.quantity.quantity > label {
        position: absolute;
        left: var(--offScreen);
    }
 
    @media (max-width: 768px) {
        &:target {
            border: 0;
        }
        .header.row {
            flex-direction:column;
 
            > figure {
                aspect-ratio: 16/9;
                max-width: 100%!important;
            }
        }
        .info {
            padding-top: 1rem;
 
            .row {
                --gap: 0;
 
                &.nowrap.nowrap {
                    --wrap: wrap!important;
                }
                + .row {
                    border-top: 1px solid rgb(var(--base-200));
                    padding-top: .5rem;
                }
                > figure {
                    order: 2;
                    max-width: min(25vw, 6rem)!important;
                }
                > a {
                    order: 3;
                }
            }
 
        }
 
        .gallery {
            gap: .25rem;
        }
    }
}