/* My aMember Store - base styles. Override any of this in your theme's
   stylesheet or the WP Customizer's "Additional CSS" - these selectors
   are intentionally namespaced under .mas- so they won't clash. */

.mas-store {
	--mas-accent: #98009b; /* the site menu's purple (Elementor global accent) */
	--mas-red: #a50e1a; /* RedCarpet */
	--mas-gold: #f5d94a;
	--mas-text: #1a1a1a;
	--mas-muted: #6b7280;
	--mas-border: #e5e7eb;
	--mas-radius: 10px;
	/* !important + explicit width: the theme's block-content-width rule
	   (.entry-content > :not(.alignwide)...) has higher specificity than
	   a plain class selector and was silently capping this at 580px
	   regardless of the max-width below - confirmed via computed styles
	   at every breakpoint, not guessed. 1140px matches the real rendered
	   width of the site header's own content row (.elementor-container
	   from the logo to the search icon), measured directly rather than
	   picking an arbitrary number. */
	max-width: 1140px !important;
	width: 100% !important;
	margin: 0 auto;
	color: var(--mas-text);
	font-size: 1.0625rem;
}

.mas-store__toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.75rem;
}

.mas-store__search {
	flex: 1;
	max-width: 360px;
	padding: 0.75rem 1rem;
	/* !important: the theme's own global form-control rule outranks this
	   plain class selector on background/color for a bare <input>, which
	   was silently turning this into an unreadable white-on-white box -
	   confirmed via computed styles, not guessed. */
	background: #000 !important;
	color: #fff !important;
	border: 1px solid var(--mas-accent);
	border-radius: var(--mas-radius);
	font-size: 1.1rem;
	-webkit-appearance: none;
	appearance: none;
}

.mas-store__search::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.mas-store__search:focus {
	outline: none;
	border-color: var(--mas-gold);
	box-shadow: 0 0 0 3px rgba(245, 217, 74, 0.25);
}

/* Sort dropdown: styled like the search box beside it (it had only the
   browser's default, ~11px with a tiny arrow). The native arrow is
   replaced by a larger gold chevron. !important: the theme's global
   form-control rule, as for .mas-store__search. */
.mas-store__sort {
	flex: 0 0 auto;
	min-width: 280px;
	height: auto;
	padding: 12px 48px 12px 16px !important;
	background-color: #000 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M4 7l6 6 6-6' fill='none' stroke='%23f5d94a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	background-size: 20px 20px !important;
	color: #fff !important;
	border: 1px solid var(--mas-accent) !important;
	border-radius: var(--mas-radius);
	font-size: 18px !important;
	line-height: 1.4;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.mas-store__sort option {
	background: #000;
	color: #fff;
	font-size: 18px;
}
/* Cart button: icon, "Cart", and the item count as a corner badge (hidden
   at 0); the same text size and height as search and sort. */
.mas-store .mas-cart-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 18px;
	padding: 12px 22px;
	line-height: 1.4;
}
.mas-store .mas-cart-count {
	position: absolute;
	top: -9px;
	right: -9px;
	min-width: 26px;
	height: 26px;
	margin: 0;
	padding: 0 7px;
	border: 2px solid #000;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 22px;
	text-align: center;
}
.mas-store .mas-cart-count[hidden] {
	display: none;
}
.mas-cart-icon {
	flex: 0 0 auto;
}

/* The floating copy shown while the drawer is open: above the backdrop and
   the drawer, just left of the drawer (which covers the toolbar's button).
   Clicking it closes the drawer. */
.mas-store .mas-cart-toggle--float {
	position: fixed;
	top: 16px;
	right: calc(min(480px, 100vw - 64px) + 12px);
	z-index: 10001;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}
.mas-store .mas-cart-toggle--float[hidden] {
	display: none;
}
/* Phones: the drawer leaves a 64px strip; the floating button is the icon
   and badge only, in that strip. */
@media (max-width: 600px) {
	.mas-store .mas-cart-toggle--float {
		right: auto;
		left: 8px;
		padding: 10px;
	}
	.mas-store .mas-cart-toggle--float .mas-cart-toggle__label {
		display: none;
	}
}

/* Phones: search on its own row, sort and Cart below it. */
@media (max-width: 600px) {
	.mas-store__toolbar {
		flex-wrap: wrap;
	}
	.mas-store__search {
		flex: 1 1 100%;
		max-width: none;
	}
	.mas-store__sort {
		min-width: 0;
		flex: 1 1 0;
	}
}

