/* =========================================================
   PAGE HEAD
========================================================= */
.page-head {
    padding: 1.75rem 0 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-head h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.025em;
    margin: 0 0 .25rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: .6rem;
}

.page-head h1 i {
    color: var(--secondary);
    font-size: 1.1em;
}

.page-head p {
    color: var(--muted);
    margin: 0;
    font-size: .875rem;
}

.page-head .count-badge {
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: .78rem;
    font-weight: 700;
    padding: .4rem .85rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.page-head .count-badge i {
    font-size: .75rem;
    color: var(--secondary);
}

/* =========================================================
   CART LAYOUT
========================================================= */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 1.5rem;
    padding-bottom: 3rem;
    align-items: flex-start;
}

@media(max-width:991.98px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* =========================================================
   FREE SHIPPING BAR
========================================================= */
.ship-bar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.ship-bar.unlocked {
    background: linear-gradient(135deg, var(--success-bg), #F0FDF4);
    border-color: #A7F3D0;
}

.ship-bar .row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: .65rem;
    flex-wrap: wrap;
}

.ship-bar .msg {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.ship-bar .msg i {
    color: var(--secondary);
    font-size: 1.05rem;
}

.ship-bar.unlocked .msg i {
    color: var(--success);
}

.ship-bar .msg b {
    color: var(--secondary);
    font-weight: 800;
}

.ship-bar.unlocked .msg b {
    color: var(--success);
}

.ship-bar .progress-text {
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600;
}

.ship-bar .bar {
    height: 8px;
    background: var(--surface-muted);
    border-radius: 999px;
    overflow: hidden;
}

.ship-bar.unlocked .bar {
    background: rgba(22, 128, 60, .15);
}

.ship-bar .bar>span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-hover));
    border-radius: 999px;
    transition: width .5s ease;
}

.ship-bar.unlocked .bar>span {
    background: linear-gradient(90deg, var(--success), #22C55E);
}

/* =========================================================
   CART ITEMS
========================================================= */
.cart-items-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
}

.cart-items-head {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cart-items-head h5 {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.cart-items-head .clear {
    font-size: .78rem;
    font-weight: 700;
    color: var(--danger);
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: opacity var(--t-fast);
}

.cart-items-head .clear:hover {
    opacity: .75;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.15rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
    animation: itemIn .3s ease both;
}

@keyframes itemIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item:last-child {
    border-bottom: 0;
}

@media(max-width:575.98px) {
    .cart-item {
        grid-template-columns: 1fr;
        gap: .85rem;
        padding: 1rem;
    }
}

.ci-media {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-muted);
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
}

.ci-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.ci-media:hover img {
    transform: scale(1.06);
}

.ci-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--secondary);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    padding: .2rem .45rem;
    border-radius: 5px;
    letter-spacing: .02em;
}

@media(max-width:575.98px) {
    .ci-media {
        width: 88px;
        height: 88px;
    }
}

.ci-body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 0;
}

.ci-cat {
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.ci-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin: 0;
}

.ci-title a {
    color: inherit;
}

.ci-title a:hover {
    color: var(--secondary);
}

.ci-variant {
    font-size: .75rem;
    color: var(--muted);
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
}

.ci-variant .chip {
    background: var(--surface-muted);
    padding: .2rem .55rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .7rem;
    color: var(--text-secondary);
}

.ci-stock {
    font-size: .72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.ci-stock.in {
    color: var(--success);
}

.ci-stock.low {
    color: var(--warning);
}

.ci-stock.out {
    color: var(--danger);
}

.ci-actions-row {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.ci-action {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .5rem;
    border-radius: 6px;
    transition: all var(--t-fast);
}

.ci-action:hover {
    color: var(--secondary);
    background: var(--secondary-50);
}

.ci-action.danger:hover {
    color: var(--danger);
    background: var(--danger-bg);
}

/* Right column */
.ci-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem;
    min-width: 130px;
}

@media(max-width:575.98px) {
    .ci-right {
        align-items: stretch;
        min-width: 0;
        flex-direction: row;
        justify-content: space-between;
        padding-top: .6rem;
        border-top: 1px dashed var(--border-light);
    }
}

.ci-price {
    text-align: right;
}

.ci-price .now {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.02em;
}

.ci-price .old {
    font-size: .75rem;
    color: var(--muted);
    text-decoration: line-through;
    display: block;
}

@media(max-width:575.98px) {
    .ci-price {
        text-align: left;
    }
}

.ci-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
}

