/* FranklinYule - Cart Page Styles */

.fy-bg-mn {
    background: var(--fy-ivory);
    min-height: calc(100vh - 300px);
    padding: 3rem 0;
}

.fy-bg-wr {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.fy-bg-tt {
    font-family: var(--fy-font-display);
    font-size: 2.5rem;
    color: var(--fy-navy);
    margin-bottom: 2rem;
}

.fy-bg-mt {
    text-align: center;
    padding: 4rem 0;
}

.fy-bg-mt p {
    color: var(--fy-gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.fy-bg-cn {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
}

/* Cart Items */
.fy-bg-ls {
    background: white;
    border-radius: 4px;
    padding: 1.5rem;
}

.fy-bg-it {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px 30px;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
}

.fy-bg-it:last-child {
    border-bottom: none;
}

.fy-bg-im {
    width: 100px;
    height: 125px;
    border-radius: 4px;
    overflow: hidden;
}

.fy-bg-im img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fy-bg-nm {
    font-family: var(--fy-font-display);
    font-size: 1.1rem;
    color: var(--fy-navy);
    margin-bottom: 0.25rem;
}

.fy-bg-vr {
    color: var(--fy-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.fy-bg-pr {
    color: var(--fy-gold);
    font-weight: 600;
}

.fy-bg-qy .fy-qy-sl {
    height: 36px;
}

.fy-bg-qy .fy-qy-sl button {
    width: 36px;
    height: 36px;
}

.fy-bg-qy .fy-qy-sl input {
    height: 36px;
    width: 50px;
}

.fy-bg-ln {
    font-weight: 600;
    color: var(--fy-navy);
    text-align: right;
}

.fy-bg-rm {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--fy-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.fy-bg-rm:hover {
    color: #dc2626;
}

/* Summary */
.fy-bg-sm {
    background: white;
    border-radius: 4px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.fy-bg-sm-tt {
    font-family: var(--fy-font-display);
    font-size: 1.3rem;
    color: var(--fy-navy);
    margin-bottom: 1.5rem;
}

.fy-bg-sm-ln {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--fy-gray);
    font-size: 0.95rem;
}

.fy-bg-sm-tl {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 2px solid rgba(26, 54, 93, 0.1);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--fy-navy);
}

.fy-bg-sm .fy-btn {
    width: 100%;
    margin-top: 1.5rem;
}

.fy-bg-ct {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: var(--fy-gray);
    text-decoration: none;
    font-size: 0.9rem;
}

.fy-bg-ct:hover {
    color: var(--fy-gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .fy-bg-cn {
        grid-template-columns: 1fr;
    }
    
    .fy-bg-sm {
        position: static;
    }
}

@media (max-width: 768px) {
    .fy-bg-it {
        grid-template-columns: 80px 1fr 30px;
        grid-template-rows: auto auto;
        gap: 1rem;
    }
    
    .fy-bg-im {
        width: 80px;
        height: 100px;
        grid-row: span 2;
    }
    
    .fy-bg-dt {
        grid-column: 2;
    }
    
    .fy-bg-qy {
        grid-column: 2;
    }
    
    .fy-bg-ln {
        grid-column: 2;
        text-align: left;
    }
    
    .fy-bg-rm {
        grid-column: 3;
        grid-row: 1;
    }
}