.prc-wrap { margin: 1.5em 0; }
.prc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.prc-card { border: 1px solid rgba(0,0,0,.12); border-radius: 8px; padding: 16px; background: #fff; box-sizing: border-box; min-width: 0; }
.prc-card--used, .prc-card--expired, .prc-card--invalidated { opacity: .65; }
.prc-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.prc-code { font-family: monospace; font-size: 1.25em; font-weight: 700; letter-spacing: 1px; word-break: break-all; }
.prc-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8em; font-weight: 600; background: #eee; }
.prc-badge--available { background: #d6f5dd; color: #14602a; }
.prc-badge--used { background: #e5e5e5; color: #444; }
.prc-badge--expired, .prc-badge--invalidated { background: #fbdcdc; color: #8a1f1f; }
.prc-details { margin: 0 0 12px; display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; }
.prc-details dt { font-weight: 600; margin: 0; }
.prc-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.prc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.prc-actions .button { margin: 0; }
.prc-note { font-size: .9em; opacity: .8; }
@media (max-width: 480px) {
	.prc-grid { grid-template-columns: 1fr; }
	.prc-actions .button { flex: 1 1 100%; text-align: center; }
}

.prc-products { list-style: none; margin: 0; padding: 0; }
.prc-products li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 6px 0; border-bottom: 1px dashed rgba(0,0,0,.12); }
.prc-products li:last-child { border-bottom: 0; }
.prc-products .prc-pname { min-width: 0; overflow-wrap: anywhere; }
.prc-products .prc-shopnow { margin: 0; padding: .35em .9em; font-size: .85em; }

/* ---- Tabs (My Account) ---- */
.prc-tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0 0 22px; border-bottom: 2px solid rgba(0,0,0,.1); }
.prc-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 2px; margin-bottom: -2px; border-bottom: 3px solid transparent; font-weight: 600; text-decoration: none; color: inherit; opacity: .6; }
.prc-tab:hover { opacity: .9; }
.prc-tab.is-active { opacity: 1; border-bottom-color: var(--prc-accent, #ee2a54); }
.prc-tab .prc-count { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 999px; background: rgba(0,0,0,.08); font-size: .8em; line-height: 22px; text-align: center; }
.prc-tab.is-active .prc-count { background: var(--prc-accent, #ee2a54); color: #fff; }

/* ---- Card extras ---- */
.prc-label { display: block; font-size: .72em; text-transform: uppercase; letter-spacing: 1px; opacity: .65; margin-bottom: 2px; }
.prc-eligible summary { cursor: pointer; font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 6px; color: var(--prc-accent, #ee2a54); }
.prc-eligible summary::-webkit-details-marker { display: none; }
.prc-eligible summary::before { content: "\25B8"; transition: transform .15s; }
.prc-eligible[open] summary::before { transform: rotate(90deg); }
.prc-eligible ul { margin: 8px 0 0; padding: 0 0 0 18px; }
.prc-eligible li { margin: 4px 0; overflow-wrap: anywhere; }

/* ---- Shortcode box (product page) ---- */
.prc-savings-box { margin: 16px 0; padding: 14px 16px; border: 2px dashed var(--prc-accent, #ee2a54); border-radius: 8px; background: rgba(238,42,84,.04); }
.prc-savings-box--login { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.prc-savings-title { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .85em; display: block; margin-bottom: 8px; }
.prc-savings-box--login .prc-savings-title { margin: 0; }
.prc-login-link { font-weight: 600; text-decoration: underline; }
.prc-savings-item { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 8px 0; border-top: 1px solid rgba(0,0,0,.08); }
.prc-savings-item:first-of-type { border-top: 0; }
.prc-savings-item .prc-label { flex: 0 0 100%; margin: 0; }
.prc-savings-item .prc-save, .prc-savings-item .prc-expiry { font-size: .9em; }
.prc-savings-item .button { margin: 0 0 0 auto; }
@media (max-width: 480px) { .prc-savings-item .button { width: 100%; margin: 6px 0 0; } }

.prc-eligible li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.prc-eligible .prc-pname { min-width: 0; overflow-wrap: anywhere; }
.prc-eligible .prc-addtocart { margin: 0; padding: .35em .9em; font-size: .85em; white-space: nowrap; }
.prc-oos { font-size: .85em; opacity: .7; }
