/* Vialchemy Credit, friend codes, levels (inc/rewards*.php). Loaded only when the rewards switch is on. */
.woocommerce-cart-form .coupon { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.woocommerce-cart-form .coupon #coupon_code { min-width: 240px; flex: 1 1 240px; }
.vc-rw-note { font-size: 13px; color: var(--vc-muted, #5b6268); }
tr.vc-rw-use td { padding-top: 6px !important; padding-bottom: 10px !important; }
tr.vc-rw-use label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
tr.vc-rw-use input { width: 18px; height: 18px; accent-color: var(--vc-ink, #16191C); }
@media (max-width: 600px) { .woocommerce-cart-form .coupon #coupon_code { min-width: 0; } }
/* "MATT10's code is saved" bar (from /?friend=CODE) */
.vc-rw-bar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 44px 10px 16px; background: #EAF3EC; color: #1C3D25; font-size: 14px; font-weight: 600; text-align: center; border-bottom: 1px solid #CFE3D4; position: relative; }
.vc-rw-bar button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: inherit; cursor: pointer; }

/* Slide-out cart and checkout notes */
.vc-drawer__earn { margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: #1C5A2A; }
.vc-drawer__earn:empty { display: none; }
.vc-rw-join { margin: 6px 0 14px; font-size: 14px; color: #1C5A2A; }

/* Level tiles (Table style) */
.vc-rw-tile { --c: #6E777E; position: relative; display: inline-grid; place-items: center; width: 92px; aspect-ratio: 1; border-radius: 8px; background: var(--c); color: #fff; flex: none; box-sizing: border-box; }
.vc-rw-tile--lg { width: 112px; }
.vc-rw-tile__no { position: absolute; top: 7px; left: 9px; font: 500 12px/1 var(--vc-mono, monospace); }
.vc-rw-tile__sym { font: 600 40px/1 var(--vc-display, Georgia, serif); margin-top: -4px; }
.vc-rw-tile--lg .vc-rw-tile__sym { font-size: 50px; }
.vc-rw-tile__name { position: absolute; bottom: 7px; left: 0; right: 0; text-align: center; font: 500 10px/1 var(--vc-mono, monospace); letter-spacing: .08em; }
.vc-rw-tile--plain { background: #fff; color: var(--vc-ink, #16191C); border: 2px solid #C9CED2; }

/* My account → Rewards */
.vc-rw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vc-rw-card { background: #fff; border: 1px solid var(--vc-hair, #E2E4E6); border-radius: 12px; padding: 20px; min-width: 0; }
.vc-rw-level, .vc-rw-code, .vc-rw-history, .vc-rw-howto { grid-column: 1 / -1; }
.vc-rw-level { display: flex; gap: 20px; align-items: center; }
.vc-rw-level > div { flex: 1; min-width: 0; }
.vc-rw-eyebrow { margin: 0 0 6px; font: 500 11px/1.2 var(--vc-mono, monospace); letter-spacing: .1em; color: var(--vc-muted, #5b6268); }
.vc-rw-h { margin: 0 0 6px; font: 600 28px/1.1 var(--vc-display, Georgia, serif); }
.vc-rw-big { margin: 0; font: 600 34px/1.1 var(--vc-sans, sans-serif); font-variant-numeric: tabular-nums; }
.vc-rw-sub { margin: 6px 0 0; font-size: 14px; color: var(--vc-muted, #5b6268); overflow-wrap: anywhere; }
.vc-rw-small { margin: 8px 0 0; font-size: 12.5px; color: var(--vc-muted, #5b6268); }
.vc-rw-bar-track { display: block; height: 8px; border-radius: 99px; background: #ECEEEF; margin-top: 10px; overflow: hidden; }
.vc-rw-bar-track i { display: block; height: 100%; background: var(--vc-ink, #16191C); border-radius: 99px; }
.vc-rw-coderow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.vc-rw-codebox { font: 600 24px/1 var(--vc-mono, monospace); letter-spacing: .06em; padding: 12px 16px; border: 2px dashed #C9CED2; border-radius: 8px; }
.vc-rw-coderow .vc-btn { min-height: 44px; }
.vc-rw-codeform { margin-top: 16px; padding-top: 14px; border-top: 1px solid #EEF0F1; }
.vc-rw-codeform label { font-weight: 600; font-size: 14px; }
.vc-rw-codeform input { flex: 1 1 180px; min-width: 0; height: 44px; padding: 0 12px; font: 500 16px/1 var(--vc-mono, monospace); text-transform: uppercase; border: 1px solid var(--vc-hair, #D5D9DC); border-radius: 8px; }
.vc-rw-mono { font-family: var(--vc-mono, monospace); }
.vc-rw-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.vc-rw-table th, .vc-rw-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid #EEF0F1; }
.vc-rw-table th { font: 500 11px/1 var(--vc-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--vc-muted, #5b6268); }
.vc-rw-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vc-rw-table .is-pos { color: #1C5A2A; } .vc-rw-table .is-neg { color: #7A2E2E; }
.vc-rw-rules { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.55; }
.vc-rw-rules li + li { margin-top: 4px; }
.vc-rw-levels { display: flex; flex-wrap: wrap; gap: 18px; margin: 8px 0 18px; }
.vc-rw-levels__i { display: flex; gap: 12px; align-items: center; }
.vc-rw-levels__i p { margin: 0; font-size: 14px; }
.vc-rw-keep { margin: 0 0 24px; padding: 18px 20px; background: #EAF3EC; border: 1px solid #CFE3D4; border-radius: 12px; }
.vc-rw-keep__h { margin: 0 0 4px; font-weight: 700; font-size: 17px; }
.vc-rw-keep__p { margin: 0 0 12px; font-size: 14px; }
.vc-rw-keep__msg { margin: 10px 0 0; font-weight: 600; }
@media (max-width: 600px) {
	.vc-rw { grid-template-columns: 1fr; }
	.vc-rw-level { flex-direction: column; align-items: flex-start; }
	.vc-rw-table thead { display: none; }
	.vc-rw-table tr { display: grid; grid-template-columns: 1fr auto; padding: 8px 0; border-bottom: 1px solid #EEF0F1; }
	.vc-rw-table td { border: 0; padding: 2px 0; }
	.vc-rw-table td:nth-child(1) { grid-column: 1; font-size: 12px; color: var(--vc-muted, #5b6268); }
	.vc-rw-table td:nth-child(2) { grid-column: 1; }
	.vc-rw-table td:nth-child(3) { grid-column: 2; grid-row: 1 / 3; align-self: center; font-weight: 700; }
	.vc-rw-table td:nth-child(4) { display: none; }
}
/* Account menu icon for Rewards (same outline style as the theme's icons) */
.woocommerce-MyAccount-navigation-link--rewards a:before { -webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.25 4.1 1 5.85L12 16.9l-5.25 2.75 1-5.85L3.5 9.7l5.9-.9L12 3.5z' stroke='%23111' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.25 4.1 1 5.85L12 16.9l-5.25 2.75 1-5.85L3.5 9.7l5.9-.9L12 3.5z' stroke='%23111' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.vc-rw-codeform input::placeholder { text-transform: none; }

/* ---------- Part 7B: promotion ---------- */
/* Top bar: one notice at a time when there are two */
.vc-announce--rotate .vc-announce__in > span[hidden] { display: none !important; }
.vc-announce__in a { color: inherit !important; text-decoration: underline; text-underline-offset: 3px; }
/* Homepage band */
.vc-rw-band { padding-top: 28px !important; }
.vc-rw-band__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; background: #fff; border: 1px solid var(--vc-hair, #E2E4E6); border-radius: 12px; padding: 22px 24px; }
.vc-rw-band__txt h2 { margin: 2px 0 6px; }
.vc-rw-band__offer { margin: 0; font-size: 15px; color: var(--vc-ink, #16191C); }
.vc-rw-band__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.vc-rw-band__steps li { display: flex; align-items: center; gap: 10px; }
.vc-rw-band__steps span { flex: none; width: 26px; height: 26px; border-radius: 6px; background: var(--vc-ink, #16191C); color: #fff; display: grid; place-items: center; font: 500 12px/1 var(--vc-mono, monospace); }
.vc-rw-band__btn { white-space: nowrap; min-height: 48px; }
@media (max-width: 900px) { .vc-rw-band__in { grid-template-columns: 1fr; } .vc-rw-band__btn { justify-self: start; } }
@media (max-width: 600px) {
	.vc-rw-band { padding-top: 18px !important; }
	.vc-rw-band__in { padding: 16px; gap: 12px; }
	.vc-rw-band__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: 12.5px; }
	.vc-rw-band__steps li { flex-direction: column; align-items: flex-start; gap: 4px; }
	.vc-rw-band__btn { justify-self: stretch; justify-content: center; }
}
/* Product page, cart, drawer */
.vc-bb__earn { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #1C5A2A; }
.vc-bb__earn:empty { display: none; }
.vc-bb__earn--out a { color: #1C5A2A !important; }
.vc-drawer__pick { margin: 6px 0 0; font-size: 13.5px; }
tr.vc-rw-earnrow td { font-size: 13.5px; color: #1C5A2A; font-weight: 600; padding-top: 10px !important; }
/* Share / pick-your-code blocks */
.vc-rw-share { margin: 0 0 24px; padding: 18px 20px; background: #EAF3EC; border: 1px solid #CFE3D4; border-radius: 12px; }
.vc-rw-share__h { margin: 0 0 4px; font-weight: 700; font-size: 17px; }
.vc-rw-share__offer { margin: 0 0 10px; font-size: 14px; }
.vc-rw-share input[name="vc_rw_code"] { flex: 1 1 180px; min-width: 0; height: 44px; padding: 0 12px; font: 500 16px/1 var(--vc-mono, monospace); text-transform: uppercase; border: 1px solid #C9D9CD; border-radius: 8px; background: #fff; }
.vc-rw-share input[name="vc_rw_code"]::placeholder { text-transform: none; }
.vc-rw-share .vc-rw-codebox { background: #fff; }
/* Help page jump links */
.vc-rw-jump ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.vc-rw-jump a { display: inline-block; padding: 8px 12px; border: 1px solid var(--vc-hair, #D5D9DC); border-radius: 999px; font-size: 14px; text-decoration: none !important; background: #fff; }
/* /rewards/ first screen (signed out) */
.vc-rw-start { margin: 0 0 22px; padding: 20px; background: #fff; border: 1px solid var(--vc-hair, #E2E4E6); border-radius: 12px; }
.vc-rw-start__offer { margin: 0 0 14px; font: 600 20px/1.35 var(--vc-sans, sans-serif); }
.vc-rw-start__btn { min-height: 52px; }
@media (max-width: 600px) { .vc-rw-start { padding: 16px; } .vc-rw-start__offer { font-size: 18px; } .vc-rw-start__btn { display: flex; justify-content: center; width: 100%; box-sizing: border-box; } }
.vc-rw-levels__i:not(:has(.vc-rw-tile)) p { padding-left: 0; }

/* My account from "Get your code": Register first (with its line above), Login below, one column at every width. */
body.vc-join-first #customer_login { display: flex; flex-direction: column; gap: 40px; }
body.vc-join-first #customer_login > .u-column1, body.vc-join-first #customer_login > .u-column2 { width: 100%; max-width: 560px; float: none; margin: 0; padding: 0; }
body.vc-join-first #customer_login > .u-column2 { order: -1; }
body.vc-join-first #customer_login > .u-column1 { padding-top: 32px; border-top: 1px solid var(--vc-hair, #D5D9DC); }
body.vc-join-first #customer_login::before, body.vc-join-first #customer_login::after { display: none; }
.vc-join-line { font-size: 18px; line-height: 1.5; margin: 0 0 16px; max-width: 560px; scroll-margin-top: 96px; }