.ci-qty button {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--t-fast);
    display: grid;
    place-items: center;
}

.ci-qty button:hover:not(:disabled) {
    background: var(--surface-muted);
}

.ci-qty button:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.ci-qty input {
    width: 40px;
    height: 34px;
    border: 0;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    text-align: center;
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    outline: 0;
    background: transparent;
}

.ci-line-total {
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600;
}

.ci-line-total b {
    color: var(--text);
    font-weight: 800;
}

@media(max-width:575.98px) {
    .ci-line-total {
        align-self: center;
    }
}

/* =========================================================
   SAVE FOR LATER
========================================================= */
.save-later {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
}

.save-later .head {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.save-later .head h5 {
    margin: 0;
    font-size: .9rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.save-later .head h5 i {
    color: var(--secondary);
}

.save-later .head .count {
    background: var(--surface-muted);
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .55rem;
    border-radius: 999px;
}

.sl-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.sl-item:last-child {
    border-bottom: 0;
}

@media(max-width:575.98px) {
    .sl-item {
        grid-template-columns: auto 1fr;
        padding: .85rem 1rem;
    }
}

.sl-media {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-muted);
    flex-shrink: 0;
}

.sl-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-body {
    min-width: 0;
}

.sl-title {
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 .25rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sl-price {
    font-size: .85rem;
    font-weight: 800;
    color: var(--primary);
}

.sl-price .old {
    font-size: .72rem;
    color: var(--muted);
    text-decoration: line-through;
    margin-left: .35rem;
    font-weight: 500;
}

.sl-actions {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
}

@media(max-width:575.98px) {
    .sl-actions {
        grid-column: 1 / -1;
    }
}

.sl-btn {
    padding: .5rem .9rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: all var(--t-fast);
}

.sl-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sl-btn.primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.sl-btn.primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

/* =========================================================
   ORDER SUMMARY
========================================================= */
.summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 180px;
}

@media(max-width:991.98px) {
    .summary {
        position: static;
    }
}

.summary-head {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.summary-head h5 {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.summary-head h5 i {
    color: var(--secondary);
}

.summary-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: var(--text-secondary);
}

.sum-row b {
    color: var(--text);
    font-weight: 700;
}

.sum-row.discount b {
    color: var(--success);
}

.sum-row.free {
    color: var(--success);
    font-weight: 700;
}

.sum-row.free b {
    color: var(--success);
}

.sum-divider {
    height: 1px;
    background: var(--border-light);
    margin: .25rem 0;
}

.sum-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
}

.sum-total .amount {
    font-size: 1.5rem;
    letter-spacing: -.03em;
}

.sum-total small {
    font-size: .7rem;
    color: var(--muted);
    font-weight: 600;
    display: block;
    margin-top: .15rem;
}

/* Coupon */
.coupon {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-light);
    background: var(--surface-soft);
}

.coupon label {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    display: block;
    margin-bottom: .5rem;
}

.coupon-form {
    display: flex;
    gap: .4rem;
}

.coupon-form input {
    flex: 1;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 .85rem;
    font-size: .82rem;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    outline: 0;
    background: #fff;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.coupon-form input:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(63, 118, 80, .1);
}

.coupon-form button {
    height: 40px;
    padding: 0 1rem;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    transition: background var(--t-fast);
}

.coupon-form button:hover {
    background: var(--primary-hover);
}

.coupon-msg {
    font-size: .75rem;
    margin-top: .55rem;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: .35rem;
}

.coupon-msg.show {
    display: flex;
}

.coupon-msg.ok {
    color: var(--success);
}

.coupon-msg.err {
    color: var(--danger);
}

.applied-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .85rem;
    background: var(--success-bg);
    border: 1px dashed var(--success);
    border-radius: 8px;
    margin-top: .5rem;
}

.applied-coupon .code {
    font-family: 'Courier New', monospace;
    font-weight: 800;
    font-size: .82rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: .4rem;
}

.applied-coupon button {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.applied-coupon button:hover {
    color: var(--danger);
}

/* Gift wrap */
.gift-wrap {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .75rem .9rem;
    background: var(--secondary-50);
    border: 1px solid var(--secondary-100);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--t-fast);
}

.gift-wrap:hover {
    border-color: var(--secondary);
}

