/* project-root/public/shop/assets/css/shop.css */

:root {
    --bg: #f4f4f5;
    --surface: #ffffff;
    --surface-soft: #fafafa;
    --text: #09090b;
    --muted: #52525b;
    --border: #e4e4e7;
    --dark: #18181b;
    --dark-2: #27272a;
    --primary: #d61f26;
    --primary-dark: #b91c1c;
    --success-bg: #ecfdf3;
    --success-border: #bbf7d0;
    --radius: 24px;
    --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

body.mobile-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
.shop-header-actions a,
.shop-nav-link,
.shop-nav-dropdown summary,
.shop-mobile-menu-nav a,
.shop-mobile-menu-group summary,
.product-fav-button {
    cursor: pointer;
}

select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 14px;
    padding-right: 46px !important;
}

.container {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.shop-topbar {
    background: #0f0f10;
    color: #d4d4d8;
    font-size: 13px;
}

.topbar-inner {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 10px 0;
    flex-wrap: wrap;
}

.shop-header {
    position: static;
    background: var(--dark);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    overflow: visible;
}

.header-main {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 22px 0;
}

.shop-menu-toggle {
    display: none;
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fff;
    color: #111827;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.shop-menu-toggle:hover {
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.shop-menu-toggle-lines {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.shop-menu-toggle-lines span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.shop-logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shop-logo-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: #ef4444;
    font-weight: 700;
}

.shop-logo-title {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.shop-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 0 18px 0 54px;
    border-radius: 20px;
    border: 1px solid #3f3f46;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(214, 31, 38, 0.14);
}

.shop-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 18px;
    pointer-events: none;
}

.shop-search input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    outline: none;
    box-shadow: none;
}

.shop-search input:focus,
.shop-search input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.shop-search input[type="search"]::-webkit-search-decoration,
.shop-search input[type="search"]::-webkit-search-cancel-button,
.shop-search input[type="search"]::-webkit-search-results-button,
.shop-search input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 18px;
    padding: 14px 22px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-dark {
    background: var(--dark);
    color: #fff;
}

.btn-dark:hover {
    background: var(--primary);
}

.btn-link {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.btn-block {
    width: 100%;
}

.shop-header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
}

.shop-header-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.shop-header-actions > a:not(.cart-link):not(.wishlist-link) {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    border-radius: 18px;
    background: #f3f4f6;
    color: #111827;
    font-size: 22px;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-header-actions > a:not(.cart-link):not(.wishlist-link) i {
    font-size: 24px;
    line-height: 1;
}

.shop-header-actions > a:not(.cart-link):not(.wishlist-link) span {
    display: none;
}

.shop-header-actions > a:not(.cart-link):not(.wishlist-link):hover {
    background: #e5e7eb;
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.shop-header-actions > a.account-link.is-active {
    background: #f3f4f6;
    color: #111827;
}

.shop-header-actions > a.account-link.is-active:hover {
    background: #e5e7eb;
    color: var(--primary);
}

.wishlist-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #f3f4f6;
    color: #111827;
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wishlist-link:hover {
    background: #e5e7eb;
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    background: var(--primary);
    color: #fff;
    padding: 14px 18px;
    border-radius: 18px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cart-link:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.shop-nav-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: visible;
}

.shop-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 0;
    overflow: visible;
}

.shop-nav-link,
.shop-nav-dropdown summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    color: #e4e4e7;
    font-weight: 700;
    list-style: none;
    user-select: none;
    border: 1px solid transparent;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.shop-nav-link:hover {
    background: rgba(214, 31, 38, 0.16);
    border-color: rgba(214, 31, 38, 0.38);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(214, 31, 38, 0.14);
}

.shop-nav-dropdown:hover > summary,
.shop-nav-dropdown:focus-within > summary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateY(-1px);
}

.shop-nav-dropdown[open] > summary {
    background: rgba(214, 31, 38, 0.16);
    border-color: rgba(214, 31, 38, 0.38);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(214, 31, 38, 0.14);
}

.shop-nav-dropdown {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: -16px;
}

.shop-nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 18px;
}

.shop-nav-dropdown summary {
    position: relative;
    z-index: 2;
}

.shop-nav-dropdown summary i {
    font-size: 12px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.shop-nav-dropdown:hover > summary i,
.shop-nav-dropdown[open] > summary i,
.shop-nav-dropdown:focus-within > summary i {
    transform: rotate(180deg);
}

.shop-nav-dropdown > .shop-nav-dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    min-width: 270px;
    padding: 12px;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 24px 52px rgba(15, 23, 42, 0.22),
        0 4px 16px rgba(15, 23, 42, 0.08);
    z-index: 50;
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}

.shop-nav-dropdown:hover > .shop-nav-dropdown-menu,
.shop-nav-dropdown[open] > .shop-nav-dropdown-menu,
.shop-nav-dropdown:focus-within > .shop-nav-dropdown-menu {
    display: grid;
    gap: 6px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.shop-nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 14px 10px 16px;
    border-radius: 14px;
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.shop-nav-dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--primary);
    transform: translateX(2px);
}

