/* Box art, tiles and product cards. Shared by the homepage now and the shop / product pages later. */

/* Box art */
.box { display: block; background: var(--white); color: var(--ink); }
.box .band { padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 700; }
.box .band .b { letter-spacing: 0.12em; color: var(--white); }
.box .band .n { color: var(--peach); }
.box .face { padding: 26px 12px; text-align: center; }
.box .face-img { position: relative; }
.box .face-img .cal, .box .face-img .gr { visibility: hidden; }
.box .art-img { position: absolute; top: 8px; left: 12px; width: calc(100% - 24px); height: calc(100% - 16px); object-fit: contain; }
.box .cal { font-family: var(--display); font-size: 34px; line-height: 0.95; letter-spacing: 0.02em; }
.box .gr { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-top: 5px; }

/* Tiles and product cards */
.tile { background: var(--cc-card-bg, var(--card)); border: 1px solid var(--cc-card-border, var(--line)); border-radius: var(--cc-card-radius, 10px); box-shadow: 0 1px 2px rgba(26,24,20,0.06); color: var(--ink); transition: transform .12s, border-color .12s; }
.tile:hover { border-color: var(--ink); color: var(--ink); }
a.tile:hover { transform: translateY(-2px); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: 16px; }
.pgrid.shop { grid-template-columns: repeat(auto-fill, minmax(222px, 1fr)); }
.pcard { overflow: hidden; display: flex; flex-direction: column; }
.pcard .top { display: block; position: relative; border-bottom: 1px solid var(--line); }
.pcard .flag { position: absolute; top: 42px; left: 0; background: var(--ink); color: var(--card); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 0 999px 999px 0; }
.pcard .body { padding: 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pcard .ttl { font-size: 13.5px; font-weight: 600; line-height: 1.3; min-height: 35px; color: var(--ink); }
.price-row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price { font-family: var(--display); font-size: 30px; line-height: 1; }
.cpr { font-size: 13px; font-weight: 700; color: var(--orange2); }
.fee { font-size: 11.5px; color: var(--mute); }
.stock { font-size: 11.5px; font-weight: 600; }
.pcard .btn { margin-top: auto; }