.mas-cart-toggle {
	position: relative;
	background: var(--mas-accent);
	color: #fff;
	border: 2px solid var(--mas-accent);
	border-radius: var(--mas-radius);
	font-weight: 700;
	cursor: pointer;
}

.mas-cart-count {
	background: var(--mas-gold);
	color: #1a1a1a;
	border-radius: 999px;
	font-weight: 700;
}

.mas-store__grid {
	display: grid;
	grid-template-columns: repeat(var(--mas-cols, 3), minmax(0, 1fr));
	gap: 1.75rem;
}

/* Group banners: RedCarpet (red) above Pay Per Video (menu purple). The
   .mas-store prefix outranks twentytwenty's .entry-content h2 margins,
   size and letter-spacing. */
/* twentytwenty pads every <section> 5rem/8rem top and bottom. */
.mas-store .mas-store__group {
	padding: 0;
}
.mas-store__group + .mas-store__group {
	margin-top: 48px;
}
.mas-store__group[hidden] {
	display: none;
}
.mas-store .mas-store__group-banner,
.hunahub-my-purchases .mas-store__group-banner {
	margin: 0 0 24px;
	max-width: none;
	padding: 8px 20px;
	border-radius: var(--mas-radius);
	background: linear-gradient(135deg, #c43bc7 0%, var(--mas-accent) 45%, #4a004c 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px rgba(0, 0, 0, 0.5);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}
/* A banner's second line ("Special PreRelease Videos", "Pay Once View Anytime"). */
.mas-store__group-banner-sub {
	display: block;
	margin-top: 2px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.08em;
	opacity: 0.9;
}
.mas-store .mas-store__group--redcarpet .mas-store__group-banner {
	background: linear-gradient(135deg, #d0283a 0%, var(--mas-red) 45%, #4d040a 100%);
}

@media (max-width: 900px) {
	.mas-store__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.mas-store__grid { grid-template-columns: 1fr; }
}

.mas-product {
	position: relative;
	overflow: hidden;
	border: 2px solid var(--mas-accent);
	border-radius: var(--mas-radius);
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	background: rgba(0, 0, 0, 0.5);
	transition: border-color 0.15s ease;
}

.mas-product:hover {
	border-color: var(--mas-gold);
}

/* RedCarpet videos (not included with membership) are outlined in red. */
.mas-product--prerelease {
	border: 3px solid var(--mas-red);
}

.mas-product__ribbon {
	position: absolute;
	top: 34px;
	left: -62px;
	width: 260px;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	transform: rotate(-45deg);
	transform-origin: center;
	background: var(--mas-red); /* matches the RedCarpet card outline */
	color: #fff;
	text-align: center;
	font-size: 18px; /* px: 1rem is 10px under twentytwenty */
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 8px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
	z-index: 2;
	pointer-events: none;
}

.mas-product__image {
	position: relative;
}

.mas-product__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: calc(var(--mas-radius) - 4px);
	margin-bottom: 0.85rem;
}

.mas-product__duration {
	position: absolute;
	bottom: 0.85rem;
	right: 0.6rem;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.15rem 0.55rem;
	border-radius: 4px;
	line-height: 1.4;
}

.mas-product__duration--standalone {
	position: static;
	display: inline-block;
	background: transparent;
	color: var(--mas-gold);
	font-size: 0.95rem;
	padding: 0;
	margin-bottom: 0.5rem;
}

.mas-product__title {
	font-size: 1.5rem;
	line-height: 1.25;
	margin: 0 0 0.5rem;
	color: var(--mas-accent);
}

/* twentytwenty's .entry-content h3 { margin: 3.5rem auto 2rem } outranks
   the rule above; its auto side margins made one-line titles shrink and
   center while wrapped titles sat left, plus a 60px gap above. The extra
   .mas-store beats it: every title centered, full width, tight spacing. */
.mas-store .mas-product__title {
	margin: 4px 0 10px;
	align-self: stretch;
	text-align: center;
}

/* Titles at most 2 lines, descriptions at most 3. */
.mas-product__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}
.mas-product__desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.mas-product__title a {
	color: var(--mas-accent);
	text-decoration: none;
}

.mas-product__title a:hover {
	color: var(--mas-gold);
	text-decoration: underline;
}

.mas-product__desc {
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 16px;
}
/* The footer, not the clamped description, takes the spare height, so Add
   to cart buttons line up along a row of cards. */
.mas-store .mas-product__footer {
	margin-top: auto;
}

.mas-product__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem 0.75rem;
}

