.th-cart-shell {
    max-width: 880px;
    margin: 0 auto;
}
.th-cart-product-controls,
.th-cart-checkout-form,
.th-cart-summary,
.th-cart-lines {
    margin: 1.25rem 0;
    padding: 1.25rem;
    border: 1px solid #ced8df;
    border-radius: .75rem;
}
.th-cart-product-controls label,
.th-cart-checkout-form label,
.th-cart-line-controls label {
    display: block;
    font-weight: 600;
}
.th-cart-product-controls input,
.th-cart-product-controls select,
.th-cart-checkout-form input,
.th-cart-checkout-form textarea,
.th-cart-line-controls input {
    display: block;
    min-height: 42px;
    max-width: 100%;
    padding: .45rem .6rem;
    border: 1px solid #9fb0bd;
    border-radius: .35rem;
    font: inherit;
    color: #172b3b;
    background: #fff;
}
.th-cart-checkout-form input,
.th-cart-checkout-form textarea {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: .75rem;
}
.th-cart-product-controls input,
.th-cart-line-controls input {
    width: 8rem;
}
.th-cart-actions,
.th-cart-line-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: end;
}
.th-cart-product-controls .th-button,
.th-cart-checkout-form .th-button,
.th-cart-button-secondary,
.th-cart-button-text {
    cursor: pointer;
    min-height: 44px;
}
.th-cart-button-secondary,
.th-cart-button-text {
    padding: .55rem .85rem;
    border: 1px solid #9fb0bd;
    border-radius: .4rem;
    font: inherit;
    color: #172b3b;
    background: #fff;
}
.th-cart-button-text {
    border-color: transparent;
    text-decoration: underline;
}
.th-cart-sm,
.th-cart-line p {
    color: #455865;
    font-size: .94rem;
}
.th-cart-line {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid #dce5ea;
}
.th-cart-line:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.th-cart-line img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}
.th-cart-line h3,
.th-cart-line p {
    margin: 0 0 .25rem;
}
.th-cart-line-controls {
    flex-basis: 100%;
}
.th-cart-summary {
    background: #f5f8fa;
}
.th-cart-summary dl {
    margin: 0;
}
.th-cart-summary dl div {
    display: flex;
    gap: .75rem;
    justify-content: space-between;
}
.th-cart-summary dd {
    margin: 0;
    text-align: right;
    font-weight: 600;
}
.th-cart-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem 1rem;
}
.th-cart-notice {
    padding: .7rem .9rem;
    border-left: .25rem solid #2e6358;
    background: #edf6f3;
    color: #294e44;
}
@media (max-width: 520px) {
    .th-cart-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .th-cart-line-controls input { width: 6.5rem; }
}
