:root {
    --store-ink: #101828;
    --store-ink-soft: #1b3168;
    --store-blue: #2457d6;
    --store-blue-dark: #1c46ae;
    --store-blue-soft: #eef3ff;
    --store-mint: #16b3a3;
    --store-mint-dark: #0f887d;
    --store-mint-soft: #e9fbf8;
    --store-text: #344054;
    --store-muted: #667085;
    --store-line: #e4e9f2;
    --store-surface: #f4f7fb;
    --store-white: #fff;
    --store-danger: #d92d20;
    --store-shadow: 0 18px 45px rgba(16, 24, 40, .08);
    --store-radius: 18px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--store-surface);
    color: var(--store-ink);
    font-family: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(22, 179, 163, .45);
    outline-offset: 3px;
}

.carte-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
    color: var(--store-white);
    text-align: left;
    background:
        radial-gradient(circle at 78% -60%, rgba(74, 128, 255, .55), transparent 45%),
        linear-gradient(120deg, var(--store-ink) 0%, var(--store-ink-soft) 65%, var(--store-blue) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 10px 30px rgba(16, 24, 40, .18);
}

.store-header-inner {
    width: min(1400px, calc(100% - 48px));
    min-height: 104px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.carte-header .shop-info {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 18px;
}

.shop-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: cover;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 20px;
    background: var(--store-white);
    box-shadow: 0 12px 24px rgba(5, 12, 32, .25);
}

.shop-details {
    min-width: 0;
}

.store-eyebrow,
.section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.store-eyebrow {
    margin-bottom: 6px;
    color: #9db9ff;
}

.shop-details h1 {
    margin: 0;
    color: var(--store-white);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -.045em;
}

.shop-contact-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 9px;
}

.shop-contact-list span,
.shop-contact-list a {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c9d3e8;
    font-size: 12px;
    text-decoration: none;
}

.shop-contact-list a:hover {
    color: var(--store-white);
}

.shop-contact-list svg,
.detail-btn svg,
.cart-title svg,
.cart-close svg,
.payment-message svg,
.secure-note svg,
.remove-btn svg,
.payment-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shop-contact-list svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    color: #63ddcf;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.cart-total-header {
    display: none;
    margin: 0;
    padding: 0 18px 0 0;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .22);
    text-align: right;
}

.cart-total-header.show {
    display: block;
}

