.shop-shell {
    --shop-accent: #176b5b;
    --shop-accent-deep: #0f4f44;
    --shop-accent-soft: #e7f3ef;
    --shop-accent-line: rgba(23, 107, 91, 0.22);
    --shop-accent-shadow: rgba(15, 79, 68, 0.2);
    --shop-on-accent: #fffaf2;
}

.front-shell.shop-shell .app-navbar {
    border-color: rgba(255, 255, 255, 0.58);
    background: linear-gradient(135deg, rgba(23, 107, 91, 0.96), rgba(15, 79, 68, 0.96));
    box-shadow: 0 12px 30px var(--shop-accent-shadow);
}

.front-shell.shop-shell .app-nav-link,
.front-shell.shop-shell .app-auth-link,
.front-shell.shop-shell .app-auth-button {
    color: rgba(255, 250, 242, 0.92) !important;
}

.front-shell.shop-shell .app-nav-link:hover,
.front-shell.shop-shell .app-nav-link:focus,
.front-shell.shop-shell .app-auth-link:hover,
.front-shell.shop-shell .app-auth-link:focus,
.front-shell.shop-shell .app-auth-button:hover,
.front-shell.shop-shell .app-auth-button:focus {
    background: rgba(255, 255, 255, 0.13);
}

.front-shell.shop-shell .app-auth-link-accent,
.front-shell.shop-shell .app-auth-button {
    border-color: rgba(255, 250, 242, 0.28);
    background: rgba(255, 250, 242, 0.12);
}

.front-shell.shop-shell .app-cart-badge {
    background: #f2d28b;
    color: #143d35;
}

@media (max-width: 991.98px) {
    .front-shell.shop-shell .app-navbar .navbar-collapse {
        border-color: rgba(255, 250, 242, 0.12);
        background: rgba(13, 64, 55, 0.97);
        box-shadow: 0 18px 34px rgba(13, 64, 55, 0.28);
    }
}

.shop-appbar {
    align-items: center;
    background: linear-gradient(90deg, var(--shop-accent-deep), var(--shop-accent));
    border: 1px solid var(--shop-accent-line);
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(15, 79, 68, 0.12);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: -.5rem 0 1.5rem;
    padding: .6rem .65rem;
}

