/* salefeet storefront — soft blush pink theme */
:root {
  --blush-bg: #fdf7f8;
  --blush-soft: #fbecef;
  --blush-mid: #f6dbe1;
  --rose: #c98a9b;
  --rose-deep: #a85d6e;
  --rose-dark: #8e4a5a;
  --ink: #3d2c31;
  --muted: #9a7d84;
  --card: #ffffff;
  --line: #f0d9de;
}
* { box-sizing: border-box; }
body { font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; margin: 0; color: var(--ink); background: var(--blush-bg); line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.top { background: linear-gradient(120deg, #fbe3e8, #f6d3dc 55%, #efd0da); padding: 20px 0; }
.top .wrap { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 700; letter-spacing: 2px; color: var(--rose-dark); text-decoration: none; }
.tagline { color: var(--rose-deep); font-size: 14px; }
.hero { background: linear-gradient(180deg, #fbe3e8 0%, var(--blush-bg) 100%); padding: 34px 0 10px; text-align: center; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: 34px; margin: 0 0 6px; color: var(--rose-dark); letter-spacing: 1px; }
.hero p { margin: 0; color: var(--rose-deep); font-size: 15px; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 8px; align-items: center; }
#search { flex: 1; min-width: 220px; padding: 11px 16px; border: 1px solid var(--blush-mid); border-radius: 999px; font-size: 15px; background: #fff; outline: none; }
#search:focus { border-color: var(--rose); }
.filters button { padding: 8px 16px; border: 1px solid var(--blush-mid); background: #fff; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--rose-deep); }
.filters button.active { background: var(--rose); color: #fff; border-color: var(--rose); }
.muted { color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 16px 0 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: transform .18s ease, box-shadow .18s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(168, 93, 110, .16); border-color: var(--blush-mid); }
.cover { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--blush-soft), var(--blush-mid)); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.cover-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: var(--rose); }
.cover .count-badge { position: absolute; right: 8px; bottom: 8px; z-index: 2; background: rgba(62, 32, 40, .55); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.cover.big { aspect-ratio: 16 / 10; border-radius: 16px; }
.card-body { padding: 12px 14px; }
.card-title { font-weight: 700; font-size: 16px; }
.model-name { font-family: Georgia, "Times New Roman", serif; font-size: 15px; color: var(--rose-deep); letter-spacing: 1px; }
.price { font-size: 17px; font-weight: 800; color: var(--rose-deep); margin-top: 4px; }
.price.tbd { color: var(--muted); font-weight: 600; }
.price.big { font-size: 26px; }
.detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; margin: 20px 0; }
@media (max-width: 720px) { .detail { grid-template-columns: 1fr; } .hero h1 { font-size: 26px; } }
.detail h1 { margin: 0 0 8px; font-size: 26px; font-family: Georgia, "Times New Roman", serif; color: var(--rose-dark); }
/* gallery */
.gallery { position: relative; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--blush-soft), var(--blush-mid)); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); color: var(--rose-deep); font-size: 20px; cursor: pointer; z-index: 2; }
.gallery-arrow.prev { left: 10px; }
.gallery-arrow.next { right: 10px; }
.gallery-count { position: absolute; right: 10px; bottom: 10px; z-index: 2; background: rgba(62,32,40,.55); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 999px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.gallery-thumbs img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; flex: none; }
.gallery-thumbs img.active { border-color: var(--rose); }
/* model bio */
.bio { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 16px 0; }
.bio h2 { font-size: 17px; margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; color: var(--rose-dark); }
.bio dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }
.bio dt { color: var(--muted); font-size: 14px; }
.bio dd { margin: 0; font-size: 15px; }
.bio .about { margin-top: 10px; font-size: 15px; }
#checkout, #order-status { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 16px 0; }
#checkout h2, #order-status h2 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; color: var(--rose-dark); }
#email { width: 100%; max-width: 360px; padding: 10px 12px; border: 1px solid var(--blush-mid); border-radius: 10px; margin: 6px 0 14px; font-size: 15px; outline: none; }
#email:focus { border-color: var(--rose); }
.methods { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--rose-deep); color: #fff; padding: 12px 26px; border-radius: 999px; text-decoration: none; border: none; cursor: pointer; font-size: 15px; }
.btn:hover { background: var(--rose-dark); }
.btn.alt { background: #fff; color: var(--rose-deep); border: 1px solid var(--rose); }
.btn.alt:hover { background: var(--blush-soft); }
.btn.small { padding: 8px 16px; font-size: 14px; }
#qr-img { max-width: 240px; margin-top: 8px; }
.back { display: inline-block; margin-top: 16px; color: var(--rose-deep); text-decoration: none; }
.notes { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 20px 16px; margin-bottom: 32px; }
.notes h2 { font-size: 17px; font-family: Georgia, "Times New Roman", serif; color: var(--rose-dark); }
footer { padding: 20px 0 40px; }
