/* ============================================================
   CoreTestApp — Premium Shop Styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', sans-serif;
    background: #f8f8f6;
    color: #111111;
    -webkit-font-smoothing: antialiased;
}

/* ── Shop Topbar ─────────────────────────────────────────── */
.shop-topbar {
    background: #111111;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.shop-topbar-brand {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: #ffffff;
}

.shop-topbar-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-topbar-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: .9rem;
    transition: color .15s;
}

.shop-topbar-nav a:hover { color: #ffffff; }

/* ── Hero ────────────────────────────────────────────────── */
.shop-hero {
    background: #111111;
    color: #ffffff;
    text-align: center;
    padding: 5rem 2rem 4rem;
}

.shop-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0 0 1rem;
    line-height: 1.1;
}

.shop-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    max-width: 480px;
    margin: 0 auto;
}

/* ── Category Filter + Search ─────────────────────────────── */
.shop-filters {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: .75rem 2.5rem;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 60px;
    z-index: 90;
}

.shop-search-wrap {
    position: relative;
    flex-shrink: 0;
    width: 220px;
}

.shop-search {
    width: 100%;
    padding: .5rem 2rem .5rem .875rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 999px;
    background: #f8f8f6;
    font-size: .875rem;
    color: #111111;
    outline: none;
    transition: border-color .15s;
}

.shop-search:focus {
    border-color: #111111;
    background: #ffffff;
}

.shop-search::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
}

.shop-search-clear {
    position: absolute;
    right: .6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #aaaaaa;
    font-size: .75rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color .15s;
}

.shop-search-clear:hover { color: #111111; }

.shop-filter-cats {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.shop-filter-cats::-webkit-scrollbar { display: none; }

.filter-btn {
    flex-shrink: 0;
    padding: .4rem 1rem;
    border-radius: 999px;
    border: 1.5px solid #e0e0e0;
    background: transparent;
    color: #444444;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #111111;
    color: #111111;
}

.filter-btn.active {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

/* ── Product Grid ────────────────────────────────────────── */
.shop-grid-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.5rem;
}

.shop-count {
    font-size: .85rem;
    color: #888888;
    margin-bottom: 1.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* ── Product Card ────────────────────────────────────────── */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,.10);
}

.product-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.04);
}

.product-card-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #e8e8e6 0%, #d4d4d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
    font-size: .85rem;
}

.product-card-body {
    padding: 1rem 1.1rem 1.25rem;
}

.product-card-category {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: .35rem;
}

.product-card-name {
    font-size: .95rem;
    font-weight: 600;
    color: #111111;
    margin: 0 0 .5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: #111111;
}

.product-card-btn {
    position: absolute;
    bottom: 1.1rem;
    right: 1.1rem;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: .4rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.product-card:hover .product-card-btn {
    opacity: 1;
    transform: translateY(0);
}

/* ── Empty State ─────────────────────────────────────────── */
.shop-empty {
    text-align: center;
    padding: 5rem 2rem;
    color: #888888;
}

.shop-empty h2 { font-size: 1.5rem; color: #333333; margin-bottom: .5rem; }

/* ── Product Detail ──────────────────────────────────────── */
.product-detail-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem;
}

.product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #888888;
    text-decoration: none;
    font-size: .875rem;
    margin-bottom: 2rem;
    transition: color .15s;
}

.product-detail-back:hover { color: #111111; }

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 768px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.product-detail-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
}

.product-detail-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background: linear-gradient(135deg, #e8e8e6 0%, #d4d4d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
}

.product-detail-info {}

.product-detail-category {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: .75rem;
}

.product-detail-name {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.product-detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-detail-desc {
    color: #555555;
    line-height: 1.7;
    font-size: .95rem;
    margin-bottom: 2rem;
}

.product-detail-sizes {
    margin-bottom: 2rem;
}

.product-detail-sizes-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: .75rem;
}

.size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.size-btn {
    padding: .5rem .9rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: transparent;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}