.shop-appbar-scroll {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.shop-appbar-link,
.shop-category-chip {
    align-items: center;
    border: 1px solid rgba(255, 250, 242, .22);
    border-radius: 6px;
    color: var(--shop-on-accent);
    display: inline-flex;
    font-size: .92rem;
    justify-content: center;
    line-height: 1;
    min-height: var(--shop-control-height);
    padding: .65rem .85rem;
    text-decoration: none;
    white-space: nowrap;
}

.shop-appbar-link:hover,
.shop-appbar-link:focus {
    background: rgba(255, 250, 242, 0.16);
    color: var(--shop-on-accent);
}

.shop-category-chip {
    border-color: rgba(40, 54, 50, .18);
    color: #26342f;
    background: rgba(255, 255, 255, 0.72);
}

.shop-appbar-intention {
    background: rgba(255, 250, 242, 0.12);
}

.shop-appbar-dropdown {
    flex: 0 0 auto;
}

.shop-appbar-dropdown .dropdown-toggle {
    background: rgba(255, 250, 242, 0.12);
}

.shop-appbar-dropdown .dropdown-menu {
    border-color: rgba(40, 54, 50, .16);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(32, 48, 44, .12);
    min-width: 11rem;
}

.shop-hero {
    align-items: stretch;
    background:
        radial-gradient(circle at left top, rgba(224, 198, 156, 0.22), transparent 34%),
        linear-gradient(90deg, #f6efe4 0%, #f3ede4 57%, #edf4f1 100%);
    border-radius: 28px;
    box-shadow: 0 24px 54px rgba(72, 48, 30, 0.08);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
    margin-bottom: 2rem;
    min-height: 300px;
    overflow: hidden;
}

.shop-hero-copy {
    align-self: center;
    padding: 2.35rem 2.2rem;
}

.shop-kicker {
    color: #6a5b3c;
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: .65rem;
}

.shop-hero h1,
.shop-page-header h1 {
    color: #20302c;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: .75rem;
}

.shop-hero p {
    color: #55615d;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    max-width: 36rem;
}

.shop-hero-search {
    align-items: center;
    display: flex;
    gap: .5rem;
    margin-top: 1.5rem;
    max-width: 32rem;
}

.shop-hero-search .form-control {
    border-color: rgba(122, 62, 46, 0.12);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(72, 48, 30, 0.06);
    min-height: 3.15rem;
    padding-inline: 1rem;
}

.shop-hero-search .btn {
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(122, 30, 30, 0.18);
    flex: 0 0 5.5rem;
    min-height: 3.15rem;
}

.shop-hero-visual {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 1rem 1rem 1rem 0;
}

.shop-hero-visual img {
    border-radius: 24px;
    box-shadow: 0 20px 34px rgba(55, 39, 28, 0.14);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.shop-section {
    margin-bottom: 2.6rem;
}

.shop-section-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.15rem;
    position: relative;
}

.shop-section-header h2,
.shop-description h2 {
    color: #20302c;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.shop-section-header h2::after {
    background: linear-gradient(90deg, rgba(200, 164, 107, 0.95), rgba(200, 164, 107, 0));
    border-radius: 999px;
    content: "";
    display: block;
    height: 3px;
    margin-top: 0.55rem;
    width: 3.1rem;
}

.shop-entry-grid,
.shop-intention-home-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

:root {
    --shop-entry-icon-size: 5.75rem;
    --shop-entry-radius: 18px;
    --shop-entry-shadow: 0 14px 32px rgba(61, 43, 28, 0.08);
    --shop-entry-shadow-hover: 0 20px 38px rgba(61, 43, 28, 0.13);
    --shop-surface-bg: #fff;
    --shop-surface-soft: #fbf8f1;
    --shop-surface-line: rgba(72, 56, 37, 0.12);
    --shop-surface-line-strong: rgba(72, 56, 37, 0.18);
    --shop-surface-radius: 16px;
    --shop-surface-radius-sm: 12px;
    --shop-surface-shadow: 0 14px 32px rgba(61, 43, 28, 0.07);
    --shop-surface-shadow-hover: 0 18px 38px rgba(61, 43, 28, 0.12);
    --shop-control-height: 2.75rem;
}

.shop-entry-tile,
.shop-intention-home-tile {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 241, 0.98));
    border: 1px solid rgba(104, 79, 51, .1);
    border-radius: var(--shop-entry-radius);
    box-shadow: var(--shop-entry-shadow);
    color: #20302c;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-height: 5.25rem;
    padding: 1rem;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.shop-entry-tile:hover,
.shop-entry-tile:focus,
.shop-intention-home-tile:hover,
.shop-intention-home-tile:focus {
    border-color: rgba(122, 62, 46, .18);
    box-shadow: var(--shop-entry-shadow-hover);
    transform: translateY(-2px);
}

.shop-entry-tile:active,
.shop-intention-home-tile:active {
    transform: translateY(-1px) scale(0.995);
}

.shop-entry-tile {
    align-items: stretch;
    flex-direction: row;
    gap: 1rem;
    min-height: 0;
}

.shop-entry-tile strong,
.shop-intention-home-title {
    color: #20302c;
    font-weight: 700;
}

.shop-entry-media {
    align-self: stretch;
    background: linear-gradient(180deg, rgba(251, 245, 234, 0.95), rgba(241, 231, 214, 0.8));
    border-radius: 14px;
    display: block;
    flex: 0 0 var(--shop-entry-icon-size);
    overflow: hidden;
    width: var(--shop-entry-icon-size);
}

.shop-entry-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
    width: 100%;
}