.mas-product__price {
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--mas-accent);
	white-space: nowrap;
}

/* Filled buttons ("Add to cart · $75"); "In cart ✓" once added. Sizes are
   mobile first (px: under twentytwenty 1rem is only 10px). */
.mas-add-to-cart {
	background: var(--mas-accent);
	color: #fff;
	border: 2px solid var(--mas-accent);
	padding: 12px 20px;
	border-radius: calc(var(--mas-radius) - 4px);
	cursor: pointer;
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.25;
	white-space: nowrap;
}
.mas-add-to-cart:hover {
	background: var(--mas-gold);
	border-color: var(--mas-gold);
	color: #1a1a1a;
}
.mas-add-to-cart.is-in-cart {
	background: transparent;
	border-color: var(--mas-gold);
	color: var(--mas-gold);
}
.mas-add-to-cart.is-in-cart:hover {
	background: var(--mas-gold);
	color: #1a1a1a;
}
.mas-store .mas-product__footer {
	justify-content: center;
}
.mas-product__title {
	font-size: 20px;
}

/* Desktop: larger titles, descriptions and buttons. */
@media (min-width: 901px) {
	.mas-product__title { font-size: 24px; }
	.mas-product__desc { font-size: 18px; }
	.mas-add-to-cart {
		font-size: 20px;
		padding: 12px 26px;
	}
}

.mas-store__empty {
	color: #fff;
	font-size: 1.1rem;
	padding: 2rem 0;
}

/* Cart drawer: header (icon, "Your Cart", count and total), a scrolling
   body (lines, then suggestions), and the total + Checkout pinned to the
   bottom. 100dvh, not 100vh: on phones 100vh is taller than the visible
   area and cut Checkout off. The site's sans-serif throughout. */
.mas-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	height: 100dvh;
	width: min(480px, 100vw - 64px);
	background: #000;
	color: #fff;
	border-left: 2px solid var(--mas-accent);
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.6);
	display: flex;
	flex-direction: column;
	z-index: 9999;
	transform: translateX(100%);
	transition: transform 0.2s ease;
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	text-align: left;
}
.mas-cart-drawer button,
.mas-cart-drawer a,
.mas-cart-drawer h3,
.mas-cart-drawer h4,
.mas-cart-drawer p {
	font-family: inherit;
	letter-spacing: normal;
}
.mas-cart-drawer.is-open {
	transform: translateX(0);
}

.mas-cart-drawer__header {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-bottom: 2px solid var(--mas-accent);
}
.mas-cart-drawer .mas-cart-drawer__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}
.mas-cart-drawer__title .mas-cart-icon {
	color: var(--mas-gold);
}
.mas-cart-drawer__summary {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--mas-gold);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mas-cart-close {
	flex: 0 0 auto;
	margin-left: auto;
	background: none;
	border: none;
	padding: 0 4px;
	font-size: 34px;
	color: #fff;
	cursor: pointer;
	line-height: 1;
}

/* A column so the suggestions can sit at the bottom, right above the
   total, when the lines don't fill the body; it still scrolls when they do. */
.mas-cart-drawer__body {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 8px 16px 0;
}
.mas-cart-drawer__items {
	flex: 0 0 auto;
}

.mas-cart-empty {
	margin: 16px 0 8px;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}