.size-btn:hover, .size-btn.active {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.product-detail-cta {
    width: 100%;
    padding: 1rem;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    letter-spacing: .01em;
}

.product-detail-cta:hover { background: #333333; }

/* ── Cart Button (topbar) ────────────────────────────────── */
.cart-btn {
    position: relative;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    padding: .45rem .75rem;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: border-color .15s;
}

.cart-btn:hover { border-color: rgba(255,255,255,0.8); }

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ffffff;
    color: #111111;
    font-size: .65rem;
    font-weight: 800;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* ── Added-to-cart feedback ──────────────────────────────── */
.cart-added-msg {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #1a7f4b;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ── Outline CTA (Buy now) ───────────────────────────────── */
.product-detail-cta-outline {
    width: 100%;
    margin-top: .75rem;
    padding: 1rem;
    background: transparent;
    color: #111111;
    border: 1.5px solid #111111;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s;
    letter-spacing: .01em;
}

.product-detail-cta-outline:hover {
    background: #111111;
    color: #ffffff;
}

/* ── Shop Toolbar (count + per-page) ─────────────────────── */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: .75rem;
}

.shop-pagesize {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: #888888;
}

.pagesize-btn {
    padding: .3rem .65rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    background: transparent;
    color: #444444;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}

.pagesize-btn:hover { border-color: #111111; color: #111111; }
.pagesize-btn.active { background: #111111; border-color: #111111; color: #ffffff; }

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.pagination-mobile { display: none; }

.page-btn {
    padding: .45rem .85rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: transparent;
    color: #444444;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}

.page-btn:hover:not(:disabled) { border-color: #111111; color: #111111; }
.page-btn.active { background: #111111; border-color: #111111; color: #ffffff !important; }
.page-btn:disabled { opacity: .35; cursor: default; }

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 36px;
    font-size: .875rem;
    color: #aaaaaa;
    user-select: none;
}

/* ── Cart Page ───────────────────────────────────────────── */
.cart-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
}

.cart-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 2rem;
}

.cart-empty {
    text-align: center;
    padding: 5rem 2rem;
    color: #888888;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.cart-empty p { font-size: 1.05rem; margin: 0; }

.cart-continue-btn {
    display: inline-block;
    padding: .75rem 1.75rem;
    background: #111111;
    color: #ffffff;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s;
}

.cart-continue-btn:hover { background: #333333; }

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 860px) {
    .cart-layout { grid-template-columns: 1fr; }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.cart-item-img-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: #eeeeee;
}

.cart-item-name {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .2rem;
}

.cart-item-meta {
    font-size: .8rem;
    color: #888888;
    margin-bottom: .2rem;
}

.cart-item-price {
    font-size: .9rem;
    color: #555555;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #e0e0e0;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    line-height: 1;
}

.qty-btn:hover { border-color: #111111; background: #111111; color: #ffffff; }

.qty-value {
    font-weight: 700;
    font-size: .95rem;
    min-width: 20px;
    text-align: center;
}

.cart-item-total {
    font-weight: 700;
    font-size: .95rem;
    min-width: 70px;
    text-align: right;
}

.cart-item-remove {
    background: transparent;
    border: none;
    padding: .25rem;
    cursor: pointer;
    color: #cccccc;
    display: flex;
    align-items: center;
    transition: color .15s;
}

.cart-item-remove:hover { color: #cc0000; }

/* ── Cart Summary ────────────────────────────────────────── */
.cart-summary {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.75rem;
    position: sticky;
    top: 80px;
}

.cart-summary-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    color: #555555;
    margin-bottom: .75rem;
}

.cart-summary-divider {
    border: none;
    border-top: 1px solid #eeeeee;
    margin: 1rem 0;
}

.cart-summary-total {
    font-size: 1rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 1.5rem;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    letter-spacing: .01em;
    margin-bottom: .75rem;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.cart-checkout-btn:hover { background: #333333; color: #ffffff; }

.cart-continue-link {
    display: block;
    text-align: center;
    color: #888888;
    font-size: .875rem;
    text-decoration: none;
    transition: color .15s;
}

.cart-continue-link:hover { color: #111111; }

/* ── Product Image Gallery ───────────────────────────────── */
.product-gallery-main {
    aspect-ratio: 1 / 1;
    background: #f0f0ee;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
    flex-wrap: wrap;
}

.product-thumb {
    width: 68px;
    height: 68px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    background: #f0f0ee;
    cursor: pointer;
    transition: border-color .2s;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: #111111;
}

/* ── Related Products ────────────────────────────────────── */
.related-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #eeeeee;
}

.related-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.related-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.related-img {
    aspect-ratio: 1 / 1;
    background: #f0f0ee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-img-placeholder {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #aaaaaa;
}

.related-body {
    padding: .75rem .875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.related-name {
    font-size: .82rem;
    font-weight: 600;
    color: #111111;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-price {
    font-size: .85rem;
    font-weight: 700;
    color: #111111;
}

/* ── Checkout ────────────────────────────────────────────── */
.checkout-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
}

.checkout-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 2rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 860px) {
    .checkout-layout { grid-template-columns: 1fr; }
}

.checkout-section-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 1.5rem 0 1rem;
    color: #111111;
}

.checkout-section-title:first-child { margin-top: 0; }

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: #444444;
    margin-bottom: .35rem;
}

.form-control {
    width: 100%;
    padding: .65rem .9rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: .9rem;
    background: #ffffff;
    transition: border-color .15s;
    box-sizing: border-box;
}

.form-control:focus { outline: none; border-color: #111111; }
.form-control.is-invalid { border-color: #cc0000; }

.form-control.validation-message,
.validation-message { color: #cc0000; font-size: .8rem; margin-top: .25rem; }

textarea.form-control { resize: vertical; min-height: 80px; }

select.form-control {
    padding-right: .9rem;
    appearance: auto;
}

.checkout-pickup-label {
    display: flex !important;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    cursor: pointer;
}

.checkout-submit-btn {
    width: 100%;
    padding: 1rem;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    margin-top: .5rem;
}

.checkout-submit-btn:hover:not(:disabled) { background: #333333; }
.checkout-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.checkout-error {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    color: #cc0000;
    border-radius: 10px;
    padding: .75rem 1rem;
    font-size: .875rem;
    margin-bottom: 1rem;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
    color: #555555;
    margin-bottom: .5rem;
}

/* ── Checkout result (success / cancel) ─── */
.checkout-result-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
}

.checkout-result-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #d4edda;
    color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.checkout-result-icon--cancel { background: #fde8e8; color: #cc0000; }
.checkout-result-icon--loading { background: #f0f0f0; color: #888888; }

.checkout-result-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 .75rem;
}

.checkout-result-sub { font-size: .95rem; color: #555555; margin: 0 0 2rem; }

.checkout-result-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    text-align: left;
}

.checkout-result-row {
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
    color: #555555;
    padding: .4rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.checkout-result-row:last-child { border-bottom: none; }

.checkout-result-total {
    font-weight: 800;
    color: #111111;
    font-size: .95rem;
    margin-top: .25rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .shop-filters { flex-direction: column; align-items: stretch; padding: .875rem 1.25rem; }
    .shop-search-wrap { width: 100%; max-width: 100%; }
}

@media (max-width: 640px) {
    .shop-topbar { padding: 0 1.25rem; }
    .shop-hero { padding: 3rem 1.25rem 2.5rem; }
    .shop-grid-wrap { padding: 1.25rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .product-card-name { font-size: .82rem; }
    .product-card-body { padding: .75rem .85rem 2.5rem; }
    .product-detail-wrap { padding: 1.25rem; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .cart-wrap, .checkout-wrap { padding: 1.25rem; }
    .cart-item { grid-template-columns: 70px 1fr; }
    .cart-item-qty, .cart-item-total, .cart-item-remove { grid-column: 2; }

    .pagination-desktop { display: none; }
    .pagination-mobile {
        display: flex;
        flex-wrap: nowrap;
    }
    .pagination-mobile .page-btn {
        padding: .4rem .65rem;
        font-size: .82rem;
        min-width: 38px;
    }
}
