/*
 * Direction Portfolio — Cart
 * Page-specific cart styles. Responsive overrides live in responsive.css.
 */
/* =========================
   CART
========================= */

.cart-section {
    padding: var(--spacing-md) 0 30px;
    background: #f5f7fb
}

.cart {
    width: 100%
}

/* =========================
   CART COLUMNS
========================= */

.cart-columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: 100%
}

.cart-column {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    min-width: 0;
    height: fit-content;
    border: 1px solid var(--border)
}

.cart-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--light);
    border-bottom: 1px solid var(--border)
}

.cart-column-header h5 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #102a43
}

.cart-column-content {
    padding: 10px
}

.cart-empty-group {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55px;
    padding: 10px;
    text-align: center;
    color: #9aa6b2;
    font-size: .9rem;
}

/* =========================
   PRODUCTS
========================= */

.cart-product {
    padding: 8px 4px;
    border-bottom: 1px solid var(--primary-dark);
}

.cart-product:last-child {
    border-bottom: 0
}

.cart-product-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px
}

.cart-product-name {
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text)
}

.cart-product .remove {
    border: 0;
    background: none;
    padding: 0;
    color: #d9534f;
    font-size: .8rem;
    cursor: pointer;
    flex-shrink: 0
}

.cart-product .remove:hover {
    text-decoration: underline
}

/* =========================
   CALCULATION
========================= */

.cart-product-calculation {
    margin-top: 6px
}

.cart-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: .9rem;
    line-height: 1.5;
    color: #667085
}

.cart-line strong {
    color: #006eb8;
    white-space: nowrap;
    font-weight: 500
}

.cart-line-total {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #edf0f3;
    color: #102a43
}

.cart-line-total strong {
    font-weight: 600
}

/* =========================
   SUMMARY
========================= */

.cart-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.summary-title {
    margin-bottom: 7px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #102a43
}

.cart-duration {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 12px;
    padding: 14px 18px;
    gap: 15px;
}

.duration-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px
}

.duration-options label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background-color: var(--primary-alpha);
    padding: var(--spacing-sm);
    border-radius: var(--radius);
    border: 1px solid var(--border-dark);
}

.duration-options input {
    margin: 0;
    accent-color: #006eb8
}


.cart-prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 500px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
}

.price-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .9rem;
    color: #667085
}

.price-row strong {
    color: var(--text)
}

.price-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    gap: 5px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    border-top: 1px solid var(--border-dark-2);
    width: 100%;
}

.price-total strong {
    font-size: 1.5rem;
    color: var(--primary-color)
}

/* =========================
   EMPTY CART
========================= */

.cart-empty {
    padding: var(--spacing-md);
    background: #fff;
    border-radius: 12px;
    text-align: center;
    color: #98a2b3;
    font-size: .9rem;
}

/* =========================
   RESPONSIVE
========================= */








