AgPerry's picture
Add files using upload-large-folder tool
489b6e2 verified
Raw History Blame Contribute Delete
27.5 kB
/* Lowe's offline clone — layout and theme.
*
* Values are reconstructed from the two sanitized desktop screenshots in
* source-current/ (1200px wide): dark navy promotion strip, navy logo lockup,
* light-gray store/ZIP pills, a wide rounded search control, a dense category
* nav, rounded recommended-search chips, a dark promotional hero and white
* product/deal cards. Nothing here is copied from lowes.com CSS.
*/
:root {
--navy: #012169;
--brand: #004990;
--brand-dark: #003268;
--brand-button: #2c6ecb;
--brand-button-hover: #21579f;
--red: #c8102e;
--red-bright: #e11b22;
--ink: #1a1a1a;
--ink-soft: #4a4a4a;
--ink-muted: #6b6b6b;
--line: #d9d9d9;
--line-strong: #767676;
--surface: #ffffff;
--surface-alt: #f4f5f6;
--surface-chip: #eff0f2;
--page: #ffffff;
--focus: #0b5fd0;
--radius-sm: 4px;
--radius: 8px;
--radius-pill: 999px;
--shell: 1140px;
--shadow-card: 0 1px 3px rgba(0, 0, 0, 0.16);
--shadow-pop: 0 8px 28px rgba(0, 0, 0, 0.22);
}
* {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
background: var(--page);
color: var(--ink);
font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
font-size: 16px;
line-height: 1.45;
}
a {
color: var(--brand);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
outline: 2px solid var(--focus);
outline-offset: 2px;
}
img,
svg {
max-width: 100%;
}
button {
font: inherit;
}
.shell {
max-width: var(--shell);
margin: 0 auto;
padding: 0 16px;
}
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
border: 0;
}
/* --------------------------------------------------------------------- */
/* promotion strip */
/* --------------------------------------------------------------------- */
.promo-strip {
background: var(--navy);
color: #ffffff;
font-size: 13px;
}
.promo-strip .shell {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 32px;
}
.promo-strip a {
color: #ffffff;
}
.promo-strip__deal {
font-weight: 700;
}
.promo-strip__links {
display: flex;
gap: 22px;
list-style: none;
margin: 0;
padding: 0;
}
/* --------------------------------------------------------------------- */
/* masthead */
/* --------------------------------------------------------------------- */
.masthead {
border-bottom: 1px solid var(--line);
background: var(--surface);
}
.masthead__row {
display: flex;
align-items: center;
gap: 16px;
min-height: 72px;
}
.brand-logo {
display: inline-flex;
align-items: center;
flex: 0 0 auto;
}
.brand-logo img {
display: block;
width: 82px;
height: 38px;
}
.locator {
display: flex;
align-items: center;
gap: 8px;
background: var(--surface-chip);
border-radius: var(--radius);
padding: 6px 10px;
flex: 0 0 auto;
}
.locator__button {
display: inline-flex;
align-items: center;
gap: 6px;
background: transparent;
border: 0;
border-radius: var(--radius-sm);
color: var(--ink);
cursor: pointer;
font-size: 13px;
padding: 4px 6px;
white-space: nowrap;
}
.locator__button:hover {
text-decoration: underline;
}
.locator__button strong {
font-weight: 700;
}
.locator__divider {
width: 1px;
height: 22px;
background: #c9cbcf;
}
.searchbar {
position: relative;
flex: 1 1 auto;
min-width: 180px;
}
.searchbar__form {
display: flex;
align-items: center;
gap: 8px;
border: 1px solid var(--line-strong);
border-radius: var(--radius);
background: var(--surface);
padding: 0 8px 0 14px;
height: 44px;
}
.searchbar__form:focus-within {
border-color: var(--brand);
box-shadow: 0 0 0 2px rgba(0, 73, 144, 0.18);
}
.searchbar__input {
flex: 1 1 auto;
border: 0;
outline: none;
font-size: 15px;
color: var(--ink);
background: transparent;
min-width: 0;
}
.searchbar__input::placeholder {
color: #5b5b5b;
}
.icon-button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border: 0;
border-radius: var(--radius-sm);
background: transparent;
color: var(--ink);
cursor: pointer;
}
.icon-button:hover {
background: var(--surface-chip);
}
.suggestions {
position: absolute;
z-index: 40;
top: calc(100% + 4px);
left: 0;
right: 0;
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow-pop);
overflow: hidden;
}
.suggestions[hidden] {
display: none;
}
.suggestions__group {
padding: 6px 0;
border-bottom: 1px solid var(--line);
}
.suggestions__group:last-child {
border-bottom: 0;
}
.suggestions__label {
font-size: 11px;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--ink-muted);
padding: 4px 14px;
}
.suggestions__item {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 8px 14px;
border: 0;
background: transparent;
text-align: left;
font-size: 14px;
color: var(--ink);
cursor: pointer;
}
.suggestions__item:hover,
.suggestions__item[aria-selected="true"] {
background: var(--surface-chip);
}
.suggestions__item mark {
background: transparent;
font-weight: 700;
color: var(--ink);
}
.masthead__utilities {
display: flex;
align-items: center;
gap: 6px;
flex: 0 0 auto;
}
.utility {
display: inline-flex;
flex-direction: column;
align-items: center;
gap: 2px;
min-width: 62px;
padding: 6px 6px;
border: 0;
border-radius: var(--radius-sm);
background: transparent;
color: var(--ink);
cursor: pointer;
font-size: 12px;
line-height: 1.15;
text-align: center;
}
.utility:hover {
background: var(--surface-chip);
text-decoration: none;
}
.utility__count {
position: absolute;
transform: translate(14px, -6px);
background: var(--red-bright);
color: #ffffff;
border-radius: var(--radius-pill);
font-size: 11px;
font-weight: 700;
min-width: 18px;
padding: 0 5px;
line-height: 18px;
}
.utility--cart {
position: relative;
}
/* --------------------------------------------------------------------- */
/* category navigation */
/* --------------------------------------------------------------------- */
.catnav {
border-bottom: 1px solid var(--line);
background: var(--surface);
}
.catnav__list {
display: flex;
align-items: center;
gap: clamp(10px, 1.5vw, 22px);
list-style: none;
margin: 0;
padding: 0;
min-height: 48px;
overflow: visible;
}
.catnav__link {
display: inline-flex;
align-items: center;
gap: 7px;
color: var(--ink);
font-size: 14px;
white-space: nowrap;
padding: 4px 0;
}
.catnav__item {
position: relative;
flex: 0 0 auto;
}
.catnav__item details > summary {
cursor: pointer;
list-style: none;
}
.catnav__item details > summary::-webkit-details-marker {
display: none;
}
.catnav__item details[open] > .catnav__link,
.catnav__item details > summary:hover,
.catnav__item details > summary:focus-visible {
color: var(--blue);
text-decoration: underline;
text-underline-offset: 5px;
}
.catnav__menu {
position: absolute;
z-index: 45;
top: calc(100% + 12px);
left: -18px;
width: 250px;
padding: 18px;
border: 1px solid var(--line);
border-top: 3px solid var(--blue);
background: var(--surface);
box-shadow: 0 16px 34px rgba(0, 28, 72, 0.18);
}
.catnav__menu::before {
content: "";
position: absolute;
left: 0;
right: 0;
top: -15px;
height: 15px;
}
.catnav__menu strong,
.catnav__menu a {
display: block;
}
.catnav__menu strong {
margin-bottom: 9px;
font-size: 16px;
}
.catnav__menu a {
padding: 8px 0;
color: var(--ink);
border-bottom: 1px solid var(--line-soft);
}
.catnav__menu .catnav__all {
margin-top: 6px;
border-bottom: 0;
color: var(--blue);
font-weight: 700;
}
.catnav__link--strong {
font-weight: 700;
}
.badge-new {
background: var(--red-bright);
color: #ffffff;
border-radius: var(--radius-pill);
font-size: 10px;
font-weight: 700;
letter-spacing: 0.04em;
padding: 2px 7px;
text-transform: uppercase;
}
.category-links {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 14px;
margin: 20px 0 8px;
}
.category-links > a {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
padding: 18px 12px;
border: 1px solid var(--line);
border-radius: var(--radius-card);
background: var(--surface);
color: var(--ink);
font-weight: 700;
text-align: center;
}
.category-links > a:hover,
.category-links > a:focus-visible {
border-color: var(--blue);
box-shadow: 0 7px 18px rgba(0, 65, 136, 0.12);
}
.category-link__art {
display: grid;
place-items: center;
width: 62px;
height: 62px;
border-radius: 50%;
background: var(--blue-soft);
color: var(--blue);
font-size: 24px;
}
/* --------------------------------------------------------------------- */
/* home: recommended searches */
/* --------------------------------------------------------------------- */
.section {
padding: 26px 0;
}
.section__head {
display: flex;
align-items: baseline;
gap: 14px;
margin-bottom: 16px;
flex-wrap: wrap;
}
.section__title {
font-size: 20px;
font-weight: 700;
margin: 0;
}
.section__more {
font-size: 14px;
font-weight: 700;
}
.chip-row {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.chip {
display: inline-flex;
align-items: center;
border: 1px solid var(--line-strong);
border-radius: var(--radius-pill);
background: var(--surface);
color: var(--ink);
font-size: 14px;
padding: 9px 20px;
white-space: nowrap;
}
.chip:hover {
border-color: var(--ink);
background: var(--surface-chip);
text-decoration: none;
}
/* --------------------------------------------------------------------- */
/* hero */
/* --------------------------------------------------------------------- */
.hero {
background: #2b2b2b;
border-radius: 6px;
color: #ffffff;
padding: 26px 24px 22px;
}
.hero__title {
margin: 0 0 10px;
font-size: 30px;
font-weight: 700;
text-align: center;
}
.hero__brands {
display: flex;
align-items: center;
justify-content: center;
gap: 18px;
color: #d6d6d6;
font-size: 12px;
letter-spacing: 0.14em;
text-transform: uppercase;
margin-bottom: 18px;
flex-wrap: wrap;
}
.hero__panel {
display: grid;
grid-template-columns: minmax(240px, 320px) 1fr;
gap: 20px;
border: 1px solid #4a4a4a;
border-radius: 4px;
padding: 18px;
align-items: center;
}
.hero__eyebrow {
font-size: 12px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #d6d6d6;
}
.hero__save {
font-size: 15px;
margin: 8px 0 0;
}
.hero__amount {
font-size: 56px;
font-weight: 800;
line-height: 1;
margin: 4px 0 10px;
}
.hero__amount sup {
font-size: 24px;
top: -1.1em;
}
.hero__copy {
font-size: 14px;
color: #e4e4e4;
margin: 0 0 16px;
max-width: 30ch;
}
.hero__table {
border-collapse: collapse;
font-size: 13px;
margin: 12px 0 16px;
}
.hero__table th,
.hero__table td {
border: 1px solid #6f6f6f;
padding: 4px 12px;
text-align: left;
}
.hero__art img {
display: block;
width: 100%;
border-radius: 3px;
}
.members {
display: flex;
align-items: center;
gap: 22px;
flex-wrap: wrap;
border-top: 1px solid #4a4a4a;
margin-top: 18px;
padding-top: 16px;
font-size: 13px;
color: #e4e4e4;
}
.members strong {
color: #ffffff;
}
/* --------------------------------------------------------------------- */
/* buttons */
/* --------------------------------------------------------------------- */
.button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border: 1px solid transparent;
border-radius: var(--radius-sm);
cursor: pointer;
font-size: 15px;
font-weight: 700;
padding: 11px 22px;
text-align: center;
}
.button:hover {
text-decoration: none;
}
.button--primary {
background: var(--brand-button);
color: #ffffff;
}
.button--primary:hover {
background: var(--brand-button-hover);
}
.button--light {
background: #ffffff;
color: var(--ink);
border-color: #ffffff;
}
.button--outline {
background: transparent;
border-color: var(--ink);
color: var(--ink);
}
.button--block {
width: 100%;
}
.button[disabled],
.button[aria-disabled="true"] {
background: #c9cbcf;
color: #6b6b6b;
cursor: not-allowed;
}
/* --------------------------------------------------------------------- */
/* product cards */
/* --------------------------------------------------------------------- */
.card-grid {
display: grid;
gap: 16px;
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card-grid--two {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-card {
position: relative;
display: flex;
flex-direction: column;
border: 1px solid var(--line);
border-radius: var(--radius-sm);
background: var(--surface);
overflow: hidden;
}
.product-card__flag {
position: absolute;
top: 0;
left: 0;
width: 0;
height: 0;
border-top: 54px solid var(--red);
border-right: 54px solid transparent;
}
.product-card__flag-text {
position: absolute;
top: 6px;
left: 5px;
color: #ffffff;
font-size: 10px;
font-weight: 700;
transform: rotate(-45deg);
transform-origin: left top;
letter-spacing: 0.04em;
}
.product-card__media {
display: block;
padding: 14px;
background: var(--surface);
}
.product-card__media img {
display: block;
width: 100%;
height: auto;
aspect-ratio: 4 / 3;
object-fit: contain;
}
.product-card__body {
display: flex;
flex-direction: column;
gap: 6px;
padding: 0 14px 14px;
flex: 1 1 auto;
}
.product-card__brand {
font-size: 12px;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--ink-muted);
}
.product-card__title {
font-size: 14px;
margin: 0;
color: var(--ink);
display: block;
}
.product-card__title:hover {
text-decoration: underline;
}
.price {
display: flex;
align-items: flex-start;
gap: 8px;
flex-wrap: wrap;
}
.price__amount {
font-size: 26px;
font-weight: 800;
line-height: 1.05;
}
.price__amount sup {
font-size: 14px;
top: -0.7em;
}
.price__was {
font-size: 13px;
color: var(--ink-muted);
text-decoration: line-through;
align-self: flex-end;
}
.price__save {
font-size: 13px;
font-weight: 700;
color: var(--red);
align-self: flex-end;
}
.rating {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: var(--ink-soft);
}
.rating__stars {
color: #f0a202;
letter-spacing: 1px;
}
.fulfillment {
font-size: 13px;
color: var(--ink-soft);
display: flex;
flex-direction: column;
gap: 2px;
}
.fulfillment strong {
color: var(--ink);
}
/* --------------------------------------------------------------------- */
/* services + footer */
/* --------------------------------------------------------------------- */
.service-grid {
display: grid;
gap: 16px;
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-card {
border: 1px solid var(--line);
border-radius: var(--radius-sm);
padding: 18px;
background: var(--surface);
}
.service-card h3 {
font-size: 16px;
margin: 10px 0 6px;
}
.service-card p {
font-size: 14px;
color: var(--ink-soft);
margin: 0 0 12px;
}
.site-footer {
background: var(--surface-alt);
border-top: 1px solid var(--line);
margin-top: 34px;
padding: 30px 0 40px;
font-size: 14px;
}
.footer-grid {
display: grid;
gap: 24px;
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.footer-grid h3 {
font-size: 14px;
margin: 0 0 10px;
}
.footer-grid ul {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 7px;
}
.footer-grid a {
color: var(--ink);
font-size: 13px;
}
.footer-note {
margin-top: 26px;
padding-top: 16px;
border-top: 1px solid var(--line);
color: var(--ink-muted);
font-size: 12px;
}
/* --------------------------------------------------------------------- */
/* account drawer */
/* --------------------------------------------------------------------- */
.drawer-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
z-index: 60;
}
.drawer-overlay[hidden] {
display: none;
}
.drawer {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: min(505px, 100%);
background: var(--surface);
z-index: 61;
overflow-y: auto;
box-shadow: var(--shadow-pop);
padding: 22px 26px 40px;
}
.drawer[hidden] {
display: none;
}
.drawer__head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
border-bottom: 1px solid var(--line);
padding-bottom: 16px;
}
.drawer__title {
font-size: 22px;
font-weight: 700;
margin: 0;
}
.drawer__intro {
font-size: 15px;
margin: 18px 0 16px;
}
.drawer__legal {
font-size: 13px;
color: var(--ink-soft);
margin: 16px 0 0;
}
.drawer__benefits {
list-style: none;
margin: 22px 0 0;
padding: 0;
display: grid;
gap: 12px;
}
.drawer__benefits li {
display: flex;
align-items: center;
gap: 10px;
font-size: 15px;
}
.field {
display: block;
margin-bottom: 14px;
}
.field__label {
display: block;
font-size: 13px;
font-weight: 700;
margin-bottom: 5px;
}
.field__control {
width: 100%;
height: 46px;
border: 1px solid var(--line-strong);
border-radius: var(--radius-sm);
padding: 0 12px;
font-size: 15px;
color: var(--ink);
background: var(--surface);
}
textarea.field__control {
height: auto;
padding: 10px 12px;
}
select.field__control {
padding-right: 8px;
}
.field__control:focus {
border-color: var(--brand);
outline: none;
box-shadow: 0 0 0 2px rgba(0, 73, 144, 0.18);
}
.field__error {
display: block;
color: var(--red);
font-size: 13px;
margin-top: 5px;
}
.checkbox {
display: flex;
align-items: center;
gap: 10px;
font-size: 15px;
margin: 6px 0 18px;
}
.notice {
border: 1px solid var(--line);
border-left: 4px solid var(--brand-button);
border-radius: var(--radius-sm);
background: var(--surface-alt);
padding: 12px 14px;
font-size: 14px;
margin: 0 0 16px;
}
.notice--error {
border-left-color: var(--red);
}
.notice--sandbox {
border-left-color: #f0a202;
}
.notice code {
font-size: 15px;
font-weight: 700;
letter-spacing: 0.14em;
}
/* --------------------------------------------------------------------- */
/* search results */
/* --------------------------------------------------------------------- */
.results-layout {
display: grid;
grid-template-columns: 244px minmax(0, 1fr);
gap: 26px;
align-items: start;
}
.filters {
border: 1px solid var(--line);
border-radius: var(--radius-sm);
padding: 16px;
}
.filters__group {
border-bottom: 1px solid var(--line);
padding-bottom: 14px;
margin-bottom: 14px;
}
.filters__group:last-of-type {
border-bottom: 0;
}
.filters__legend {
font-size: 14px;
font-weight: 700;
margin-bottom: 8px;
padding: 0;
}
.filters__option {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
padding: 3px 0;
}
.filters__price {
display: flex;
gap: 8px;
}
.filters__price .field__control {
height: 38px;
}
.results-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
flex-wrap: wrap;
margin-bottom: 16px;
}
.results-head__count {
font-size: 14px;
color: var(--ink-soft);
}
.pagination {
display: flex;
align-items: center;
gap: 8px;
margin-top: 24px;
flex-wrap: wrap;
}
.pagination__link {
border: 1px solid var(--line-strong);
border-radius: var(--radius-sm);
padding: 7px 13px;
font-size: 14px;
color: var(--ink);
}
.pagination__link[aria-current="page"] {
background: var(--brand);
border-color: var(--brand);
color: #ffffff;
font-weight: 700;
}
.applied-filters {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 14px;
}
.applied-filters__chip {
display: inline-flex;
align-items: center;
gap: 6px;
border: 1px solid var(--line-strong);
border-radius: var(--radius-pill);
font-size: 13px;
padding: 4px 12px;
color: var(--ink);
}
.empty-state {
border: 1px dashed var(--line-strong);
border-radius: var(--radius);
padding: 34px;
text-align: center;
color: var(--ink-soft);
}
/* --------------------------------------------------------------------- */
/* product detail */
/* --------------------------------------------------------------------- */
.pdp {
display: grid;
grid-template-columns: 96px minmax(0, 1fr) 330px;
gap: 22px;
align-items: start;
}
.pdp__thumbs {
display: grid;
gap: 10px;
}
.pdp__thumb {
border: 1px solid var(--line);
border-radius: var(--radius-sm);
padding: 5px;
background: var(--surface);
cursor: pointer;
}
.pdp__thumb[aria-current="true"] {
border-color: var(--brand);
border-width: 2px;
}
.pdp__stage {
border: 1px solid var(--line);
border-radius: var(--radius-sm);
padding: 18px;
}
.pdp__stage img {
display: block;
width: 100%;
aspect-ratio: 1 / 1;
object-fit: contain;
}
.pdp__buybox {
border: 1px solid var(--line);
border-radius: var(--radius-sm);
padding: 18px;
display: grid;
gap: 14px;
}
.pdp__title {
font-size: 24px;
margin: 0 0 6px;
}
.fulfillment-choice {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.fulfillment-choice label {
border: 1px solid var(--line-strong);
border-radius: var(--radius-sm);
padding: 10px;
font-size: 13px;
display: grid;
gap: 3px;
cursor: pointer;
}
.fulfillment-choice input {
margin-right: 6px;
}
.fulfillment-choice label:has(input:checked) {
border-color: var(--brand);
border-width: 2px;
padding: 9px;
}
.quantity {
display: inline-flex;
align-items: center;
border: 1px solid var(--line-strong);
border-radius: var(--radius-sm);
overflow: hidden;
}
.quantity button {
width: 38px;
height: 40px;
border: 0;
background: var(--surface-chip);
cursor: pointer;
font-size: 18px;
}
.quantity input {
width: 56px;
height: 40px;
border: 0;
border-left: 1px solid var(--line);
border-right: 1px solid var(--line);
text-align: center;
font-size: 15px;
}
.spec-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
.spec-table th,
.spec-table td {
border-bottom: 1px solid var(--line);
padding: 9px 6px;
text-align: left;
vertical-align: top;
}
.spec-table th {
width: 34%;
color: var(--ink-soft);
font-weight: 400;
}
/* --------------------------------------------------------------------- */
/* cart + checkout */
/* --------------------------------------------------------------------- */
.cart-layout,
.checkout-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 330px;
gap: 26px;
align-items: start;
}
.cart-line {
display: grid;
grid-template-columns: 108px minmax(0, 1fr) auto;
gap: 16px;
border: 1px solid var(--line);
border-radius: var(--radius-sm);
padding: 14px;
margin-bottom: 14px;
}
.cart-line__media img {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: contain;
}
.cart-line__actions {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
margin-top: 10px;
}
.link-button {
background: transparent;
border: 0;
color: var(--brand);
cursor: pointer;
font-size: 14px;
padding: 0;
text-decoration: underline;
}
.summary {
border: 1px solid var(--line);
border-radius: var(--radius-sm);
padding: 18px;
display: grid;
gap: 10px;
}
.summary__row {
display: flex;
justify-content: space-between;
gap: 12px;
font-size: 14px;
}
.summary__row--total {
border-top: 1px solid var(--line);
padding-top: 10px;
font-size: 18px;
font-weight: 800;
}
.steps {
display: flex;
gap: 18px;
list-style: none;
margin: 0 0 20px;
padding: 0;
font-size: 13px;
color: var(--ink-muted);
flex-wrap: wrap;
}
.steps li[aria-current="step"] {
color: var(--ink);
font-weight: 700;
}
.order-banner {
border: 1px solid var(--line);
border-left: 5px solid #2e7d32;
border-radius: var(--radius-sm);
padding: 18px;
margin-bottom: 22px;
}
.tag {
display: inline-flex;
align-items: center;
border-radius: var(--radius-pill);
font-size: 12px;
font-weight: 700;
padding: 3px 10px;
background: var(--surface-chip);
color: var(--ink-soft);
}
.tag--approved {
background: #e5f3e6;
color: #1f6d24;
}
.tag--declined {
background: #fce8ea;
color: #96122a;
}
.tag--retryable {
background: #fdf1dc;
color: #8a5a00;
}
.breadcrumbs {
font-size: 13px;
color: var(--ink-muted);
padding: 14px 0 0;
}
.page-title {
font-size: 28px;
margin: 14px 0 18px;
}
/* --------------------------------------------------------------------- */
/* responsive */
/* --------------------------------------------------------------------- */
@media (max-width: 1080px) {
.card-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pdp {
grid-template-columns: 80px minmax(0, 1fr);
}
.pdp__buybox {
grid-column: 1 / -1;
}
}
@media (max-width: 900px) {
.catnav__list {
align-items: flex-start;
flex-wrap: wrap;
gap: 2px 16px;
padding: 8px 0;
}
.catnav__item {
position: static;
}
.catnav__menu {
left: var(--shell-pad);
right: var(--shell-pad);
width: auto;
}
.masthead__row {
flex-wrap: wrap;
padding: 10px 0;
}
.searchbar {
order: 3;
flex-basis: 100%;
}
.results-layout,
.cart-layout,
.checkout-layout {
grid-template-columns: minmax(0, 1fr);
}
.footer-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero__panel {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 640px) {
.promo-strip__links {
display: none;
}
.card-grid,
.card-grid--two {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.locator {
order: 2;
flex: 1 1 auto;
}
.masthead__utilities {
order: 2;
}
.utility {
min-width: 54px;
}
.hero__title {
font-size: 22px;
}
.hero__amount {
font-size: 42px;
}
.cart-line {
grid-template-columns: 76px minmax(0, 1fr);
}
.cart-line__price {
grid-column: 1 / -1;
}
.page-title {
font-size: 22px;
}
}
@media (max-width: 420px) {
.card-grid,
.card-grid--two {
grid-template-columns: minmax(0, 1fr);
}
.footer-grid {
grid-template-columns: minmax(0, 1fr);
}
}