/* ============================================================
   NAIA – Cart Page Styles
   ============================================================ */

:root { --cream: #F9F5F0; --sand: #E8DDD0; --taupe: #C4AA8F; --mink: #8B7355; --charcoal: #2C2C2C; --rose: #C8907A; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body { font-family: 'Lato', sans-serif; background: var(--cream); color: var(--charcoal); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }
img, video, iframe { max-width: 100%; }

.page-hdr { padding: 3rem 0 2.5rem; }
.page-hdr h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.1; margin: 0; padding: 0; }
.page-hdr p { font-size: .78rem; letter-spacing: .1em; color: var(--mink); margin: .6rem 0 0; }

/* CART ITEM */
.ci { display: flex; gap: 1.3rem; padding: 1.5rem 0; border-bottom: 1px solid var(--sand); }
.ci-img { width: 115px; min-width: 115px; height: 145px; overflow: hidden; background: var(--sand); flex-shrink: 0; }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-info { flex: 1; display: flex; flex-direction: column; }
.ci-brand { font-size: .63rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mink); margin-bottom: .25rem; }
.ci-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 400; margin-bottom: .35rem; line-height: 1.3; }
.ci-meta { font-size: .75rem; color: #999; letter-spacing: .05em; margin-bottom: .8rem; }
.ci-price { font-size: .95rem; font-weight: 700; margin-bottom: auto; }
.ci-info > div:nth-child(5) { margin-bottom: .8rem; }

.qb { display: inline-flex; align-items: center; border: 1px solid var(--sand); }
.qb button { background: transparent; border: none; padding: .4rem .8rem; font-size: 1rem; cursor: pointer; color: var(--charcoal); transition: background .2s; }
.qb button:hover { background: var(--sand); }
.qb span { padding: 0 .8rem; font-size: .85rem; min-width: 34px; text-align: center; }
.rm-btn { background: none; border: none; color: #bbb; cursor: pointer; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; padding: 0; transition: color .2s; }
.rm-btn:hover { color: var(--rose); }

/* SHIP BAR */
.ship-bar { padding: 1rem 1.2rem; background: var(--sand); margin-bottom: 1.5rem; }
.ship-bar p { font-size: .75rem; letter-spacing: .08em; margin-bottom: .5rem; }
.ship-bar .prog { height: 4px; background: #ddd; border-radius: 0; }
.ship-bar .prog-fill { height: 4px; background: var(--mink); border-radius: 0; width: 74%; }
.ship-bar .amt { color: var(--mink); font-weight: 700; }

/* SUMMARY BOX */
.sum-box { background: #fff; border: 1px solid var(--sand); padding: 1.8rem; position: sticky; top: 100px; }
.sum-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 400; margin-bottom: 1.3rem; padding-bottom: .9rem; border-bottom: 1px solid var(--sand); }
.sum-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; font-size: .85rem; }
.sum-row.total { font-size: 1.05rem; font-weight: 700; border-top: 1px solid var(--sand); padding-top: .9rem; margin-top: .3rem; }
.sum-row.total span:last-child { font-family: 'Playfair Display', serif; font-size: 1.5rem; }

.promo-wrap { display: flex; border: 1px solid var(--sand); overflow: hidden; margin: 1.1rem 0; }
.promo-in { background: transparent; border: none; padding: .7rem 1rem; font-size: .8rem; font-family: 'Lato', sans-serif; flex: 1; outline: none; color: var(--charcoal); }
.promo-in::placeholder { color: #bbb; }
.promo-apply { background: var(--charcoal); color: #fff; border: none; padding: .7rem 1.1rem; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; font-family: 'Lato', sans-serif; transition: background .2s; }
.promo-apply:hover { background: var(--mink); }

.btn-co { background: var(--charcoal); color: #fff; padding: 1rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; border: none; width: 100%; cursor: pointer; font-family: 'Lato', sans-serif; transition: background .3s; }
.btn-co:hover { background: var(--mink); }
.btn-cont { display: block; text-align: center; background: transparent; color: var(--charcoal); padding: .8rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--sand); width: 100%; cursor: pointer; font-family: 'Lato', sans-serif; text-decoration: none; margin-top: .6rem; transition: all .3s; }
.btn-cont:hover { border-color: var(--charcoal); color: var(--charcoal); }

/* PAYMENT BADGES */
.pay-badge { background: var(--sand); padding: .28rem .7rem; font-size: .68rem; letter-spacing: .08em; font-weight: 700; border-radius: 2px; }

/* RECOMMENDED */
.pc { cursor: pointer; }
.pc-img { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 3/4; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pc:hover .pc-img img { transform: scale(1.04); }
.pc-info h6 { font-family: 'Playfair Display', serif; font-size: .95rem; font-weight: 400; margin-top: .45rem; margin-bottom: .15rem; }
.pc-info .price { font-size: .82rem; color: var(--mink); font-weight: 700; }
.pc-add-sm { background: none; border: 1px solid var(--sand); padding: .3rem .8rem; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; font-family: 'Lato', sans-serif; color: var(--charcoal); transition: all .2s; margin-top: .35rem; }
.pc-add-sm:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

.eyebrow { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mink); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-state i { font-size: 3.5rem; color: var(--sand); margin-bottom: 1.5rem; display: block; line-height: 1; }
.empty-state h4 { font-size: 1.5rem; font-weight: 400; margin: 0 0 .8rem; color: var(--charcoal); }
.empty-state p { font-size: .85rem; color: #999; margin: 0; letter-spacing: .05em; }

.foot-mini { background: #1a1a1a; color: rgba(249,245,240,.45); padding: 1.5rem; text-align: center; font-size: .78rem; margin-top: 4rem; }
.foot-mini .fb { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #F9F5F0; letter-spacing: .12em; }

@media (max-width: 768px) {
  .container { padding-left: 1.2rem; padding-right: 1.2rem; }
  .page-hdr { padding: 2.2rem 0 1.8rem; }
  .page-hdr h1 { font-size: 1.8rem; line-height: 1.1; }
  .ci { gap: 0.9rem; padding: 1.5rem 0; }
  .ci-img { width: 80px; min-width: 80px; height: auto; aspect-ratio: 3/4; }
  .ci-brand { font-size: .6rem; }
  .ci-name { font-size: .95rem; margin-bottom: .2rem; }
  .ci-meta { font-size: .7rem; margin-bottom: .5rem; }
  .ci-price { font-size: .85rem; margin-bottom: .6rem; }
  .ci-info > div:nth-child(5) { margin-bottom: .4rem; }
  .ci-info > input { font-size: .8rem; padding: .4rem .7rem; width: 100%; }
  .ship-bar { padding: 1.2rem; margin-bottom: 2rem; }
  .sum-box { position: static; padding: 1.8rem; margin-top: 2rem; }
  .sum-title { margin-bottom: 1.5rem; }
  .sum-row { margin-bottom: 1rem; }
  .empty-state { padding: 4rem 1.5rem; }
  .empty-state i { font-size: 3rem; margin-bottom: 1.2rem; }
  .empty-state h4 { font-size: 1.3rem; }
}