.shop-entry-tile:hover .shop-entry-media img,
.shop-entry-tile:focus .shop-entry-media img,
.shop-intention-home-tile:hover .shop-intention-home-media img,
.shop-intention-home-tile:focus .shop-intention-home-media img {
    transform: scale(1.03);
}

.shop-intention-home-tile {
    gap: 0.85rem;
    min-height: 0;
}

.shop-intention-home-title {
    color: #20302c;
    display: block;
    font-size: 1.02rem;
    letter-spacing: 0;
    line-height: 1.3;
}

.shop-intention-home-row {
    align-items: stretch;
    display: flex;
    gap: 1rem;
    min-height: var(--shop-entry-icon-size);
}

.shop-intention-home-media {
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(251, 245, 234, 0.95), rgba(241, 231, 214, 0.8));
    display: block;
    flex: 0 0 var(--shop-entry-icon-size);
    overflow: hidden;
    width: var(--shop-entry-icon-size);
}

.shop-intention-home-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
    width: 100%;
}

.shop-entry-copy {
    align-items: flex-start;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    justify-content: center;
    min-height: var(--shop-entry-icon-size);
}

.shop-entry-tile small,
.shop-intention-home-tile small {
    color: #65706b;
    font-size: .92rem;
    line-height: 1.45;
}

.shop-intention-home-tile small {
    align-self: center;
    display: block;
    margin: 0;
    max-width: 100%;
}

.shop-product-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-product-card {
    background: var(--shop-surface-bg);
    border: 1px solid var(--shop-surface-line);
    border-radius: var(--shop-surface-radius);
    box-shadow: var(--shop-surface-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.shop-product-card:hover,
.shop-product-card:focus-within {
    border-color: var(--shop-surface-line-strong);
    box-shadow: var(--shop-surface-shadow-hover);
    transform: translateY(-2px);
}

.shop-product-image-link {
    aspect-ratio: 1 / 1;
    background: #f7f5ef;
    display: block;
    position: relative;
}

.shop-product-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.shop-product-badges {
    display: flex;
    gap: .35rem;
    left: .65rem;
    position: absolute;
    top: .65rem;
}

.shop-product-badge {
    background: rgba(32, 48, 44, .9);
    border-radius: 4px;
    color: #fff;
    font-size: .75rem;
    padding: .25rem .4rem;
}

.shop-product-badge-muted {
    background: rgba(122, 62, 46, .92);
}

.shop-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: .85rem;
}

.shop-product-brand {
    color: #6b776f;
    font-size: .78rem;
    margin-bottom: .25rem;
}

.shop-product-title {
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
    margin: 0 0 .6rem;
    min-height: 2.7rem;
}

.shop-product-title a {
    color: #20302c;
    display: -webkit-box;
    min-height: 2.7rem;
    overflow: hidden;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.shop-product-price-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.shop-product-price {
    color: #7a3e2e;
    font-weight: 700;
}

.shop-product-market-price {
    color: #8a928d;
    font-size: .88rem;
    text-decoration: line-through;
}

.shop-product-stock {
    color: #60706a;
    font-size: .82rem;
    margin-top: auto;
    padding-top: .55rem;
}

.shop-product-stock.is-out {
    color: #7a3e2e;
    font-weight: 650;
}

.shop-empty {
    background: var(--shop-surface-soft);
    border: 1px solid var(--shop-surface-line);
    border-radius: var(--shop-surface-radius);
    box-shadow: var(--shop-surface-shadow);
    color: #65706b;
    margin: 0;
    padding: 1.25rem;
}

.shop-page-header {
    border-bottom: 1px solid rgba(40, 54, 50, .1);
    margin-bottom: 1.25rem;
    padding-bottom: .85rem;
}

.shop-page-description {
    color: #56635e;
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 42rem;
}

.shop-intention-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0;
}

.shop-intention-tags a {
    align-items: center;
    background: #f8f6f1;
    border: 1px solid rgba(40, 54, 50, .14);
    border-radius: 999px;
    color: #26342f;
    display: inline-flex;
    font-size: .9rem;
    min-height: var(--shop-control-height);
    padding: .55rem .8rem;
    text-decoration: none;
}

.shop-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

.shop-filter-panel {
    background: var(--shop-surface-soft);
    border: 1px solid var(--shop-surface-line);
    border-radius: var(--shop-surface-radius);
    box-shadow: var(--shop-surface-shadow);
    margin-bottom: 1.25rem;
    padding: 1rem;
}

.shop-filter-grid {
    align-items: end;
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(14rem, 2fr) repeat(3, minmax(8rem, 1fr)) auto auto;
}

.shop-filter-field label {
    color: #56635e;
    display: block;
    font-size: .85rem;
    font-weight: 650;
    margin-bottom: .35rem;
}

.shop-filter-panel .form-control,
.shop-filter-panel .form-select,
.shop-cart-quantity .form-control,
.shop-checkout-panel .form-control,
.shop-detail-actions .form-control,
.shop-detail-actions .form-select {
    border-color: var(--shop-surface-line);
    border-radius: var(--shop-surface-radius-sm);
    min-height: var(--shop-control-height);
}

.shop-filter-check {
    align-items: center;
    display: inline-flex;
    gap: .4rem;
    margin-bottom: .45rem;
    white-space: nowrap;
}

.shop-filter-actions {
    display: flex;
    gap: .5rem;
}

.shop-filter-actions .btn,
.shop-cart-summary .btn,
.shop-checkout-panel .btn,
.shop-detail-actions .btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    min-height: var(--shop-control-height);
    padding-inline: 1.15rem;
}