.mas-cart-login {
	margin: 0 0 8px;
	padding: 14px;
	border: 2px solid var(--mas-accent);
	border-radius: var(--mas-radius);
	text-align: center;
}
.mas-cart-login__text {
	margin: 0 0 10px;
	font-size: 16px;
}
.mas-cart-login__btn {
	display: inline-block;
	padding: 10px 28px;
	border-radius: calc(var(--mas-radius) - 4px);
	background: var(--mas-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}
.mas-cart-login__btn:hover {
	background: var(--mas-gold);
	color: #1a1a1a;
}

.mas-cart-line {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.mas-cart-line__thumb,
.mas-cart-suggest__thumb {
	flex: 0 0 96px;
	width: 96px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--mas-accent);
}
.mas-cart-line__text,
.mas-cart-suggest__text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.mas-cart-line__title,
.mas-cart-suggest__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}
.mas-cart-line__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.mas-cart-line__category {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--mas-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.mas-cart-line__category.is-redcarpet {
	background: var(--mas-red, #a50e1a);
}
.mas-cart-line__price {
	color: var(--mas-gold);
	font-size: 16px;
	font-weight: 700;
}
.mas-cart-line__price.is-unavailable {
	color: rgba(255, 255, 255, 0.6);
	font-weight: 400;
}
.mas-cart-line__remove {
	align-self: flex-start;
	padding: 0;
	text-transform: none;
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}
.mas-cart-line__remove:hover {
	color: var(--mas-gold);
}

.mas-cart-suggest {
	flex: 0 0 auto;
	margin-top: auto;
	padding-top: 20px;
}
.mas-cart-drawer .mas-cart-suggest__heading {
	margin: 0 0 4px;
	color: var(--mas-gold);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.mas-cart-suggest__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mas-cart-suggest__item:last-child {
	border-bottom: none;
}
.mas-cart-suggest__thumb {
	flex-basis: 72px;
	width: 72px;
}
.mas-cart-suggest__title {
	font-size: 15px;
}
.mas-cart-suggest__meta {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
}
.mas-cart-suggest__add {
	align-self: flex-start;
	margin-top: 2px;
	padding: 6px 14px;
	text-transform: none;
	border: 2px solid var(--mas-accent);
	border-radius: calc(var(--mas-radius) - 4px);
	background: var(--mas-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}
.mas-cart-suggest__add:hover {
	background: var(--mas-gold);
	border-color: var(--mas-gold);
	color: #1a1a1a;
}

.mas-cart-drawer__footer {
	flex: 0 0 auto;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
	border-top: 2px solid var(--mas-accent);
	background: #000;
}
.mas-cart-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}
.mas-cart-total__amount {
	color: var(--mas-gold);
}
.mas-checkout-btn {
	width: 100%;
	background: var(--mas-accent);
	color: #fff;
	border: 2px solid var(--mas-accent);
	padding: 14px;
	border-radius: var(--mas-radius);
	font-weight: 700;
	font-size: 19px;
	cursor: pointer;
}
.mas-checkout-btn:hover:not(:disabled) {
	background: var(--mas-gold);
	border-color: var(--mas-gold);
	color: #1a1a1a;
}
.mas-checkout-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.mas-cart-billing-note {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
	text-align: center;
}
.mas-checkout-error {
	color: #ff6b81;
	font-size: 15px;
	margin: 8px 0 0;
}

/* The optional coupon code above the totals. */
.mas-cart-coupon {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0 0 12px;
	font-size: 13px;
}
.mas-cart-coupon__row {
	display: flex;
	gap: 6px;
}
.mas-cart-coupon__apply {
	flex: 0 0 auto;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.mas-cart-coupon__apply:disabled {
	opacity: 0.5;
	cursor: wait;
}
.mas-cart-coupon__message {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--mas-gold, #f5d94a);
}
.mas-cart-coupon__message.is-error {
	color: #ff6b81;
}
.mas-cart-totals {
	margin: 0 0 10px;
}
.mas-cart-subtotal,
.mas-cart-discount {
	display: flex;
	justify-content: space-between;
	margin: 0 0 4px;
	font-size: 14px;
	opacity: 0.85;
}
.mas-cart-discount__amount.is-applied {
	color: var(--mas-gold, #f5d94a);
	opacity: 1;
}
.mas-cart-coupon__input {
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	padding: 8px 10px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	color: inherit;
	font: inherit;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mas-cart-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 9998;
}

/* --- HunaHub additions below: test-mode notice, checkout confirmation,
   and the My Purchases page. Reuses the same --mas-accent/--mas-gold
   palette and card/button conventions above rather than introducing a
   second visual language. --- */

.mas-store__testmode-notice {
	display: inline-block;
	background: rgba(245, 217, 74, 0.15);
	border: 1px solid var(--mas-gold);
	color: var(--mas-gold);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	padding: 0.5rem 1rem;
	border-radius: var(--mas-radius);
	margin: 0 0 1.5rem;
}

.mas-checkout-confirm {
	color: var(--mas-gold);
	font-weight: 700;
	font-size: 0.95rem;
	margin-top: 0.6rem;
}

.hunahub-my-purchases {
	--mas-accent: #98009b;
	--mas-red: #a50e1a;
	--mas-gold: #f5d94a;
	--mas-radius: 10px;
	max-width: 900px;
	margin: 0 auto;
	color: #fff;
	font-size: 1.0625rem;
}

.hunahub-my-purchases__empty {
	color: #fff;
	font-size: 20px;
	padding: 2rem 0;
	text-align: center;
}
.hunahub-my-purchases__empty a {
	color: var(--mas-gold);
	font-weight: 700;
}

/* My Videos: store-style cards in a 3-column grid (full content width,
   not the 900px list width), titles centered like the store's. */
.hunahub-my-purchases .mas-store__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hunahub-my-purchases .mas-product__title {
	margin: 4px 0 10px;
	align-self: stretch;
	text-align: center;
}
.hunahub-my-purchases__note {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 18px;
	text-align: center;
}
.hunahub-my-purchases__date {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
	text-align: center;
	flex-grow: 1;
}
/* An <a> styled as the store's Buy <button>: the theme's button font. */
.hunahub-my-purchases__watch {
	display: inline-block;
	text-decoration: none;
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.0333em;
	line-height: 1.25;
}
.hunahub-my-purchases .mas-product__footer {
	justify-content: center;
}
@media (max-width: 900px) {
	.hunahub-my-purchases .mas-store__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.hunahub-my-purchases .mas-store__grid { grid-template-columns: 1fr; }
}

.hunahub-my-purchases__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hunahub-my-purchases__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	border: 2px solid var(--mas-accent);
	border-radius: var(--mas-radius);
	padding: 1rem 1.25rem;
	background: rgba(0, 0, 0, 0.5);
}

.hunahub-my-purchases__title {
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--mas-accent);
}

.hunahub-my-purchases__title a {
	color: inherit;
	text-decoration: none;
}

.hunahub-my-purchases__title a:hover {
	color: var(--mas-gold);
	text-decoration: underline;
}

.hunahub-my-purchases__meta {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	margin-top: 0.25rem;
}

.hunahub-my-purchases__tag {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	border-radius: 999px;
	padding: 0.15rem 0.65rem;
	margin-left: 0.5rem;
}

.hunahub-my-purchases__tag--test {
	background: var(--mas-gold);
	color: #1a1a1a;
}

.hunahub-my-purchases__tag--real {
	background: var(--mas-accent);
	color: #fff;
}

.hunahub-my-purchases__clear {
	margin-top: 2rem;
	text-align: right;
}

.hunahub-my-purchases__clear button {
	background: transparent;
	color: #ff6b81;
	border: 2px solid #ff6b81;
	padding: 0.6rem 1.1rem;
	border-radius: calc(var(--mas-radius) - 4px);
	cursor: pointer;
	font-weight: 700;
	font-size: 0.95rem;
}

.hunahub-my-purchases__clear button:hover {
	background: #ff6b81;
	color: #1a1a1a;
}

/* aMember's own embedded frontend widget (#am-frontend, unrelated to this
   plugin) shows a "Something went wrong. API Network Error: Failed to
   fetch" box on every page load on this sandbox - its GraphQL call is
   rejected with a license-domain error (aMember's commercial license is
   registered for kailanikaixxx.com, not this togoapps.com sandbox), not
   fixable from here. Cosmetic-only suppression, scoped to this
   stylesheet so it only applies on the store/my-purchases pages where
   this loads - real fix is getting the license authorized for this
   domain. Remove this rule once that's done. */
.am-fatal-error {
	display: none !important;
}

/* Part 3 store: guest notice. */
/* px, not rem: the twentytwenty theme sets html { font-size: 62.5% },
   so 1rem is only 10px here. White on the store's dark background. */
.mas-store__guest-notice {
	margin: 0 0 1.5rem;
	padding: 14px 20px;
	border: 2px solid var(--mas-accent);
	border-radius: var(--mas-radius);
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 22px;
	line-height: 1.4;
	text-align: center;
}
.mas-store__guest-notice a {
	color: var(--mas-gold);
	font-weight: 700;
	text-decoration: underline;
}

/* My Videos: the store's and My Account's width (1140px, 16px gutters on
   phones) rather than twentytwenty's .alignwide 1200px. */
.entry-content > .hunahub-my-purchases.alignwide {
	max-width: 1140px;
	width: calc(100% - 32px);
}

/* Space above the site footer, the same on the store, My Videos and My
   Account (account.css): 64px, 48px on phones. margin-bottom 0 drops the
   theme's own .alignwide margin so My Videos isn't the odd one out. */
.mas-store,
.hunahub-my-purchases {
	padding-bottom: 64px;
	margin-bottom: 0 !important;
}
@media (max-width: 600px) {
	.mas-store,
	.hunahub-my-purchases {
		padding-bottom: 48px;
	}
}