.cart-total-header .total-label {
    display: block;
    margin: 0 0 2px;
    color: #aebddb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cart-total-header .total-value {
    display: block;
    color: var(--store-white);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.detail-btn {
    min-height: 48px;
    display: none;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0 14px;
    color: var(--store-ink);
    background: var(--store-mint);
    border: 0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(9, 85, 78, .25);
}

.detail-btn:hover {
    color: var(--store-ink);
    background: #2ac5b5;
    transform: translateY(-1px);
}

.detail-btn svg {
    width: 20px;
    height: 20px;
}

.detail-btn b {
    min-width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    color: var(--store-white);
    background: var(--store-ink);
    border-radius: 999px;
    font-size: 11px;
}

.jaay-trust {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #c9d3e8;
    font-size: 11px;
    white-space: nowrap;
}

.jaay-trust span {
    width: 8px;
    height: 8px;
    background: var(--store-mint);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(22, 179, 163, .16);
}

.jaay-trust strong {
    color: var(--store-white);
    letter-spacing: .04em;
}

.container {
    width: min(1400px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto;
    padding: 28px 0 56px;
}

.payment-message {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    padding: 14px 16px;
    color: var(--store-text);
    background: var(--store-white);
    border: 1px solid var(--store-line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
    text-align: left;
    font-size: 14px;
    font-weight: 500;
}

.payment-message svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.payment-message.success { border-color: #a7f3d0; background: #ecfdf5; color: #067647; }
.payment-message.error { border-color: #fecdca; background: #fef3f2; color: #b42318; }
.payment-message.cancel { border-color: #fedf89; background: #fffaeb; color: #b54708; }

.carte-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 24px;
    margin: 0;
}

.cart-section {
    background: var(--store-white);
    border: 1px solid var(--store-line);
    border-radius: var(--store-radius);
    box-shadow: var(--store-shadow);
}

.products-section {
    min-width: 0;
    padding: 0;
}

.products-section.hidden {
    display: block;
}

.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-eyebrow {
    margin-bottom: 7px;
    color: var(--store-blue);
}

.catalog-heading h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.12;
    letter-spacing: -.045em;
}

.catalog-heading p {
    margin: 7px 0 0;
    color: var(--store-muted);
    font-size: 13px;
}

.category-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 -3px 26px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 14px;
    color: var(--store-text);
    background: var(--store-surface);
    border: 1px solid var(--store-line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.category-nav a:hover {
    color: var(--store-blue);
    background: var(--store-blue-soft);
    border-color: #b7c8f3;
}

.category {
    margin: 0 0 34px;
}

.category:last-child {
    margin-bottom: 0;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
    padding: 0;
    color: var(--store-ink);
    border: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.025em;
}

.category-title::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    background: var(--store-mint);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--store-mint-soft);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    cursor: default;
    background: var(--store-white);
    border: 1px solid var(--store-line);
    border-radius: 15px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: #b7c8f3;
    box-shadow: 0 16px 32px rgba(16, 24, 40, .1);
}

.product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 25%, rgba(36, 87, 214, .11), transparent 35%),
        linear-gradient(145deg, #f8faff, #edf2fa);
}

.product-image {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    object-fit: cover;
    border-radius: 0;
    background: transparent;
    transition: transform .35s ease;
}

.product-card:hover .product-image {
    transform: scale(1.035);
}

.product-image-placeholder {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #8fa7db;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(183, 200, 243, .7);
    border-radius: 17px;
    box-shadow: 0 10px 24px rgba(36, 87, 214, .08);
}

.product-image-placeholder[hidden] {
    display: none;
}

.product-image-placeholder svg,
.no-products svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-image-placeholder svg {
    width: 28px;
    height: 28px;
}

.product-card-body {
    min-height: 158px;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.product-name {
    margin: 0 0 6px;
    color: var(--store-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.product-description {
    min-height: 38px;
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--store-muted);
    font-size: 12.5px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.product-price {
    color: var(--store-ink);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -.035em;
    white-space: nowrap;
}

.product-price small {
    color: var(--store-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
}

.add-to-cart-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    color: var(--store-white);
    background: var(--store-blue);
    border: 0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 7px 16px rgba(36, 87, 214, .2);
    transition: .2s ease;
    margin-left: auto;
}

.add-to-cart-btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.add-to-cart-btn:hover {
    background: var(--store-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(36, 87, 214, .28);
}

.add-to-cart-btn.added {
    background: var(--store-mint-dark);
}

.cart-section {
    position: sticky;
    top: 124px;
    max-height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    padding: 22px;
    overflow: hidden;
}

.cart-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--store-line);
}

.cart-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--store-ink);
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -.035em;
}

.cart-title svg {
    width: 21px;
    height: 21px;
    color: var(--store-blue);
}

.cart-title span {
    min-width: 23px;
    height: 23px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
    color: var(--store-blue);
    background: var(--store-blue-soft);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0;
}

.cart-close {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    flex: 0 0 44px;
    color: var(--store-muted);
    background: var(--store-surface);
    border: 1px solid var(--store-line);
    border-radius: 12px;
}

.cart-close svg {
    width: 20px;
    height: 20px;
}

.cart-items {
    min-height: 120px;
    flex: 1;
    margin: 0;
    padding: 16px 3px 2px 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.empty-cart {
    min-height: 196px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    color: var(--store-muted);
    text-align: center;
}

.empty-cart-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin: 0 0 14px;
    color: var(--store-blue);
    background: var(--store-blue-soft);
    border-radius: 20px;
}

.empty-cart-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.empty-cart h3 {
    margin: 0 0 5px;
    color: var(--store-ink);
    font-size: 15px;
    letter-spacing: -.02em;
}

.empty-cart p {
    margin: 0;
    font-size: 12px;
}

.cart-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 10px;
    padding: 14px;
    background: var(--store-surface);
    border: 1px solid var(--store-line);
    border-radius: 13px;
}

.cart-item-header,
.cart-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

.cart-item-info {
    min-width: 0;
    flex: 1;
}

.cart-item-name {
    margin: 0 0 3px;
    overflow: hidden;
    color: var(--store-ink);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-quantity-info {
    margin: 0;
    color: var(--store-muted);
    font-size: 11px;
}

.cart-item-price {
    flex: 0 0 auto;
    color: var(--store-ink);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.cart-item-controls {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    background: var(--store-white);
    border: 1px solid var(--store-line);
    border-radius: 10px;
}

.quantity-btn,
.remove-btn {
    min-width: 36px;
    min-height: 36px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.quantity-btn {
    color: var(--store-blue);
    background: transparent;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
}

.quantity-btn:hover {
    background: var(--store-blue-soft);
}

.quantity {
    min-width: 27px;
    color: var(--store-ink);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.remove-btn {
    color: var(--store-danger);
    background: #fef3f2;
    border-radius: 9px;
}

.remove-btn:hover {
    background: #fee4e2;
}

.remove-btn svg {
    width: 17px;
    height: 17px;
}

.cart-total {
    margin: 14px 0 0;
    padding: 17px 0 0;
    border-top: 1px solid var(--store-line);
}

.total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 8px;
    color: var(--store-muted);
    font-size: 12px;
}

.total-line .total-amount {
    color: var(--store-ink);
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -.035em;
}

.payment-label {
    margin: 17px 0 9px;
    color: var(--store-text);
    font-size: 11px;
    font-weight: 750;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.payment-btn {
    min-width: 0;
    min-height: 54px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 10px;
    overflow: hidden;
    color: var(--store-white);
    border: 0;
    border-radius: 11px;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    box-shadow: none;
}

.payment-btn:last-child {
    grid-column: 1 / -1;
}

.payment-btn .payment-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    padding: 5px;
    background: rgba(255, 255, 255, .92);
    border-radius: 8px;
}

.payment-btn .payment-icon img,
.payment-btn .payment-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-btn.orange-money { background: linear-gradient(135deg, #ff7900, #ff9b28); }
.payment-btn.wave { background: linear-gradient(135deg, #16bca6, #55c7a4); }
.payment-btn.card { background: linear-gradient(135deg, #173b8f, #12317c); }
.payment-btn.paypal { background: linear-gradient(135deg, #2464aa, #377cc3); }
.payment-btn.cash { background: linear-gradient(135deg, #2eaa67, #62c58a); }

.payment-btn.cash .payment-icon {
    color: var(--store-white);
    background: rgba(255, 255, 255, .2);
}

.payment-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(16, 24, 40, .13);
}

.payment-btn:disabled {
    color: #98a2b3;
    background: #eaecf0;
    cursor: not-allowed;
    box-shadow: none;
    filter: grayscale(1);
    transform: none;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 12px 0 0;
    color: var(--store-muted);
    font-size: 9.5px;
}

.secure-note svg {
    width: 13px;
    height: 13px;
    color: var(--store-mint-dark);
}

.no-products {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--store-muted);
    text-align: center;
}

.no-products svg {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    color: var(--store-blue);
}

.no-products h3 {
    margin: 0 0 6px;
    color: var(--store-ink);
    font-size: 18px;
}

.no-products p {
    margin: 0;
    font-size: 13px;
}

.cart-backdrop {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 1100px) {
    .carte-content {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    }

    .jaay-trust {
        display: none;
    }
}

@media (max-width: 968px) {
    body.cart-open {
        overflow: hidden;
    }

    .store-header-inner,
    .container {
        width: min(100% - 32px, 760px);
    }

    .store-header-inner {
        min-height: 104px;
        gap: 16px;
    }

    .shop-logo {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 16px;
    }

    .shop-contact-list span {
        max-width: 320px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shop-contact-list a {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .cart-total-header {
        display: none !important;
    }

    .detail-btn {
        display: inline-flex;
    }

    .container {
        padding-top: 24px;
    }

    .carte-content {
        display: block;
    }

    .products-section {
        padding: 0;
    }

    .cart-section {
        position: fixed;
        z-index: 310;
        inset: auto 16px 16px;
        top: auto;
        max-height: min(82vh, 720px);
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 28px 70px rgba(16, 24, 40, .3);
        transform: translateY(calc(100% + 36px));
        visibility: hidden;
        transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s;
    }

    .cart-section.show {
        display: flex;
        transform: translateY(0);
        visibility: visible;
    }

    .cart-close {
        display: grid;
    }

    .cart-backdrop {
        position: fixed;
        z-index: 300;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        background: rgba(16, 24, 40, .56);
        border: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s;
    }

    .cart-backdrop.show {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .cart-items {
        min-height: 160px;
    }

    .empty-cart {
        min-height: 190px;
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 120px;
    }

    .store-header-inner,
    .container {
        width: min(100% - 24px, 600px);
    }

    .store-header-inner {
        min-height: 94px;
    }

    .carte-header .shop-info {
        gap: 11px;
    }

    .shop-logo {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 14px;
    }

    .store-eyebrow {
        margin-bottom: 4px;
        font-size: 9px;
    }

    .shop-details h1 {
        max-width: 175px;
        overflow: hidden;
        font-size: 19px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shop-contact-list {
        margin-top: 4px;
    }

    .shop-contact-list span {
        max-width: 175px;
        font-size: 10px;
    }

    .detail-btn {
        width: 48px;
        justify-content: center;
        padding: 0;
    }

    .detail-btn > span {
        display: none;
    }

    .detail-btn b {
        position: absolute;
        margin: -34px 0 0 34px;
        border: 2px solid var(--store-ink-soft);
    }

    .container {
        padding: 18px 0 34px;
    }

    .products-section {
        padding: 0;
    }

    .catalog-heading {
        margin-bottom: 16px;
    }

    .catalog-heading h2 {
        font-size: 25px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .product-media {
        height: 100%;
        min-height: 178px;
        aspect-ratio: auto;
    }

    .product-card-body {
        min-height: 178px;
        padding: 15px;
    }

    .product-description {
        margin-bottom: 10px;
    }

    .product-footer {
        align-items: flex-end;
        flex-direction: column;
        gap: 8px;
    }

    .product-price {
        align-self: flex-start;
        font-size: 16px;
    }

    .add-to-cart-btn {
        width: 100%;
    }

    .category {
        margin-bottom: 28px;
    }

    .cart-section {
        inset: auto 8px 8px;
        max-height: calc(100dvh - 68px);
    }
}

@media (max-width: 390px) {
    .product-card {
        display: flex;
    }

    .product-media {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .product-card-body {
        min-height: 164px;
    }

    .product-footer {
        align-items: center;
        flex-direction: row;
    }

    .add-to-cart-btn {
        width: auto;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .payment-btn:last-child {
        grid-column: auto;
    }
}