.shop-cart-summary .btn {
    min-width: 7.5rem;
}

.shop-detail {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
}

.shop-detail-gallery {
    background: #f7f5ef;
    border: 1px solid var(--shop-surface-line);
    border-radius: var(--shop-surface-radius);
    box-shadow: var(--shop-surface-shadow);
    overflow: hidden;
}

.shop-detail-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.shop-detail-thumbs {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: .75rem;
}

.shop-detail-thumb {
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 2px solid transparent;
    border-radius: var(--shop-surface-radius-sm);
    overflow: hidden;
    padding: 0;
}

.shop-detail-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.shop-detail-thumb.is-active {
    border-color: #7a3e2e;
}

.shop-detail-category {
    align-items: center;
    background: #f8f6f1;
    border: 1px solid rgba(40, 54, 50, .14);
    border-radius: 999px;
    color: #6a5b3c;
    display: inline-flex;
    font-size: .9rem;
    min-height: var(--shop-control-height);
    min-width: var(--shop-control-height);
    padding: .5rem .75rem;
    text-decoration: none;
}

.shop-detail-info h1 {
    color: #20302c;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.25;
    margin: .35rem 0 .75rem;
}

.shop-detail-price-row {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.shop-detail-meta {
    border-top: 1px solid rgba(40, 54, 50, .12);
    margin: 1rem 0;
    padding-top: 1rem;
}

.shop-detail-meta div {
    display: grid;
    grid-template-columns: 4rem 1fr;
    margin-bottom: .45rem;
}

.shop-detail-meta dt {
    color: #6b776f;
    font-weight: 600;
}

.shop-detail-meta dd {
    margin: 0;
}

.shop-option-group {
    margin: 1rem 0;
}

.shop-option-label {
    font-weight: 650;
    margin-bottom: .5rem;
}

.shop-option-values {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.shop-option-button {
    background: #fff;
    border: 1px solid rgba(40, 54, 50, .2);
    border-radius: 999px;
    color: #20302c;
    padding: .5rem .75rem;
}

.shop-option-button.is-selected {
    background: #20302c;
    border-color: #20302c;
    color: #fff;
}

.shop-option-button:disabled {
    opacity: .55;
}

.shop-detail-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.25rem 0;
}

.shop-detail-actions .btn {
    flex: 0 0 100%;
    max-width: 12rem;
}

.shop-sku-select {
    max-width: 18rem;
}

.shop-quantity-input {
    max-width: 6rem;
}

.shop-action-note {
    color: #6b776f;
    font-size: .9rem;
}

.shop-product-value-note {
    background: #f8f5ef;
    border: 1px solid rgba(122, 62, 46, .16);
    border-radius: .5rem;
    color: #5b625d;
    font-size: .75rem;
    line-height: 1.65;
    margin: 1rem 0 0;
    padding: .85rem 1rem;
}

.shop-description {
    border-top: 1px solid rgba(40, 54, 50, .12);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.shop-description p {
    color: #4f5d58;
    line-height: 1.8;
    white-space: pre-line;
}

.shop-related-products {
    border-top: 1px solid rgba(40, 54, 50, .12);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.shop-cart-list {
    display: grid;
    gap: .75rem;
}

.shop-cart-item {
    align-items: center;
    background: var(--shop-surface-bg);
    border: 1px solid var(--shop-surface-line);
    border-radius: var(--shop-surface-radius);
    box-shadow: var(--shop-surface-shadow);
    display: grid;
    gap: 1rem;
    grid-template-columns: 6rem minmax(0, 1fr) 10rem 7rem 3rem;
    padding: .85rem;
}

.shop-cart-image-link {
    aspect-ratio: 1 / 1;
    background: #f7f5ef;
    border-radius: var(--shop-surface-radius-sm);
    display: block;
    overflow: hidden;
}

.shop-cart-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.shop-cart-main h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .35rem;
}

.shop-cart-main h2 a {
    color: #20302c;
    text-decoration: none;
}

.shop-cart-sku,
.shop-cart-stock {
    color: #6b776f;
    font-size: .86rem;
}

.shop-cart-stock.is-out {
    color: #7a3e2e;
    font-weight: 650;
}

.shop-cart-quantity {
    align-items: center;
    display: flex;
    gap: .4rem;
}

.shop-cart-total {
    color: #7a3e2e;
    font-weight: 700;
}

.shop-cart-summary {
    align-items: center;
    background: var(--shop-surface-soft);
    border: 1px solid var(--shop-surface-line);
    border-radius: var(--shop-surface-radius);
    box-shadow: var(--shop-surface-shadow);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding: 1rem;
}

.shop-cart-summary div {
    display: grid;
    gap: .1rem;
}

.shop-cart-summary span {
    color: #6b776f;
    font-size: .85rem;
}

.shop-checkout {
    display: grid;
    gap: 1rem;
}

.shop-checkout-panel {
    background: var(--shop-surface-bg);
    border: 1px solid var(--shop-surface-line);
    border-radius: var(--shop-surface-radius);
    box-shadow: var(--shop-surface-shadow);
    padding: 1rem;
}

.shop-checkout-panel h2 {
    color: #20302c;
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.shop-order-list {
    display: grid;
    gap: .75rem;
}

.shop-order-card {
    align-items: center;
    background: var(--shop-surface-bg);
    border: 1px solid var(--shop-surface-line);
    border-radius: var(--shop-surface-radius);
    box-shadow: var(--shop-surface-shadow);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 8rem 5rem;
    padding: 1rem;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.shop-order-card:hover,
.shop-order-card:focus-within {
    border-color: var(--shop-surface-line-strong);
    box-shadow: var(--shop-surface-shadow-hover);
    transform: translateY(-2px);
}

.shop-order-card h2 {
    font-size: 1rem;
    margin: 0 0 .25rem;
}

.shop-order-card h2 a {
    color: #20302c;
    text-decoration: none;
}

.shop-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.shop-pagination span {
    color: #6b776f;
    font-size: .9rem;
    margin-right: .25rem;
}

.shop-pagination .btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    min-height: 2.25rem;
    min-width: 2.25rem;
}

.shop-order-status,
.shop-address-line {
    color: #56635e;
    margin-bottom: .4rem;
}

.shop-order-detail {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
}

.shop-order-item {
    grid-template-columns: 5rem minmax(0, 1fr) 7rem;
    margin-bottom: .75rem;
}

.shop-order-total {
    align-items: baseline;
    border-top: 1px solid rgba(40, 54, 50, .12);
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    padding-top: 1rem;
}

.shop-order-total strong {
    color: #7a3e2e;
    font-size: 1.15rem;
}

@media (max-width: 991.98px) {
    :root {
        --shop-entry-icon-size: 5.1rem;
    }

    .shop-hero,
    .shop-detail {
        grid-template-columns: 1fr;
    }

    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-entry-grid,
    .shop-intention-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-entry-tile,
    .shop-intention-home-tile {
        padding: 0.9rem;
    }

    .shop-section {
        margin-bottom: 2.3rem;
    }

    .shop-cart-item {
        align-items: start;
        grid-template-columns: 5rem minmax(0, 1fr);
    }

    .shop-cart-quantity,
    .shop-cart-total,
    .shop-cart-item form:last-child {
        grid-column: 2;
    }

    .shop-cart-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-cart-summary .btn {
        width: 100%;
    }

    .shop-order-card,
    .shop-order-detail,
    .shop-order-item {
        grid-template-columns: 1fr;
    }

    .shop-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-filter-keyword,
    .shop-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    :root {
        --shop-entry-icon-size: 4.6rem;
    }

    .shop-appbar {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-hero-copy {
        padding: 1.25rem;
    }

    .shop-hero {
        border-radius: 22px;
        min-height: 0;
    }

    .shop-hero h1,
    .shop-page-header h1 {
        font-size: 1.8rem;
    }

    .shop-hero p {
        font-size: 1rem;
    }

    .shop-product-grid {
        gap: 0.8rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-product-body {
        padding: 0.7rem;
    }

    .shop-product-brand {
        font-size: .72rem;
    }

    .shop-product-title {
        font-size: .92rem;
        min-height: 2.5rem;
    }

    .shop-product-price-row {
        gap: .25rem .45rem;
    }

    .shop-product-market-price,
    .shop-product-stock {
        font-size: .78rem;
    }

    .shop-product-badges {
        gap: .25rem;
        left: .5rem;
        top: .5rem;
    }

    .shop-product-badge {
        font-size: .68rem;
        padding: .2rem .34rem;
    }

    .shop-entry-grid,
    .shop-intention-home-grid {
        grid-template-columns: 1fr;
    }

    .shop-entry-tile,
    .shop-intention-home-row {
        gap: 0.8rem;
    }

    .shop-entry-tile,
    .shop-intention-home-tile {
        padding: 0.85rem;
    }

    .shop-hero-search,
    .shop-filter-actions {
        flex-direction: column;
    }

    .shop-hero-search {
        align-items: center;
    }

    .shop-hero-search .form-control {
        width: 100%;
    }

    .shop-hero-search .btn {
        flex: 0 0 auto;
        min-width: 7rem;
        width: auto;
    }

    .shop-hero-visual {
        display: none;
    }

    .shop-section {
        margin-bottom: 2rem;
    }

    .shop-section-header h2 {
        font-size: 1.2rem;
    }

    .shop-filter-grid {
        align-items: end;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-filter-keyword,
    .shop-filter-actions {
        grid-column: 1 / -1;
    }

    .shop-filter-sort {
        grid-column: 1;
    }

    .shop-filter-stock {
        align-items: center;
        border: 1px solid rgba(104, 79, 51, 0.12);
        border-radius: 14px;
        display: flex;
        grid-column: 2;
        justify-content: center;
        margin: 0;
        min-height: 3.1rem;
        padding: 0.35rem 0.75rem;
        white-space: normal;
    }

    .shop-filter-actions {
        align-items: center;
        flex-direction: row;
        justify-content: center;
        margin-top: 0.15rem;
    }

    .shop-filter-actions .btn {
        min-width: 6.75rem;
    }

    .shop-pagination {
        justify-content: center;
    }
}
