/* TONI&GUY Multan online shop — layout follows toniandguy.pk/collections/all */
.shop-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; padding: 14px 20px; border-bottom: 1px solid #ececec; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.shop-nav a:hover, .shop-nav a.on { text-decoration: underline; text-underline-offset: 4px; }

.brands { background: #f3f3f3; overflow: hidden; padding: 30px 0; }
.brands .track { display: flex; gap: 90px; width: max-content; animation: brandScroll 28s linear infinite; }
.brands span { font-size: clamp(28px, 3.4vw, 46px); font-weight: 900; letter-spacing: .02em; white-space: nowrap; text-transform: uppercase; }
@keyframes brandScroll { to { transform: translateX(-50%); } }

.shop-wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.shop-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 44px 0 18px; }
.shop-h h2 { font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: .01em; }
.shop-h small { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.cat { scroll-snap-align: start; text-align: center; }
.cat .pic { aspect-ratio: 1 / 1; border-radius: 10px; background: #eee center / cover; }
.cat span { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; }

.grid-p { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 14px; }
.card-p { position: relative; display: flex; flex-direction: column; }
.card-p .pic { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; background: #f3f3f3 center / contain no-repeat; overflow: hidden; }
.card-p .pic.none::after { content: 'Photo coming soon'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #999; }
.card-p .tag { position: absolute; top: 10px; left: 10px; background: #000; color: #fff; font-size: 10px; font-weight: 800; padding: 4px 8px; text-transform: uppercase; }
.card-p h3 { margin-top: 12px; font-size: 13px; font-weight: 600; line-height: 1.35; }
.card-p .meta { margin-top: 4px; font-size: 12px; color: var(--muted); }
.card-p .price { margin-top: 6px; font-size: 14px; font-weight: 700; }
.card-p .btn { margin-top: 10px; align-self: flex-start; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 22px; }
.chip { border: 1px solid #d6d6d6; padding: 8px 14px; font-size: 12px; font-weight: 600; text-transform: uppercase; border-radius: 30px; }
.chip.on, .chip:hover { background: #000; color: #fff; border-color: #000; }
.count { margin-left: auto; font-size: 12px; color: var(--muted); }

.empty-shop { text-align: center; padding: 60px 20px 80px; }
.empty-shop h2 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 14px; }
.empty-shop p { font-size: 14px; line-height: 1.6; max-width: 520px; margin: 0 auto 20px; }
.empty-shop .btns { justify-content: center; }

/* product page */
.crumbs { font-size: 11px; color: var(--muted); padding: 18px 0; }
.crumbs a:hover { text-decoration: underline; }
.prod { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 60px); padding-bottom: 50px; }
.prod .pic { aspect-ratio: 1 / 1; background: #f3f3f3 center / contain no-repeat; border-radius: 10px; }
.prod h1 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; }
.prod .brand { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.prod .price { font-size: 18px; font-weight: 700; margin: 12px 0 18px; }
.prod .desc { font-size: 14px; line-height: 1.7; white-space: pre-line; margin-bottom: 22px; }
.buy { display: grid; grid-template-columns: 120px 1fr; gap: 10px; margin-bottom: 10px; }
.qty { display: flex; border: 1px solid #ccc; border-radius: 30px; overflow: hidden; }
.qty button { width: 36px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty input { width: 100%; min-width: 0; border: 0; text-align: center; font-family: inherit; font-size: 14px; }
.pill { height: 46px; border-radius: 30px; border: 0; background: #000; color: #fff; font-family: inherit; font-size: 13px; font-weight: 800; text-transform: uppercase; cursor: pointer; width: 100%; }
.pill:disabled { background: #999; cursor: default; }
.pill.light { background: #fff; color: #000; border: 2px solid #000; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.perks div { border: 1px solid #e3e3e3; border-radius: 8px; padding: 14px; text-align: center; font-size: 12px; }

/* bag + checkout */
.bag { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); padding: 10px 0 60px; }
.line-i { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eee; }
.line-i .pic { width: 84px; height: 84px; border-radius: 8px; background: #f3f3f3 center / contain no-repeat; }
.line-i b { display: block; font-size: 13px; }
.line-i small { color: var(--muted); }
.line-i .qty { width: 110px; height: 34px; margin-top: 8px; }
.line-i .rm { border: 0; background: none; font-family: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; margin-top: 6px; color: var(--muted); }
.sum { background: #f5f5f5; padding: 24px; border-radius: 10px; align-self: start; }
.sum h2 { font-size: 18px; margin-bottom: 14px; }
.sum .row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.sum .row.total { border-top: 1px solid #ddd; margin-top: 6px; padding-top: 12px; font-weight: 800; font-size: 16px; }
.sum label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-top: 12px; }
.sum input, .sum textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #cfcfcf; background: #fff; padding: 10px; font-family: inherit; font-size: 14px; }
.sum textarea { resize: vertical; min-height: 64px; }
.pay { margin-top: 16px; display: grid; gap: 8px; }
.pay label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #cfcfcf; background: #fff; padding: 12px; margin: 0; text-transform: none; font-weight: 500; font-size: 14px; cursor: pointer; }
.pay label b { display: block; }
.pay label small { color: var(--muted); font-size: 12px; }
.pay input { width: auto; margin: 3px 0 0; }
.sum .pill { margin-top: 18px; }
.err { color: #b00020; font-size: 13px; margin-top: 10px; min-height: 18px; }
.done { text-align: center; padding: 50px 20px 70px; }
.done h1 { font-size: clamp(26px, 3vw, 40px); }
.done p { font-size: 15px; line-height: 1.7; max-width: 560px; margin: 14px auto; white-space: pre-line; }
.done .btns { justify-content: center; margin-top: 16px; }


@media (max-width: 900px) { .grid-p { grid-template-columns: repeat(2, 1fr); } .prod, .bag { grid-template-columns: 1fr; } }
