/* Cart, checkout and product-variant styles (used with /js/cart.js). */
.lhp-page { padding: 7.5rem 0 4rem; min-height: 60vh; }
.lhp-page h1 { font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1.5rem; color: #1f2d3d; }
.lhp-page h2 { font-family: 'Sora', sans-serif; font-size: 1.15rem; margin: 1.5rem 0 .8rem; color: #1f2d3d; }
.lhp-cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .lhp-cart-grid { grid-template-columns: 1fr; } }
.lhp-line { display: grid; grid-template-columns: 88px 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid #eee; }
.lhp-line img { border-radius: 12px; object-fit: cover; background: #f7f7f7; }
.lhp-line-info { display: flex; flex-direction: column; gap: .2rem; }
.lhp-line-info a { color: #1f2d3d; font-weight: 600; text-decoration: none; }
.lhp-line-info small { color: #777; }
.lhp-qty { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 10px; }
.lhp-qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; }
.lhp-qty span { min-width: 28px; text-align: center; }
.lhp-remove { border: 0; background: none; color: #c0392b; cursor: pointer; }
@media (max-width: 560px) { .lhp-line { grid-template-columns: 64px 1fr; } .lhp-line img { width: 64px; height: 64px; } }
.lhp-summary { background: #f6fbfa; border-radius: 18px; padding: 1.5rem; position: sticky; top: 110px; }
.lhp-summary h2 { margin-top: 0; }
.lhp-sum-row { display: flex; justify-content: space-between; padding: .45rem 0; color: #444; }
.lhp-total { border-top: 1px solid #dde; margin-top: .5rem; padding-top: .8rem; font-weight: 700; font-size: 1.15rem; color: #1f2d3d; }
.lhp-green { color: #2e7d32; }
.lhp-red { color: #c0392b; }
.lhp-coupon { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.lhp-coupon input { flex: 1; min-width: 0; padding: .7rem .9rem; border: 1px solid #ccd; border-radius: 10px; font-size: .95rem; }
.lhp-coupon .lhp-msg { flex-basis: 100%; margin: 0; font-size: .85rem; }
.lhp-btn, .lhp-btn-outline { display: inline-block; padding: .8rem 1.4rem; border-radius: 12px; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; font-family: 'Sora', sans-serif; }
.lhp-btn { background: #ff9f43; color: #fff; border: 0; }
.lhp-btn-outline { background: #fff; color: #2a8c83; border: 2px solid #5bbfb5; }
.lhp-block { display: block; width: 100%; margin-top: 1rem; }
.lhp-note { color: #666; font-size: .88rem; margin-top: .6rem; }
.lhp-empty { text-align: center; padding: 3rem 1rem; }
.lhp-empty .lhp-btn { margin-top: 1rem; }
.lhp-form label { display: block; font-size: .9rem; font-weight: 600; color: #333; margin-bottom: .8rem; }
.lhp-form input, .lhp-form select { display: block; width: 100%; margin-top: .3rem; padding: .7rem .8rem; border: 1px solid #ccd; border-radius: 10px; font-size: 1rem; background: #fff; }
.lhp-3 { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: .8rem; }
@media (max-width: 560px) { .lhp-3 { grid-template-columns: 1fr; } }
.lhp-mini-row { display: grid; grid-template-columns: 48px 1fr auto; gap: .7rem; align-items: center; font-size: .9rem; margin-bottom: .6rem; }
.lhp-mini-row img { border-radius: 8px; object-fit: cover; }
.lhp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-cart { position: relative; display: inline-flex; align-items: center; }
.nav-cart svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.nav-cart [data-cart-count] { position: absolute; top: -8px; right: -10px; background: #ff9f43; color: #fff; border-radius: 999px; font-size: .7rem; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.variant-row { margin: 0 0 1rem; }
.variant-row label { font-weight: 600; margin-right: .5rem; }
.variant-row select { padding: .5rem .7rem; border-radius: 10px; border: 1px solid #ccd; font-size: .95rem; }
.product-thumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.product-thumbs button { border: 2px solid transparent; border-radius: 10px; padding: 0; background: none; cursor: pointer; }
.product-thumbs button.active { border-color: #5bbfb5; }
.product-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.safety-note { background: #fff7ec; border-left: 4px solid #ff9f43; padding: .8rem 1rem; border-radius: 8px; color: #6a4b1f; font-size: .92rem; margin: 1rem 0; }
[data-cart-count][hidden] { display: none !important; }