.shop-mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9, 9, 11, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 1200;
}

.shop-mobile-menu-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.shop-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: min(86vw, 360px);
    height: 100vh;
    background: #fff;
    color: #111827;
    box-shadow: 16px 0 44px rgba(15, 23, 42, 0.22);
    transform: translateX(-105%);
    transition: transform 0.32s ease;
    z-index: 1210;
    display: none;
    flex-direction: column;
}

.shop-mobile-menu.is-open {
    transform: translateX(0);
}

.shop-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid #e5e7eb;
}

.shop-mobile-menu-head strong {
    font-size: 18px;
    font-weight: 900;
}

.shop-mobile-menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shop-mobile-menu-nav {
    display: grid;
    gap: 10px;
    padding: 14px 12px 20px;
    overflow-y: auto;
    background: #fff;
}

.shop-mobile-menu-nav > a,
.shop-mobile-menu-group {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.shop-mobile-menu-nav > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 0 14px;
    color: #111827;
    font-weight: 800;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.shop-mobile-menu-nav > a i {
    color: #6b7280;
    font-size: 14px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.shop-mobile-menu-nav > a:hover {
    background: #fafafa;
    border-color: #d4d4d8;
    color: var(--primary);
    transform: translateY(-1px);
}

.shop-mobile-menu-nav > a:hover i {
    color: var(--primary);
    transform: translateX(2px);
}

.shop-mobile-menu-group {
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.shop-mobile-menu-group[open] {
    border-color: #f1b4b6;
    background: #fffafa;
    box-shadow: 0 10px 24px rgba(214, 31, 38, 0.08);
}

.shop-mobile-menu-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 0 14px;
    color: #111827;
    font-weight: 800;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.shop-mobile-menu-group summary::-webkit-details-marker {
    display: none;
}

.shop-mobile-menu-group summary:hover,
.shop-mobile-menu-group[open] summary {
    background: #fafafa;
    color: var(--primary);
}

.shop-mobile-menu-group summary i {
    font-size: 14px;
    line-height: 1;
    color: #6b7280;
    transition: transform 0.2s ease, color 0.2s ease;
}

.shop-mobile-menu-group[open] summary i {
    transform: rotate(180deg);
    color: var(--primary);
}

.shop-mobile-menu-group-links {
    display: grid;
    gap: 6px;
    padding: 0 10px 10px 10px;
    border-top: 1px solid #f0f0f1;
    background: linear-gradient(180deg, #fff 0%, #fffafa 100%);
}

.shop-mobile-menu-group-links a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 12px 0 16px;
    border-radius: 14px;
    color: #374151;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.shop-mobile-menu-group-links a:hover {
    background: #fff;
    color: var(--primary);
    transform: translateX(2px);
}

.shop-page {
    min-height: calc(100vh - 220px);
}

.section {
    padding: 64px 0;
}

.section-alt {
    background: var(--surface-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 30px;
}

.section-head.compact {
    margin-bottom: 22px;
}

.section-head h1,
.section-head h2,
.panel h2,
.panel h3,
.success-state h3,
.empty-state h3 {
    margin: 10px 0 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-head p,
.panel p,
.empty-state p,
.success-state p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.empty-state,
.success-state {
    background: var(--surface);
    border: 1px dashed #d4d4d8;
    border-radius: 32px;
    padding: 60px 36px;
    text-align: center;
    box-shadow: var(--shadow);
}

.success-state {
    border-style: solid;
    border-color: var(--success-border);
    background: var(--success-bg);
}

.product-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card-media {
    position: relative;
    background: linear-gradient(135deg, #111827, #dc2626);
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    color: #fff;
    font-weight: 900;
    font-size: 24px;
    text-align: center;
    padding: 16px;
}

.product-list-image-placeholder {
    min-height: 240px;
    border-radius: 12px;
    background: linear-gradient(180deg, #d7dbe0 0%, #f1f3f5 65%, #c5cad1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid #d1d5db;
    text-align: center;
    padding: 16px;
}

.product-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    z-index: 1;
}

.product-card-body {
    padding: 24px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
}

.product-card h3 {
    margin: 14px 0 10px;
    font-size: 24px;
    line-height: 1.2;
}

.product-card h3 a:hover {
    color: var(--primary);
}

.product-description,
.product-lead {
    color: var(--muted);
    line-height: 1.7;
}

.product-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.product-feature-list span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f4f4f5;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #3f3f46;
}

.product-pricing {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    flex-wrap: wrap;
}

.product-pricing small {
    display: block;
    color: #71717a;
}

.product-pricing strong {
    display: block;
    margin-top: 6px;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.product-list-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border: 1px solid #ef4444;
    border-radius: 999px;
    color: #b91c1c;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.product-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.product-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 22px;
    line-height: 1;
}

.product-stars span {
    color: #d1d5db;
}

.product-stars span.is-filled {
    color: #dc2626;
}

.product-list-actions {
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin-top: 6px;
}

.product-list-cart-form,
.product-card-fav-form {
    display: flex;
}

.product-fav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    border: 2px solid #111827;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    font-size: 20px;
    line-height: 1;
}

.product-fav-button:hover {
    color: #b91c1c;
    border-color: #b91c1c;
}

.product-fav-button.is-active {
    color: var(--primary);
    border-color: var(--primary);
    background: #fff5f5;
}

.product-fav-button.is-active:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.summary-panel {
    position: static;
    align-self: start;
}

.summary-panel h3 {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.summary-list {
    display: grid;
    gap: 16px;
}

.summary-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    color: var(--muted);
}

.summary-list strong {
    color: var(--text);
}

.summary-total {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 4px;
    align-items: flex-start;
}

.summary-total strong {
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.summary-total-text {
    display: grid;
    gap: 4px;
}

.summary-total-text small {
    display: block;
    font-size: 13px;
    color: #71717a;
    font-weight: 600;
    line-height: 1.2;
}

.is-hidden {
    display: none !important;
}

.shop-footer {
    margin-top: 40px;
    background: var(--dark);
    color: #d4d4d8;
}

.footer-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
    padding: 54px 0;
}

.shop-footer h3,
.shop-footer h4 {
    margin: 0 0 14px;
    color: #fff;
}

.shop-footer p,
.shop-footer li {
    color: #a1a1aa;
    line-height: 1.8;
}

.shop-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wishlist-link:focus-visible,
.shop-menu-toggle:focus-visible,
.shop-mobile-menu-close:focus-visible,
.shop-nav-dropdown summary:focus-visible,
.shop-mobile-menu-group summary:focus-visible,
.shop-nav-link:focus-visible,
.cart-link:focus-visible,
.shop-header-actions > a:not(.cart-link):not(.wishlist-link):focus-visible,
.shop-search input:focus-visible,
.product-fav-button:focus-visible {
    outline: 3px solid rgba(214, 31, 38, 0.24);
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    .header-main,
    .product-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .shop-header-actions {
        justify-self: start;
    }
}

@media (max-width: 760px) {
    .shop-topbar,
    .shop-nav-wrap {
        display: none;
    }

    .header-main {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) auto;
        grid-template-areas:
            "logo logo logo"
            "search search search"
            "menu . actions";
        gap: 12px;
        padding: 14px 0 18px;
        align-items: center;
    }

    .shop-menu-toggle {
        display: inline-flex;
        grid-area: menu;
        align-items: center;
        justify-content: center;
        width: 46px;
        min-width: 46px;
        height: 46px;
        min-height: 46px;
        margin: 0;
        padding: 0;
        border-radius: 14px;
        justify-self: start;
        align-self: center;
    }

    .shop-logo {
        grid-area: logo;
        min-width: 0;
        align-self: center;
    }

    .shop-logo-kicker {
        font-size: 10px;
        letter-spacing: 0.18em;
    }

    .shop-logo-title {
        font-size: 22px;
        line-height: 1.05;
    }

    .shop-search {
        grid-area: search;
        width: 100%;
        min-height: 52px;
        margin-top: 0;
    }

    .shop-header-actions {
        grid-area: actions;
        display: flex;
        align-items: center;
        justify-self: end;
        align-self: center;
        gap: 8px;
        flex-wrap: nowrap;
        margin: 0;
    }

    .shop-header-actions > a:not(.cart-link):not(.wishlist-link),
    .wishlist-link,
    .cart-link {
        width: 46px;
        min-width: 46px;
        height: 46px;
        min-height: 46px;
        padding: 0;
        justify-content: center;
        border-radius: 14px;
        align-self: center;
    }

    .shop-header-actions > a:not(.cart-link):not(.wishlist-link) span,
    .cart-link span:not(.cart-badge) {
        display: none;
    }

    .cart-link {
        position: relative;
    }

    .cart-badge {
        position: absolute;
        right: -4px;
        top: -4px;
        min-width: 22px;
        height: 22px;
        font-size: 11px;
        padding: 0 6px;
    }

    .shop-mobile-menu {
        display: flex;
    }

    .section {
        padding: 42px 0;
    }

    .product-pricing {
        flex-direction: column;
        align-items: stretch;
    }

    .product-pricing strong,
    .summary-total strong {
        font-size: 28px;
    }
}

@media (min-width: 761px) {
    .header-main {
        grid-template-columns: 240px minmax(0, 1fr) auto;
        align-items: center;
    }

    .shop-logo {
        grid-column: 1;
        grid-row: 1;
    }

    .shop-search {
        grid-column: 2;
        grid-row: 1;
        margin-top: 0;
    }

    .shop-header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
}