.gift-wrap input {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
    cursor: pointer;
    margin: 0;
}

.gift-wrap .txt {
    flex: 1;
}

.gift-wrap .txt b {
    font-size: .82rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.gift-wrap .txt span {
    font-size: .72rem;
    color: var(--text-secondary);
}

.gift-wrap .price {
    font-size: .82rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Checkout */
.summary-foot {
    padding: 1.25rem;
    border-top: 1px solid var(--border-light);
    background: var(--surface-soft);
}

.checkout-btn {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 10px;
    background: var(--secondary);
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    transition: all var(--t);
}

.checkout-btn:hover:not(:disabled) {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -10px rgba(232, 93, 4, .6);
}

.checkout-btn:disabled {
    background: var(--border);
    color: var(--muted);
    cursor: not-allowed;
}

.summary-foot .continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: .75rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary);
    transition: gap var(--t-fast);
}

.summary-foot .continue:hover {
    gap: .6rem;
    color: var(--secondary);
}

/* Trust badges */
.summary-trust {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

.summary-trust .t {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    color: var(--muted);
    font-weight: 600;
}

.summary-trust .t i {
    color: var(--secondary);
    font-size: .95rem;
}

/* =========================================================
   EMPTY STATE
========================================================= */
.empty-state {
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
    text-align: center;
    margin: 1rem 0 2rem;
}

.empty-ico {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--secondary-50);
    color: var(--secondary);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    margin: 0 auto 1.25rem;
    animation: bagPulse 2.4s ease-in-out infinite;
}

@keyframes bagPulse {

    0%,
    100% {
        transform: scale(1) rotate(0);
    }

    50% {
        transform: scale(1.06) rotate(-3deg);
    }
}

.empty-state h3 {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 .5rem;
    letter-spacing: -.02em;
}

.empty-state p {
    color: var(--muted);
    max-width: 460px;
    margin: 0 auto 1.5rem;
    font-size: .9rem;
    line-height: 1.6;
}

.empty-actions {
    display: flex;
    gap: .5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: .75rem 1.5rem;
    font-size: .85rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all var(--t);
}

.btn-primary:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(232, 93, 4, .5);
}

.btn-outline-ink {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    padding: .7rem 1.5rem;
    font-size: .85rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all var(--t);
}

.btn-outline-ink:hover {
    background: var(--primary);
    color: #fff;
}

/* =========================================================
   RAILS
========================================================= */
.rail-section {
    padding: 2rem 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.section-head h2 {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.section-head h2 i {
    color: var(--secondary);
    font-size: 1rem;
}

.section-link {
    font-size: .82rem;
    font-weight: 700;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: gap var(--t-fast);
}

.section-link:hover {
    gap: .6rem;
    color: var(--secondary-hover);
}

.rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: .25rem .25rem 1rem;
    scrollbar-width: none;
}

.rail::-webkit-scrollbar {
    display: none;
}

.rail .rail-item {
    flex: 0 0 calc((100% - 3rem)/4);
    min-width: 200px;
    scroll-snap-align: start;
}

@media(max-width:1199.98px) {
    .rail .rail-item {
        flex: 0 0 calc((100% - 2rem)/3);
    }
}

@media(max-width:767.98px) {
    .rail .rail-item {
        flex: 0 0 calc((100% - 1rem)/2);
    }
}

@media(max-width:575.98px) {
    .rail .rail-item {
        flex: 0 0 68%;
    }
}

.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-media {
    position: relative;
    background: #f2eee9;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .3, 1);
}

.product-card:hover .product-media img {
    transform: scale(1.07);
}

.discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--secondary);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    border-radius: 6px;
    padding: .3rem .5rem;
    z-index: 2;
}

.wishlist {
    position: absolute;
    top: 9px;
    right: 9px;
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--muted);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    border: 0;
    transition: all var(--t-fast);
    z-index: 2;
}

.wishlist:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.wishlist.active {
    color: var(--danger);
}

.product-body {
    padding: .9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: .35rem;
}

.product-title {
    font-size: .85rem;
    font-weight: 700;
    min-height: 40px;
    line-height: 1.35;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stars {
    color: var(--rating);
    font-size: .72rem;
}

.product-foot {
    margin-top: auto;
    padding-top: .6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}

.price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: .72rem;
    margin-left: .25rem;
}

.cart-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all var(--t-fast);
    flex-shrink: 0;
}

.cart-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}