@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
    --bg: #E7EDF2;
    --bg-deep: #D7E0E8;
    --surface: #FFFFFF;
    --ink: #121A22;
    --ink-soft: #3A4A58;
    --muted: #6A7B89;
    --line: rgba(18, 26, 34, 0.12);
    --line-strong: rgba(18, 26, 34, 0.22);
    --accent: #0F766E;
    --accent-hover: #0B5F59;
    --accent-soft: rgba(15, 118, 110, 0.12);
    --warn: #C2410C;
    --danger: #BE123C;
    --shadow: 0 18px 40px rgba(18, 26, 34, 0.08);
    --r: 4px;
    --r-lg: 12px;
    --header-h: 72px;
    --side-w: 220px;
    --container: 1180px;
    --font-display: "Syne", sans-serif;
    --font-body: "Manrope", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(15, 118, 110, 0.12), transparent 55%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0;
}

.shell {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    backdrop-filter: blur(14px);
    background: rgba(231, 237, 242, 0.86);
    border-bottom: 1px solid var(--line);
}

.topbar__inner {
    max-width: var(--container);
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
}

.brand__logo {
    height: 28px;
    width: auto;
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--ink);
}

.search {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 6px 6px 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.search input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    min-width: 0;
    color: var(--ink);
}

.search button {
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
    position: relative;
    transition: transform .2s var(--ease), background .2s ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
    background: #fff;
}

.cart-btn__num {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.cart-btn__num.is-empty {
    display: none;
}

.menu-btn {
    display: none;
}

/* Layout with side nav */
.layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px 20px 72px;
    display: grid;
    grid-template-columns: var(--side-w) minmax(0, 1fr);
    gap: 28px;
}

.sidenav {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    align-self: start;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 18px 14px;
    box-shadow: var(--shadow);
}

.sidenav__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 10px 12px;
}

.sidenav a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--ink-soft);
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
}

.sidenav a:hover,
.sidenav a.is-active {
    background: var(--accent-soft);
    color: var(--accent);
}

.main-panel {
    min-width: 0;
}

/* Hero magazine */
.hero {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    min-height: 420px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
    animation: rise .7s var(--ease) both;
}

.hero__copy {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    background:
        linear-gradient(160deg, #ffffff 0%, #f3f7f8 100%);
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin:0;
}

.hero__title {
    font-size: clamp(20px, 4vw, 42px);
    /*max-width: 14ch;*/
}

.hero__title a:hover {
    color: var(--accent);
}

.hero__price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.hero__sale {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--ink);
}

.hero__was {
    color: var(--muted);
    text-decoration: line-through;
}

