/* Cart page — Brandprint redesign (Figma 2025:1500) */

.woocommerce-cart main { padding: 0; margin: 0; }
.woocommerce-cart .woocommerce { padding: 0 !important; }

.bp-cart h1::after, .bp-cart h2::after, .bp-cart h3::after { display: none !important; }
.bp-cart h1, .bp-cart h2, .bp-cart h3 { margin-bottom: 0; }

/* Breadcrumbs */
.bp-cart__breadcrumbs {
    display: flex; align-items: center; gap: 10px;
    max-width: 1724px; margin: 21px auto 24px; padding: 0 20px;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif; font-size: 14px; line-height: 16px;
    color: #000;
}
.bp-cart__breadcrumbs a { color: #000; text-decoration: none; }
.bp-cart__breadcrumbs a:hover { color: #e82693; }
.bp-cart__breadcrumbs-sep { display: inline-flex; width: 9px; height: 18px; color: #a7a7a7; }
.bp-cart__breadcrumbs-sep svg { width: 100%; height: 100%; }
.bp-cart__breadcrumbs-current { color: #a7a7a7; }

/* Layout */
.bp-cart {
    max-width: 1724px;
    margin: 0 auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 541px;
    gap: 32px;
    align-items: start;
    font-family: "Open Sans", sans-serif;
}
.bp-cart__main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.bp-cart__sidebar { position: sticky; top: 24px; }

/* Cards */
.bp-cart__items-card,
.bp-cart__notes-card,
.bp-cart__summary {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 32px;
    box-sizing: border-box;
}

.bp-cart__header { margin-bottom: 24px; }
.bp-cart__title {
    font-family: "Open Sans", sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 28.6px;
    color: #0e1318;
    margin: 0;
}
.bp-cart__count { color: #9c9797; font-size: 20px; font-weight: 400; margin-left: 8px; }

/* Notice banner (info blue) */
.bp-cart__notice {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 16px;
    background: #bfe7f8;
    border-radius: 8px;
    margin-bottom: 24px;
}
.bp-cart__notice--compact { margin: 0; padding: 14px 16px; }
.bp-cart__notice p {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 22px;
    color: #0e1318;
}
.bp-cart__notice strong { font-weight: 600; }
.bp-cart__notice-icon { flex-shrink: 0; margin-top: 2px; }

/* Cart list */
.bp-cart__list { list-style: none; margin: 0; padding: 0; }
.bp-cart__item {
    display: grid;
    grid-template-columns: 112px minmax(0, 2fr) minmax(0, 1.2fr) 80px minmax(120px, 1fr) minmax(160px, 1fr) 24px;
    grid-template-rows: auto auto;
    column-gap: 24px;
    row-gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}
.bp-cart__item-thumb {
    grid-column: 1; grid-row: 1 / span 2;
    width: 112px; height: 112px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: #fff;
    align-self: start;
}
.bp-cart__item-thumb img,
.bp-cart__item-thumb .bp-cart__item-img {
    width: 100%; height: 100%; object-fit: contain; display: block;
}

.bp-cart__item-info { grid-column: 2 / span 6; grid-row: 1; align-self: end; }
.bp-cart__item-sku {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #8e9ba8;
}
.bp-cart__item-name {
    margin: 4px 0 0;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #0e1318;
}

.bp-cart__item-variant {
    grid-column: 2; grid-row: 2;
    display: flex; align-items: center; gap: 10px;
}
.bp-cart__item-swatch {
    width: 24px; height: 24px;
    border-radius: 4px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}
.bp-cart__item-color {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #0e1318;
}

.bp-cart__item-qty { grid-column: 3 / span 2; grid-row: 2; justify-self: center; }
.bp-cart__qty-input {
    width: 80px; height: 50px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0e1318;
    box-sizing: border-box;
    outline: none;
    -moz-appearance: textfield;
}
.bp-cart__qty-input::-webkit-outer-spin-button,
.bp-cart__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bp-cart__qty-input:focus { border-color: #e82693; }

.bp-cart__item-unit {
    grid-column: 5; grid-row: 2;
    display: flex; align-items: baseline; gap: 4px;
    justify-self: end;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    white-space: nowrap;
}
.bp-cart__item-unit-suffix { color: #9c9797; }

.bp-cart__item-total {
    grid-column: 6; grid-row: 2;
    justify-self: end;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #e82693;
    white-space: nowrap;
}

.bp-cart__item-remove {
    grid-column: 7; grid-row: 2;
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px;
    color: #2c3e50;
    text-decoration: none;
    transition: color .15s ease;
}
.bp-cart__item-remove:hover { color: #e82693; }

/* Footer actions */
.bp-cart__footer-actions {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    margin-top: 24px;
}
.bp-cart__remove-all {
    display: inline-flex; align-items: center; gap: 8px;
    color: #2c3e50;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
}
.bp-cart__remove-all:hover { color: #e82693; }
.bp-cart__update {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #2c3e50;
    border-radius: 8px;
    padding: 10px 18px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.bp-cart__update:hover { border-color: #e82693; color: #e82693; }

/* Notes card */
.bp-cart__notes-label {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #0e1318;
    margin: 0 0 16px;
}
.bp-cart__notes-input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #0e1318;
    box-sizing: border-box;
    outline: none;
}
.bp-cart__notes-input::placeholder { color: #9c9797; }
.bp-cart__notes-input:focus { border-color: #e82693; }

/* Summary card */
.bp-cart__summary { padding: 24px 28px 28px; }
.bp-cart__summary-title {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #2c3e50;
    margin: 0 0 16px;
}

/* Free shipping progress */
.bp-cart__free-shipping {
    background: rgba(0, 159, 227, 0.18);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}
.bp-cart__free-shipping-text {
    margin: 0 0 12px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #2c3e50;
}
.bp-cart__free-shipping-track {
    height: 8px;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
}
.bp-cart__free-shipping-fill {
    height: 100%;
    background: linear-gradient(90deg, #009fe3, #027fda);
    border-radius: 999px;
    transition: width .25s ease;
}
.bp-cart__free-shipping--reached .bp-cart__free-shipping-fill {
    background: linear-gradient(90deg, #1bb88a, #00c389);
}

.bp-cart__summary-rows { display: flex; flex-direction: column; gap: 12px; }
.bp-cart__summary-row {
    display: flex; align-items: center; justify-content: space-between;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #2c3e50;
}

.bp-cart__summary-divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 16px 0;
}

.bp-cart__summary-total {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.bp-cart__summary-total-label {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #2c3e50;
}
.bp-cart__summary-total-value {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #e82693;
}

.bp-cart__checkout-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 48px;
    background: #e82693;
    color: #fff !important;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    margin-bottom: 16px;
    transition: background .2s ease;
    box-sizing: border-box;
}
.bp-cart__checkout-btn:hover { background: #c91f7d; color: #fff !important; }

.bp-cart__contact {
    margin: 16px 0 0;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 22px;
    color: #0e1318;
    font-weight: 500;
}
.bp-cart__contact a {
    color: #009fe3;
    text-decoration: none;
}
.bp-cart__contact a:hover { color: #e82693; }

/* Empty cart state */
.bp-cart--empty { grid-template-columns: 1fr; }
.bp-cart__empty-card { text-align: center; padding: 60px 32px; }
.bp-cart__empty-text { color: #777272; margin: 16px 0 24px; font-size: 16px; line-height: 24px; }
.bp-cart__empty-cta { max-width: 280px; margin: 0 auto; }

/* Responsive */
@media (max-width: 1199px) {
    .bp-cart { grid-template-columns: 1fr; }
    .bp-cart__sidebar { position: static; }
}
@media (max-width: 767px) {
    .bp-cart__items-card,
    .bp-cart__notes-card,
    .bp-cart__summary { padding: 20px; }
    .bp-cart__item {
        grid-template-columns: 80px 1fr 24px;
        grid-template-rows: auto auto auto auto auto;
        column-gap: 16px;
        row-gap: 8px;
    }
    .bp-cart__item-thumb { width: 80px; height: 80px; grid-row: 1 / span 5; }
    .bp-cart__item-info { grid-column: 2 / span 2; grid-row: 1; }
    .bp-cart__item-variant { grid-column: 2 / span 2; grid-row: 2; }
    .bp-cart__item-qty { grid-column: 2; grid-row: 3; justify-self: start; }
    .bp-cart__item-unit { grid-column: 2; grid-row: 4; justify-self: start; }
    .bp-cart__item-total { grid-column: 2 / span 2; grid-row: 5; justify-self: start; }
    .bp-cart__item-remove { grid-column: 3; grid-row: 1; align-self: start; }
}

.bp-cart__checkout-note{margin:12px 0 0;font-size:13px;line-height:1.5;color:#6c757d;text-align:center}