.hero__off {
    background: var(--warn);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.hero__media {
    position: relative;
    background: #f8fafb;
    min-height: 320px;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 28px;
}

.hero__heat {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(18, 26, 34, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    transition: transform .2s var(--ease), background .2s ease, color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover {
    background: var(--accent-hover);
}

.btn--ghost {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--icon {
    width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}

.btn--icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Section */
.section {
    margin-bottom: 32px;
}

.section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section__title {
    font-size: 24px;
}

.section__hint {
    color: var(--muted);
    font-size: 13px;
}

/* Popular shelf */
.shelf {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 240px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}

.shelf::-webkit-scrollbar {
    height: 6px;
}

.shelf::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 999px;
}

.shelf-card {
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    transition: transform .25s var(--ease), box-shadow .25s ease;
}

.shelf-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.shelf-card__media {
    aspect-ratio: 1;
    background: #f7fafb;
    position: relative;
}

.shelf-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.shelf-card__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.shelf-card__cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.shelf-card__title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shelf-card__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
}

.price--sm {
    font-size: 16px;
}

/* Catalog rows */
.catalog {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    transition: border-color .2s ease, transform .2s var(--ease);
    animation: rise .6s var(--ease) both;
}

.product-row:nth-child(even) {
    background: linear-gradient(90deg, #ffffff 0%, #f4f8f9 100%);
}

.product-row:hover {
    border-color: rgba(15, 118, 110, 0.35);
    transform: translateX(2px);
}

.product-row__media {
    width: 180px;
    height: 140px;
    border-radius: 10px;
    background: #f7fafb;
    overflow: hidden;
}

.product-row__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.product-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
}

.product-row__title {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-row__title a:hover {
    color: var(--accent);
}

.product-row__prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.product-row__was {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 13px;
}

.product-row__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 140px;
}

/* Page heads */
.page-head {
    margin-bottom: 22px;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.crumbs a:hover {
    color: var(--accent);
}

.page-head__title {
    font-size: clamp(28px, 4vw, 40px);
}

.page-head__desc {
    margin: 8px 0 0;
    color: var(--muted);
}

/* Detail */
.detail {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.detail__gallery {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.detail__gallery img {
    width: auto;
    height: fit-content;
    max-height: 400px;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 28px;
    margin: auto;
    /*background: #f8fafb;*/
}

.detail__buy {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.detail__cat {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail__title {
    font-size: clamp(26px, 3.5vw, 36px);
    margin: 10px 0 16px;
}

.detail__price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}

.detail__sale {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--ink);
}

.detail__was {
    color: var(--muted);
    text-decoration: line-through;
}

.detail__meta {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.detail__content {
    margin-top: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
}

.detail__content h2 {
    font-size: 22px;
    margin: 24px 0 10px;
}

.detail__content h2:first-child {
    margin-top: 0;
}

.detail__content img {
    border-radius: 10px;
    margin: 12px 0;
}

.other-info {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.other-info > h2,
.other-info > p {
    margin: 0;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid var(--line);
}

.other-info > h2 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
}

.other-info > h2:nth-child(4n + 1),
.other-info > p:nth-child(4n + 2) {
    background: #f3f7f8;
}

.other-info > h2:nth-child(4n + 3),
.other-info > p:nth-child(4n + 4) {
    background: #ffffff;
}

.other-info > h2:nth-last-child(2),
.other-info > p:last-child {
    border-bottom: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

/* Search */
.search-hero {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: var(--shadow);
}

.search-hero__form {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.search-hero__form input {
    flex: 1;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid var(--line);
    padding: 0 18px;
    outline: none;
}

.search-hero__form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Cart page */
.cart-page__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.cart-page__clear {
    border: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
}

.cart-table {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.cart-table__head,
.cart-table__row {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) 100px 140px 100px 90px;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
}

.cart-table__head {
    background: #f3f7f8;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.cart-table__row {
    border-top: 1px solid var(--line);
}

.cart-table__product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cart-table__thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: #f7fafb;
    overflow: hidden;
    flex: none;
}

.cart-table__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cart-table__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
}

.cart-qty button {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cart-qty span {
    min-width: 36px;
    text-align: center;
    font-weight: 600;
}

.cart-table__remove {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    justify-self: end;
}

.cart-table__remove:hover {
    color: var(--danger);
}

.cart-table__empty {
    padding: 40px 18px;
    text-align: center;
    color: var(--muted);
}

.cart-table__empty a {
    color: var(--accent);
    font-weight: 600;
}

.cart-summary {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.cart-summary__box {
    width: min(100%, 360px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.cart-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 16px;
}

.cart-summary__total strong {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--ink);
}

/* Cart drawer */
body.cart-open {
    overflow: hidden;
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
}

.cart-drawer[hidden] {
    display: none;
}

.cart-drawer.is-open {
    pointer-events: auto;
}

.cart-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 26, 34, 0.45);
    opacity: 0;
    transition: opacity .2s ease;
}

.cart-drawer.is-open .cart-drawer__backdrop {
    opacity: 1;
}

.cart-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(100%, 400px);
    background: var(--surface);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .28s var(--ease);
    box-shadow: var(--shadow);
}

.cart-drawer.is-open .cart-drawer__panel {
    transform: translateX(0);
}

.cart-drawer__head,
.cart-drawer__foot {
    padding: 18px 18px;
    border-bottom: 1px solid var(--line);
}

.cart-drawer__foot {
    border-bottom: 0;
    border-top: 1px solid var(--line);
    margin-top: auto;
}

.cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer__title {
    font-size: 20px;
}

.cart-drawer__body {
    flex: 1;
    overflow: auto;
    padding: 16px 18px;
}

.cart-drawer__empty {
    text-align: center;
    padding: 48px 12px;
    color: var(--muted);
}

.cart-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 32px;
    gap: 12px;
    margin-bottom: 14px;
}

.cart-item__thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #f7fafb;
    overflow: hidden;
}

.cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.cart-item__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.cart-item-qty,
.cart-item-price {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.cart-item-price {
    color: var(--accent);
    font-weight: 700;
}

.cart-item__remove {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: #f3f7f8;
    color: var(--muted);
    cursor: pointer;
}

.cart-item__remove:hover {
    color: var(--danger);
}

.cart-drawer__subtotal {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 12px;
}

.cart-drawer__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 0 12px;
    font-weight: 600;
}

.pagination .active,
.pagination a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pagination .pagination-list {
    display: flex;
    gap: 1rem;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
    padding: 28px 20px 40px;
}

.site-footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer__nav a:hover {
    color: var(--accent);
}

.site-footer__copy {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 40;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
}

.to-top:hover {
    transform: translateY(-2px);
    background: var(--accent);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .sidenav {
        position: static;
        display: none;
    }

    .sidenav.is-open {
        display: block;
    }

    .menu-btn {
        display: inline-flex;
    }

    .hero,
    .detail {
        grid-template-columns: 1fr;
    }

    .detail__gallery {
        position: static;
    }

    .product-row {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .product-row__actions {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .topbar__inner {
        grid-template-columns: auto auto;
        gap: 8px;
    }

    .search {
        display: none;
        grid-column: 1 / -1;
    }

    .topbar.is-searching .search {
        display: flex;
    }

    .brand__name {
        display: none;
    }

    .cart-table__head {
        display: none;
    }

    .cart-table__row {
        grid-template-columns: 1fr auto;
    }

    .cart-table__product {
        grid-column: 1 / -1;
    }

    .other-info {
        grid-template-columns: 1fr;
    }

    .other-info > h2 {
        padding-bottom: 4px;
        border-bottom: 0;
    }

    .other-info > p {
        padding-top: 0;
    }

    .hero__copy {
        padding: 20px;
        gap: 10px;
    }

    .hero__sale {
        line-height: 1.3;
    }

    .hero__media {
        min-height: 200px;
    }
}
