@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,500;1,700;1,800;1,900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
  --glam-title-font-family: 'Lato';
  --glam-title-right: calc(50% - 50px);

  --category-decor-gradient: var(--rx-standard-gradient);

  --in-dev-color: rgb(235, 35, 95);
  --release-im-color: rgb(35, 135, 235);
  --store-dark-blue: #2053d5;
  --store-dark-blue-alt: #234eb1;
  --store-featured-container-color: var(--rx-media-deep-grey);
  --store-donation-container-border-color: rgba(76, 76, 76, .236);

  --store-padding-low: 5px;
  --store-padding-mid: 10px;
  --store-padding-high: 15px;
  --store-padding-higher: 20px;
  --store-padding-highest: 25px;

  --store-featured-h1-font-size: 300%;
  --store-featured-title-font-size: 125%;
  --store-featured-h1-sub-font-size: 45%;
  --store-featured-tag-padding: 20px var(--store-padding-high) 18px var(--store-padding-higher);

  --store-featured-discount-background: rgba(135, 235, 135, .105);
  --store-item-border-color: rgba(135, 135, 135, .5);
  --store-item-background-color: transparent;

  --store-featured-actions-button-padding: var(--store-padding-high);

  --store-intro-text-background-image: url('../img/backdrops/dots.png');
}

.store-lines-image {
  background-image: url("../img/icons/lines.png");
  background-size: cover;
  background-position: center;
  height: 100%;
  inset: 0;
  position: absolute;
  pointer-events: none;
}

.rx-store-footer {
  display: flex;
  flex-flow: column;
  font-size: 180%;
  position: relative;
  margin: 0;
}

.rx-footer-policy-holder {
  align-items: center;
  color: var(--rx-media-dark-grey);
  display: flex;
  flex-flow: column;
  font-size: 85%;
  justify-content: center;
  margin: var(--store-padding-highest) auto 0 auto;
  padding-bottom: var(--store-padding-highest);
  width: 100%;
}

.rx-footer-policy-links {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: clamp(20px, 5vw, 55px);
  justify-content: center;
  width: 100%;
}

.rx-footer-policy-links a {
  color: var(--rx-media-medium-grey);
  margin: 0;
  text-decoration: none;
}

.rx-footer-policy-divider {
  background: var(--rx-media-bright-grey);
  height: 1px;
  margin: var(--store-padding-higher) auto var(--store-padding-high);
  opacity: .65;
  width: min(700px, 80%);
}

.rx-footer-copyright {
  color: var(--rx-media-medium-grey);
  font-size: 90%;
  text-align: center;
}

.rx-footer-copyright a {
  color: var(--rx-media-medium-grey);
  font-size: 125%;
  text-decoration: none;
  text-align: center;
}

.rx-footer-tag-text img {
  margin: 0 0 -7px 0;
  position: inline-flex;
  width: 25px;
}

.rx-copyright {

}

.rx-footer-tag-holder {
  display: flex;
  border-bottom: 1px solid var(--rx-media-bright-grey);
  border-top: 1px solid var(--rx-media-bright-grey);
  margin: var(--store-padding-highest) auto 2.5% auto;
  line-height: 2;
  justify-content: center;
  padding: var(--store-padding-high);
  width: 85%;
}

.rx-footer-tag {
  align-items: center;
  display: flex;
  flex: 1;
  font-size: 85%;
  font-weight: 600;
  gap: var(--store-padding-high);
  justify-content: center;
  padding: var(--store-padding-high);
  margin: 0 0 3px 0;
}

.rx-footer-tag figure {
  margin: 5% 5% -.5% 5%;
  width: 65px;
}

.rx-footer-tag figure img {
  width: 100%;
}

.rx-footer-tag-divider {
  background: var(--rx-media-bright-grey);
  display: flex;
  opacity: .5;
  width: 1px;
}

.rx-store-footer-text {
  align-items: center;
  display: flex;
  flex-flow: row;
  font-weight: 600;
  flex: 1;
  gap: 20px;
  justify-content: center;
}

.rx-store-footer-text::before,
.rx-store-footer-text::after {
  background: var(--rx-standard-gradient);
  border-radius: 3px;
  content: '';
  flex: 1;
  height: 3px;
  max-width: 7.365%;
  opacity: .5;
  transform: translateY(3px);
}

.rx-store-footer-image {
  display: flex;
  flex-flow: row;
  justify-content: center;
}

.rx-store-footer-image {
  display: flex;
  flex-flow: row;
  justify-content: center;
  max-width: 180px;
  margin: var(--store-padding-higher) auto;
}

.rx-store-footer-image img {
  display: flex;
  flex-flow: row;
  justify-content: center;
  margin-top: 15%;
  max-width: 100%;
}

.store-featured {
  background-size: cover;
  display: flex;
  flex-flow: column;
  gap: var(--store-padding-low);
  padding: var(--store-padding-mid);
  position: relative;
}

.store-featured::after {
  background-image: linear-gradient(rgb(136, 196, 236), rgb(255, 255, 255) 36%);
  content: '';
  border-radius: 12px;
  inset: 12px 18px 0 18px;
  position: absolute;
}

.store-featured-container {
  align-items: center;
  justify-content: center;
  color: var(--store-featured-container-color);
  display: flex;
  gap: var(--store-padding-low);
  flex-flow: row;
  margin: 0 auto;
  padding: var(--store-padding-highest) 7.5%;
  z-index: 1;
}

.store-featured-container > article {
  display: flex;
  flex-flow: column;
  gap: var(--store-padding-low);
  justify-content: center;
}

.store-featured-container > figure {
  align-items: center;
  align-content: center;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .136);
  border-radius: 18px;
  display: flex;
  flex-flow: row nowrap;
  gap: var(--store-padding-low);
  justify-content: center;
  margin: 0 2.5% 0 5%;
  max-width: 800px;
  overflow: clip;
  width: 45%;
}

.store-featured-container > figure img {
  align-self: center;
  aspect-ratio: 4 / 5;
  display: block;
  height: auto;
  object-fit: contain;
  max-height: 100%;
  width: 100%;
}

.store-featured h1 {
  font-family: var(--glam-font-family);
  letter-spacing: 0;
  font-size: var(--store-featured-h1-font-size);
  display: flex;
  flex-flow: column;
  margin: var(--store-padding-low);
  padding-bottom: var(--store-padding-highest);
  position: relative;
}

.store-featured-title {
  font-size: var(--store-featured-title-font-size);
  font-weight: 800;
}

.store-featured h1 sub {
  color: var(--store-dark-blue-alt);
  font-family: var(--glam-heading-font-family);
  font-size: var(--store-featured-h1-sub-font-size);
  letter-spacing: 8px;
  margin: 0 0 0 3px;
  width: 100%;
}

.store-featured h1 .store-featured-decor {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: var(--store-padding-highest) 0 0 0;
  position: relative;
  width: 20%;
  z-index: 1;
}

.store-featured h1 .store-featured-decor::before,
.store-featured h1 .store-featured-decor::after {
  background: var(--rx-standard-gradient);
  border-radius: 3px;
  content: '';
  height: 4px;
  opacity: .5;
  transform: translateY(1px);
  width: 85px;
  z-index: 1;
}

.store-featured h1 .store-featured-decor img {
  width: 15px;
}

.store-featured-description {
  padding: 0 var(--store-padding-low) 0 var(--store-padding-low);
  font-size: 180%;
  line-height: 2;
}

.store-featured sup {
  transform: translateY(18px);
  display: flex;
  flex-flow: row wrap;
}

.store-featured-price-tag {
  display: flex;
  gap: var(--store-padding-highest);
  margin: var(--store-padding-mid) auto var(--store-padding-higher) 0;
}

.store-featured-price {
  display: flex;
  color: var(--rx-media-green-2);
  font-size: 300%;
  font-weight: 600;
  margin: var(--store-padding-mid) auto;
  padding: var(--store-padding-mid);
}

.store-featured-discount {
  border: 1px solid var(--rx-media-green-2);
  border-radius: 8px;
  color: var(--rx-media-green-0);
  background: var(--store-featured-discount-background);
  display: flex;
  font-size: 150%;
  margin: var(--store-padding-mid) auto;
  padding: var(--store-padding-mid) var(--store-padding-higher);
}

.store-featured-tag {
  background: var(--store-dark-blue);
  border-radius: 5px;
  color: white;
  flex: 0 0 auto;
  font-family: var(--glam-heading-font-family);
  font-weight: 100;
  font-size: 70%;
  letter-spacing: 5px;
  padding: var(--store-featured-tag-padding);
  margin-top: var(--store-padding-high);
  width: fit-content;
  white-space: nowrap;
}

.store-featured-actions {
  display: flex;
}

.store-featured-actions-button {
  align-items: center;
  background: var(--store-button-bg);
  border-radius: 10px;
  display: flex;
  cursor: pointer;
  flex: .5 0 auto;
  font-family: var(--glam-heading-font-family);
  font-size: 180%;
  justify-content: center;
  letter-spacing: 3px;
  margin: 0 1.5%;
  max-width: 50%;
  padding: var(--store-featured-actions-button-padding);
  transition: var(--glam-transition-faster);
}

.store-featured-actions-button img {
  filter: invert(1);
  flex: 0 0 auto;
  margin: 0 var(--store-padding-highest);
  transition: var(--glam-transition-fast);
  width: 35px;
}

.store-featured-actions-button > div {
  flex: 0 0 auto;
}

.store-featured-purchase-button {
  --store-button-bg: var(--rx-media-pink-1);
  border: 2px solid transparent;
  color: white;
}

.store-featured-purchase-button img {
  filter: brightness(15) grayscale(1);
}

.store-featured-purchase-button:hover img {
  filter: grayscale(0) brightness(1);
}

.store-featured-preview-button {
  --store-button-bg: white;
  border: 2px solid var(--store-dark-blue);
  color: var(--store-dark-blue);
}

.store-featured-preview-button:hover {
  --store-button-bg: var(--store-dark-blue);
  background: var(--store-dark-blue);
  color: white;
}

.store-featured-preview-button:hover img {
  filter: invert(1) brightness(10);
  opacity: 1;
}

.store-featured-preview-button img {
  filter: invert(0);
  opacity: 1;
}

.store-featured-purchase-button:hover {
  border: 2px solid var(--rx-media-pink-1);
  color: var(--rx-media-pink-1);
  background: white;
}

.store-featured-preview-button:hover {
  /* TODO: choose it */
}

.store-featured-labels {
  display: flex;
  flex-flow: row;
  font-weight: 400;
  font-size: 135%;
  gap: var(--store-padding-high);
  justify-content: center;
  margin: var(--store-padding-high);
}

.store-featured-label-container {
  display: flex;
  flex-flow: row;
  gap: var(--store-padding-high);
  justify-content: center;
  padding: var(--store-padding-high);
  z-index: 1;
}

.store-featured-label {
  align-items: center;
  color: var(--rx-media-deep-grey);
  display: flex;
  flex-flow: row;
  font-weight: 400;
  font-size: 135%;
  gap: var(--store-padding-high);
  justify-content: center;
  margin: var(--store-padding-high);
}

.store-featured-label img {
  max-width: 35px;
}

.store-featured-label-divider {
  background: var(--rx-media-bright-grey);
  display: flex;
  margin: 0 2.365%;
  opacity: .5;
  width: 1px;
}

.store-donation-counter {
  align-items: center;
  background-color: rgba(236, 236, 236, .15);
  box-shadow: 0 0 8px var(--store-donation-container-border-color);
  border-radius: 8px;
  display: flex;
  margin: var(--store-padding-highest) var(--store-padding-low) 0;
  overflow: hidden;
  padding: var(--store-padding-high);
}

.store-donation-icon {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  margin: 0 var(--store-padding-high);
  width: 120px;
}

.store-donation-icon img {
  height: auto;
  width: 100%;
}

.store-donation-art {
  align-items: center;
  align-self: stretch;
  display: flex;
  flex: 0 0 clamp(90px, 16%, 150px);
  justify-content: center;
  margin: var(--store-padding-higher) var(--store-padding-highest) var(--store-padding-high) var(--store-padding-high);
  padding: var(--store-padding-mid);
  overflow: hidden;
}

.store-donation-art img {
  height: 105%;
  object-fit: contain;
  width: 105%;
}

.store-donation-text {
  align-items: flex-start;
  color: var(--rx-media-dark-grey);
  justify-content: center;
  display: flex;
  flex-flow: column;
  flex: 1 1 auto;
  font-size: 150%;
  line-height: 2;
  margin: 0;
  min-width: 0;
  padding: var(--store-padding-mid);
  max-width: 70%;
}

.store-donation-amount {
  color: var(--rx-media-green-0);
}

.store-donation-text-highlight {
  color: var(--store-dark-blue);
  font-weight: 600;
}

.store-donation-text-minor {
  font-size: 115%;
  font-weight: 400;
}

.store-donation-text-mid {
  font-size: 135%;
  font-weight: 600;
}

.store-donation-text-major {
  font-size: 145%;
  font-weight: 600;
}

.store-category-header-container {
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: 100%;
}

.store-category-header {
  align-items: center;
  color: var(--glam-color);
  display: flex;
  gap: 20px;
  justify-content: center;
  font-family: 'Bebas Neue', cursive;
  font-size: var(--glam-heading-font-size);
  letter-spacing: var(--glam-heading-letter-spacing);
  line-height: var(--glam-heading-line-height);
  margin: 0;
  padding:  var(--store-padding-highest)  var(--store-padding-highest) 0 var(--store-padding-highest);
  text-align: center;
  width: 100%;
}

.store-category-header::before,
.store-category-header::after {
  background: var(--category-decor-gradient);
  border-radius: 2px;
  content: '';
  flex: 1;
  height: 5px;
  max-width: 20%;
  transform: translateY(-2px);
  opacity: .5;
}

.store-category-header-container figure {
  margin: var(--store-padding-low) auto 0 auto;
  width: 25px;
}

.store-category-header-container figure img {
  width: 100%;
}

.store-theme-toggle-button {
  display: flex;
}

.store-theme-toggle-button img {
  margin: 0 auto 0 var(--store-padding-mid);
  width: 25px;
}

.store-theme-toggle-button:hover img {
  filter: invert(1);
}

.rx-home-button {
  aspect-ratio: 1/1;
  align-items: center;
  border: 1px solid var(--store-donation-container-border-color);
  border-radius: 5px;
  display: flex;
  inset: 10px auto auto 18px;
  justify-content: center;
  position: fixed;
  transition: .736s;
  width: 42px;
  z-index: 10000;
}

.rx-home-button:hover {
  background-color: var(--glam-color-muted);
  transform: scale(1.235);
}

.rx-home-button img {
  filter: invert(0);
  height: 100%;
  transition: 1s;
  width: 65%;
}

.rx-home-button:hover img {
  transform: scale(calc(1 - .235));
  transition: .635s;
}

.glam-breeze .rx-home-button img {
  filter: invert(1);
}

.glam-breeze .rx-home-button:hover img {
  filter: invert(0);
}

.glam-pf-square {
  --glam-pf-button-width: 33.33%;
}

@media only screen and (max-width: 1500px) {
  .glam-pf-square {
    --glam-pf-button-width: 50%;
  }
}

@media only screen and (max-width: 1024px) {
  .glam-pf-square {
    --glam-pf-button-width: 100%;
  }
}

.glam-theme-button,
.store-card-button {
  cursor: pointer;
}

.store-card-button {
  background: transparent;
  border: none;
  height: 100%;
  padding: 0 var(--store-padding-high);
  margin: 1px 0 0 0;
}

.store-card-button img {
  width: 30px;
}

.glam-theme-button,
.glam-theme-button:hover {
  background-color: transparent;
  border-radius: 0;
  transform: none;
}

.glam-theme-button::before,
.glam-theme-button:hover:before {
  color: var(--glam-color);
  content: '|||';
  display: none;
  transform: rotate(90deg);
  transition: .235s;
}

.glam-theme-button:hover:before {
  color: var(--glam-color);
  content: '|||';
  transform: rotate(90deg) scale(1.235) translateY(-1px);
}

.glam-breeze .glam-theme-button img,
.glam-breeze .glam-theme-button:hover img {
  filter: invert(0);
}

.glam-theme-button img,
.glam-theme-button:hover img {
  filter: invert(1);
  height: 25px;
  position: absolute;
  inset: auto;
  translate: none;
}

.glam-theme-button::after,
.glam-theme-button:hover:after {
  display: none;
}

.glam-title {
  font-weight: 800;
  letter-spacing: .235em;
  left: 50px;
  padding: 0 0 0 25px;
}

.glam-title a {
  font-weight: 800;
  letter-spacing: .135em;
  font-size: 120%;
}

.store-nav-backdrop {
  background: var(--glam-background-color);
  inset: 0 0 var(--glam-nav-height) 0;
  position: fixed;
  z-index: 1;
}

/* Store item grid */
.glam-section.glam-pf-square {
  align-items: stretch;
  display: flex;
  flex-flow: row wrap;
  gap: var(--store-padding-highest);
  justify-content: center;
  padding: var(--store-padding-highest);
}

.glam-section.glam-pf-square > .glam-pf-header {
  flex: 0 0 100%;
}

.store-item {
  background: var(--store-item-background-color);
  border: 1px solid var(--store-item-border-color);
  border-radius: 8px;
  display: flex;
  flex: 1 1 280px;
  flex-flow: column;
  margin: var(--store-padding-highest) 0 var(--store-padding-mid) 0;
  max-width: 400px;
  min-width: 0;
  padding-bottom: var(--store-padding-mid);
  width: auto;
}

.store-item h1 {
  color: var(--store-dark-blue-alt);
  display: flex;
  font-size: 100%;
  letter-spacing: 3px;
  margin: 0;
  padding: 0 var(--store-padding-highest);
  width: 100%;
}

.store-item p {
  display: flex;
  line-height: 1.5;
  padding: 0 var(--store-padding-highest) var(--store-padding-highest) var(--store-padding-highest);
}

.store-item-image {
  display: flex;
  margin: var(--store-padding-high) auto;
  max-width: 80%;
  overflow: hidden;
  position: relative;
}

.store-item-image img {
  border-radius: 8px;
  margin: var(--store-padding-highest) 0;
  width: 100%;
}


.store-item-gallery {
  position: relative;
}

.store-gallery-item:not(.is-active) {
  display: none;
}

.store-gallery-controls {
  display: none;
}

.store-item-buttons {
  display: flex;
  flex-flow: row;
  justify-content: center;
  margin-top: auto;
  padding: 0 var(--store-padding-mid);
}

.store-item-button {
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  font-size: 90%;
  font-weight: 800;
  font-family: var(--glam-heading-font-family);
  flex: 1 1 auto;
  justify-content: center;
  letter-spacing: 1px;
  padding: var(--store-padding-high) var(--store-padding-low) var(--store-padding-mid) var(--store-padding-high);
  margin: var(--store-padding-low) 3px;
  transition: var(--glam-transition-faster);
}

.store-item-button img {
  margin: -4px var(--store-padding-low) auto var(--store-padding-high);
  transition: var(--glam-transition-faster);
  width: 25px;
}

.store-item-button:hover img {
  filter: invert(1);
}

.store-item-button:hover {
  filter: grayscale(0) brightness(1);
}

.store-item-info-button {
  background: transparent;
  border: 1px solid var(--store-dark-blue-alt);
  border-radius: 8px;
  color: var(--store-dark-blue);
  cursor: pointer;
  display: flex;
  font-family: var(--glam-heading-font-family);
  justify-content: center;
  padding: var(--store-padding-high) var(--store-padding-high) var(--store-padding-mid) var(--store-padding-high);
  overflow: hidden;
}

.store-item-info-button:hover {
  background: var(--store-dark-blue-alt);
  color: white;
}

.store-item-download-button {
  background: transparent;
  border: 1px solid var(--rx-media-green-0);
  border-radius: 8px;
  color: var(--rx-media-green-0);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  font-family: var(--glam-heading-font-family);
  justify-content: center;
}

.store-item-download-button:hover {
  background: var(--rx-media-green-0);
  color: white;
}

.store-item-article-button {
  background: transparent;
  border: 2px solid var(--glam-color-muted);
  border-radius: 8px;
  color: var(--glam-color-muted);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  font-family: var(--glam-heading-font-family);
  letter-spacing: 3px;
  justify-content: center;
  transition: var(--glam-transition-normal);
}

.glam-pf-article {
  padding: 0 2.735rem;
  height: fit-content;
  margin-top: 55px;
  position: relative;
}

.glam-pf-article > :last-child {
  margin-bottom: 5rem;
}

.glam-pf-article h1 {
  flex-grow: 1;
  line-height: 1;
  margin: 65px 0 85px 0;
  position: relative;
}

.glam-pf-article h1 sub {
  font-size: .4em;
  font-weight: 300;
  left: 0;
  margin: 0 0 0 10px;
  position: absolute;
}

.glam-pf-article h2 {
  font-family: 'Bebas Neue';
  font-size: 1.35em;
  letter-spacing: .135em;
  margin: 35px 0 15px 0;
}

.buttons {
  display: flex;
  gap: 1.735rem;
  font-size: .935rem;
  margin: 2.35rem 2.35rem 0 0;
  white-space: nowrap;
}

.buttons > * {
  text-align: center;
}

.free .glam-button:nth-of-type(2) {
  background-color: var(--glam-links-color);
}

.free .glam-button:nth-of-type(2):hover {
  background-color: var(--glam-bg-color);
}

.glam-close-pf-desc {
  border: 2px solid var(--glam-background-color);
  top: 15px;
  right: 20px;
}

.glam-close-pf-desc span {
  border-radius: 18px;
  font-size: .65rem;
  padding-right: 15px;
  right: 55px;
  top: 21.5%;
  transform: scale(.95);
  transform-origin: center;
}

.glam-close-pf-desc::before {
  transform: rotate(-45deg);
  transform-origin: center;
}

.glam-close-pf-desc::after {
  transform: rotate(45deg);
  transform-origin: center;
}

.description {
  padding: 0;
}

.description p {
  text-wrap: balance;
}

.description p + p {
  margin-top: 15px;
}

.status {
  display: none;
  border: 1px solid var(--glam-footer-border-color);
  height: 65px;
  position: relative;
  margin: 45px 0 0 0;
}

.release-imminent .buttons,
.in-development .buttons {
  display: none;
}

.release-imminent .status,
.in-development .status {
  display: flex;
}

.status::before,
.status::after {
  align-items: center;
  display: flex;
  font-size: .635em;
  font-weight: 600;
  inset: 0;
  justify-content: center;
  position: absolute;
  text-align: center;
  letter-spacing: .5em;
  text-transform: uppercase;
}

.status > * {
  display: none;
}

.status::after {
  height: 50px;
}

.release-imminent .status::before,
.in-development .status::before {
  content: 'development status:';
}

.in-development .status::after {
  background-color: var(--in-dev-color);
  color: white;
  content: 'in development';
  inset: calc(100% + 15px) 0 0 0;
}

.release-imminent .status::after {
  background-color: var(--release-im-color);
  color: white;
  content: 'release imminent';
  inset: calc(100% + 15px) 0 0 0;
}

.store-item-info-button .glam-figure:nth-of-type(2) {
  display: none;
}

.store-rx-logo {
  align-items: center;
  display: flex;
  inset: 0 0 auto 0;
  margin: 0 auto;
  position: fixed;
  justify-content: center;
  height: 60px;
  width: 100%;
  z-index: 9998;
}

.store-rx-logo img {
  margin: -7px auto 0 auto;
  height: 218px;
  width: auto;
}

.store-intro-text {
  align-items: center;
  background-image: var(--store-intro-text-background-image);
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  margin: 0;
}

.store-intro-text-box {
  margin: 0 auto;
  max-width: 48rem;
  text-align: center;
}

.store-intro-heading {
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.store-intro-heading figure {
  margin: 0 auto;
  position: relative;
  width: 25px;
}

.store-intro-heading figure::before,
.store-intro-heading figure::after {
  background: var(--rx-standard-gradient);
  border-radius: 3px;
  content: '';
  height: 3px;
  opacity: .5;
  position: absolute;
  transform: translateY(-4px);
}

.store-intro-heading figure::after {
  inset: 49% 135% 49% -7.45vw;
}

.store-intro-heading figure::before {
  inset: 49% -7.45vw 49% 135%;
}

.store-intro-heading img {
  width: 100%;
}

/* Hide landing content while a store item is open. The featured ebook
   remains visible when it is the item currently using the detail viewer. */
.glam-desc-parent:not(.store-featured-open) > .store-featured,
.glam-desc-parent > .store-intro-text,
.glam-desc-parent > .rx-store-footer {
  display: none;
}

.store-featured-open > #glam-style {
  display: none;
}

.glam-item-open {
  flex-flow: column;
  height: calc(100vh - 100px);
  position: sticky;
  pointer-events: none;
  width: 50%;
}

.glam-pf-desc-open .store-category-header-container {
  display: none;
}

.glam-item-open .glam-figure:not(:first-of-type) {
  display: initial;
}

.glam-item-open .glam-figure {
  height: 50%;
  border: none;
  overflow: visible;
  width: 100%;
}

.glam-item-open .glam-figure img {
  width: 100%;
}

.glam-item-open .glam-figure video {
  background: rgb(35, 35, 35);
  border-top: 3px solid var(--glam-color-muted);
  height: 100%;
  display: initial;
  width: 100%;
}

.glam-figure video {
  background: rgb(35, 35, 35);
  border-top: 3px solid var(--glam-color-muted);
  height: 100%;
  display: none;
  width: 100%;
}

@media only screen and (max-width: 1480px) {
  .glam-section {
    flex-flow: column;
  }

  .buttons {
    margin-top: 55px;
    flex-flow: column;
    gap: 15px;
  }

  .buttons .glam-button {
    align-items: center;
    display: flex;
    height: 50px;
    justify-content: center;
    margin: 0;
    width: auto;
  }

  .buttons * {
    margin: 0;
    width: auto;
  }

  .glam-item-open .glam-figure {
    height: fit-content;
  }

  .glam-item-open .glam-figure:not(:first-of-type) {
    height: 100%;
    display: flex;
  }

  .description {
    padding-top: 10px;
    width: 100%;
  }

  .glam-item-open {
    height: -moz-fit-content;
    margin-bottom: 0;
    min-width: 100vw;
    overflow-x: clip;
  }

  .glam-item-open .glam-figure img {
    height: auto;
    width: 100%;
  }
}

.highlights {
  display: flex;
  flex-flow: row wrap;
  gap: 15px;
  list-style: none;
  position: relative;
}

.highlights::after {
  background-color: var(--glam-color-muted);
  content: '';
  inset: calc(100% + 22.5px) 0 -23.5px 0;
  position: absolute;
}

.highlights li {
  color: var(--glam-color);
  border: 1px solid var(--glam-footer-border-color);
  padding: 1.235% 1.735% 1.235% 2.765%;
  text-align: center;
  flex: 1;
  font-size: .535em;
  font-weight: 300;
  letter-spacing: .35em;
  text-transform: uppercase;
}

.glam-section {
  margin: 0;
  width: 100%;
}

.glam-figure {
  align-items: flex-start;
  aspect-ratio: unset;
}

.glam-figure img {
  height: 100%;
  width: 100%;
}

.glam-figure figcaption {
  backdrop-filter: brightness(.735);
  font-family: 'Lato';
  font-size: .535em;
  font-weight: 700;
  color: white;
}

.glam-figure figcaption::after {
  background-color: rgba(5, 5, 5, .735);
  backdrop-filter: blur(8px);
  inset: 0;
}

.glam-title {
  font-size: .935em;
  font-weight: 300;
  letter-spacing: .435em;
  text-transform: uppercase;
}

.glam-title a::before,
.glam-title a::after {
  display: none;
}

/**Template highlights on the home page*/
.glam-item-open .template-status {
  display: none;
}

.store-item-info-button:hover .template-status {
  margin-right: 0;
}

.template-status {
  align-items: stretch;
  border-radius: 5px 0 0 0;
  display: flex;
  font-size: .735rem;
  font-weight: 600;
  inset: calc(100% - 2.135em) 0 0 auto;
  justify-content: center;
  margin-right: -100px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  text-transform: uppercase;
  transition: .735s;
}

.template-status * {
  align-items: center;
  color: white;
  display: flex;
  height: 100%;
  justify-content: center;
  letter-spacing: .135em;
  padding: 0 .735em 0 1.135em;
  transition: .735s;
}

.in-dev {
  background-color: rgb(65, 175, 175);
}

.in-dev::after {
  content: 'coming soon';
}

.in-dev-early {
  background-color: rgb(165, 135, 175);
}

.in-dev-early::after {
  content: 'in development';
}

.dev-rec {
  background-color: rgb(235, 235, 235);
  color: rgb(35, 35, 35);
}

.dev-rec::before {
  content: 'designer ';
  color: rgb(135, 135, 135);
  font-weight: 600;
  letter-spacing: .235rem;
}

.dev-rec::after {
  background-color: rgb(135, 175, 135);
  border-radius: 2px;
  color: white;
  content: 'recommended';
  font-size: .935em;
  font-weight: 600;
  letter-spacing: .135rem;
  margin-left: 8px;
  padding: 3px 8px 3px 12px;
}

.open-source {
  background-color: rgb(35, 155, 185);
}

.open-source::after {
  content: 'open source!';
}

.viewt {
  background-color: rgb(35, 35, 35);
}

.viewt::after {
  content: 'view info';
}

.glam-footer {
  z-index: 1;
}

.glam-nav {
  z-index: 9999;
}

.glam-text-section h1 {
  text-align: center;
}

.off {
  display: none;
}

.glam-close-pf-desc {
  aspect-ratio: 1/1;
  inset: 5rem auto auto calc(100% - 4.735rem);
  position: fixed;
  z-index: 2;
}

.description {
  height: calc(100vh - 100px);
  overflow-y: scroll;
}

.status {
  margin-bottom: 100px;
}

.store-user-menu {
  border-radius: 10px;
  overflow: clip;
  transform: translateX(-21px) translateY(5px);
}

.store-user-menu img {
  margin: 0 auto 0 var(--store-padding-mid);
  transition: var(--glam-transition-fast);
  width: 25px;
}

.store-user-menu button:hover img {
  filter: invert(1);
}

.glam-theme-menu {
  min-width: 23.5em;
  transition: .5s;
}

@media only screen and (max-width: 1200px) {
  .store-item-buttons {
    flex-flow: column;
  }

  .rx-footer-tag-holder {
    flex-flow: row wrap;
  }

  .rx-footer-tag {
    justify-content: flex-start;
    min-width: 280px;
  }

  .rx-footer-tag-divider {
    display: none;
  }
}

@media only screen and (max-width: 700px) {
  .rx-footer-policy-links {
    gap: var(--store-padding-high) var(--store-padding-highest);
    padding: 0 var(--store-padding-high);
  }

  .rx-footer-policy-divider {
    width: calc(100% - 30px);
  }
}

@media only screen and (max-width: 841px) {
  .rx-footer-tag-holder {
    align-items: center;
    flex-flow: column;
  }

  .rx-footer-tag {
    width: 100%;
  }

  .rx-footer-tag br {
    display: none;
  }

  .rx-footer-tag-divider {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .highlights {
    flex-flow: column;
    padding: 0;
    margin: 0;
  }

  .glam-theme-menu {
    width: 100vw;
  }

  .glam-pf-article {
    padding: 1rem;
  }

  .glam-pf-article h1 {
    display: flex;
    flex-flow: column;
  }

  .glam-pf-article h1 sub {
    left: 0;
    line-height: 2em;
    position: relative;
    font-size: .5em;
    font-weight: 300;
    letter-spacing: .365em;
    width: 15em;
  }
}

/* Store responsive layout */

/* Intermediate-width hero layout */
@media only screen and (max-width: 1280px) and (min-width: 769px) {
  .store-featured {
    padding: var(--store-padding-high);
  }

  .store-featured-container {
    align-items: center;
    box-sizing: border-box;
    gap: var(--store-padding-highest);
    margin: 0 auto;
    padding: var(--store-padding-highest);
    width: min(100%, 1180px);
  }

  .store-featured-container > figure {
    flex: 0 0 clamp(220px, 27vw, 320px);
    margin: 0;
    width: clamp(220px, 27vw, 320px);
  }

  .store-featured-container > figure img {
    display: block;
    height: auto;
    width: 100%;
  }

  .store-featured-container > article {
    flex: 1 1 0;
    min-width: 0;
  }

  .store-featured h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0;
  }

  .store-featured h1 sub {
    font-size: clamp(.7rem, 1.6vw, .9rem);
    letter-spacing: 4px;
    line-height: 1.5;
  }

  .store-featured-description {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.75;
    margin-top: var(--store-padding-high);
  }

  .store-featured-price-tag {
    align-items: center;
    gap: var(--store-padding-higher);
    justify-content: center;
    margin: var(--store-padding-high) 0;
  }

  .store-featured-price {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 0;
  }

  .store-featured-discount {
    font-size: clamp(.85rem, 1.8vw, 1rem);
    margin: 0;
  }

  .store-featured-actions {
    gap: var(--store-padding-high);
  }

  .store-featured-actions-button {
    flex: 1 1 0;
    font-size: clamp(.85rem, 1.8vw, 1.05rem);
    gap: var(--store-padding-mid);
    letter-spacing: 2px;
    margin: 0;
    max-width: none;
    min-width: 0;
    white-space: nowrap;
  }

  .store-featured-actions-button img {
    margin: 0;
    width: 28px;
  }

  .store-featured-label-container {
    gap: var(--store-padding-high);
    padding: var(--store-padding-high) 0;
  }

  .store-featured-label {
    font-size: clamp(.75rem, 1.5vw, .9rem);
    margin: var(--store-padding-mid);
  }

  .store-donation-counter {
    align-items: center;
    box-sizing: border-box;
    margin: var(--store-padding-highest) 0 0;
    padding: var(--store-padding-high);
  }

  .store-donation-text {
    box-sizing: border-box;
    flex: 1 1 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
    min-width: 0;
  }
}

@media only screen and (max-width: 768px) {
  .store-featured {
    padding: var(--store-padding-mid);
  }

  .store-featured-container {
    box-sizing: border-box;
    flex-flow: column;
    gap: var(--store-padding-high);
    margin: 0;
    padding: var(--store-padding-high);
    width: 100%;
  }

  .store-featured-container > figure {
    margin: 0 auto;
    width: min(70vw, 360px);
  }

  .store-featured-container > article {
    width: 100%;
  }

  .store-featured h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    margin: 0;
  }

  .store-featured h1 sub {
    font-size: clamp(.7rem, 2.5vw, .9rem);
    letter-spacing: 3px;
    line-height: 1.5;
  }

  .store-featured sup {
    justify-content: center;
  }

  .store-featured-tag {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .75rem;
    justify-content: center;
    letter-spacing: 2px;
    margin: var(--store-padding-highest) auto 0;
    width: fit-content;
  }

  .store-featured-description {
    font-size: clamp(1rem, 3.5vw, 1.15rem);
    line-height: 1.75;
    margin-top: var(--store-padding-high);
    padding: var(--store-padding-high) 0;
  }

  .store-featured-price-tag {
    align-items: center;
    flex-flow: row wrap;
    gap: var(--store-padding-high);
    justify-content: center;
    margin: var(--store-padding-high) 0;
  }

  .store-featured-price {
    font-size: clamp(2rem, 7vw, 2.5rem);
    margin: 0;
    padding: var(--store-padding-mid);
  }

  .store-featured-discount {
    font-size: clamp(.85rem, 3vw, 1rem);
    margin: 0;
  }

  .store-featured-actions {
    flex-flow: row wrap;
    gap: var(--store-padding-high);
  }

  .store-featured-actions-button {
    flex: 1 1 220px;
    font-size: clamp(.9rem, 3vw, 1.1rem);
    gap: var(--store-padding-mid);
    margin: 0;
    max-width: none;
  }

  .store-featured-actions-button img {
    margin: 0;
    width: 28px;
  }

  .store-featured-label-container {
    flex-flow: row wrap;
    gap: var(--store-padding-high);
    padding: var(--store-padding-high) 0;
  }

  .store-featured-label {
    flex: 1 1 90px;
    font-size: .85rem;
    gap: var(--store-padding-mid);
    margin: 0;
  }

  .store-donation-counter {
    margin: var(--store-padding-high) 0 0;
    padding: var(--store-padding-high);
  }

  .store-donation-text {
    font-size: 1rem;
    margin: 0 0 0 var(--store-padding-high);
    padding: var(--store-padding-mid);
  }

  .store-donation-art {
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  .store-featured-container {
    padding: var(--store-padding-mid);
  }

  .store-featured-container > figure {
    width: min(80vw, 300px);
  }

  .store-featured-actions {
    flex-direction: column;
  }

  .store-featured-actions-button {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }

  .store-featured-price-tag {
    justify-content: flex-start;
  }

  .store-featured-label-container {
    justify-content: space-between;
  }

  .store-featured-tag {
    font-size: .7rem;
  }

  .store-featured h1 sub {
    font-size: .7rem;
    letter-spacing: 2px;
  }

  .store-donation-counter {
    align-items: center;
    flex-flow: column;
    margin: var(--store-padding-high) 0 0;
    padding: var(--store-padding-high);
  }

  .store-donation-text {
    display: block;
    margin: var(--store-padding-high) 0 0;
    padding: 0;
    text-align: center;
    width: 100%;
  }
}

/* Store item detail viewer */
.glam-desc-parent .glam-section.glam-pf-square {
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.glam-desc-parent .store-item:not(.glam-item-open) {
  display: none;
}

.glam-desc-parent .glam-item-open {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  max-width: none;
  min-width: 0;
}

.glam-desc-parent .glam-item-open > h1,
.glam-desc-parent .glam-item-open > p,
.glam-desc-parent .glam-item-open .store-item-button {
  display: none;
}

.glam-desc-parent .glam-item-open .store-item-buttons {
  display: none;
}

.glam-desc-parent .glam-item-open .store-item-gallery {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.glam-desc-parent .glam-item-open .store-gallery-item {
  align-items: center;
  display: none;
  height: 100%;
  justify-content: center;
  margin: 0;
  max-width: none;
  overflow: hidden;
  width: 100%;
}

.glam-desc-parent .glam-item-open .store-gallery-item.is-active {
  display: flex;
}

.glam-desc-parent .glam-item-open .store-gallery-item img {
  border-radius: 18px;
  display: block;
  height: auto;
  margin: 0;
  max-height: 82.6%;
  object-fit: contain;
  width: 82.6%;
}

.glam-desc-parent .glam-item-open .store-gallery-item video {
  border-radius: 18px;
  display: block;
  height: auto;
  margin: auto;
  max-height: 80%;
  max-width: 85%;
  object-fit: contain;
  width: auto;
}

.glam-desc-parent .glam-item-open .store-gallery-controls {
  display: block;
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.glam-desc-parent .glam-item-open .store-gallery-controls[hidden] {
  display: none;
}

.glam-desc-parent .glam-item-open .store-gallery-button {
  align-items: center;
  background: rgba(76, 76, 76, .736);
  border: 1px solid var(--glam-color-muted);
  border-radius: 50%;
  color: var(--glam-color);
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  padding: 0;
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
}

.glam-desc-parent .glam-item-open .store-gallery-button::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  height: 20px;
  width: 20px;
}

.glam-desc-parent .glam-item-open .store-gallery-prev::before {
  background-image: url("../img/icons/back-white.svg");
}

.glam-desc-parent .glam-item-open .store-gallery-next::before {
  background-image: url("../img/icons/forward-white.svg");
}

.glam-desc-parent .glam-item-open .store-gallery-prev {
  left: var(--store-padding-high);
}

.glam-desc-parent .glam-item-open .store-gallery-next {
  right: var(--store-padding-high);
}

.glam-desc-parent .glam-item-open .store-gallery-status {
  background: rgba(235, 235, 235, .72);
  border: 1px solid var(--glam-color-muted);
  border-radius: 18px;
  bottom: var(--store-padding-high);
  color: var(--glam-color);
  font-size: .8rem;
  left: 50%;
  letter-spacing: 2px;
  padding: 5px 12px;
  position: absolute;
  transform: translateX(-50%);
}

.glam-desc-parent .glam-description-open {
  box-sizing: border-box;
  margin: 0;
  min-width: 0;
  overflow-y: auto;
}

@media only screen and (min-width: 901px) {
  .glam-desc-parent .glam-section.glam-pf-square {
    flex-flow: row nowrap;
  }

  .glam-desc-parent .glam-item-open {
    flex: 0 0 50%;
    height: calc(100vh - 100px);
    min-width: 0;
    position: sticky;
    top: 50px;
    width: 50%;
  }

  .glam-desc-parent .glam-description-open {
    flex: 0 0 50%;
    height: calc(100vh - 100px);
    padding: 0;
    width: 50%;
  }
}

@media only screen and (max-width: 900px) {
  .glam-desc-parent .glam-section.glam-pf-square {
    flex-flow: column;
  }

  .glam-desc-parent .glam-item-open {
    flex: none;
    height: auto;
    min-width: 0;
    position: relative;
    top: auto;
    width: 100%;
  }

  .glam-desc-parent .glam-item-open .store-item-gallery {
    aspect-ratio: 16 / 9;
    min-height: 260px;
  }

  .glam-desc-parent .glam-description-open {
    flex: none;
    height: auto;
    min-height: calc(100vh - 100px);
    overflow-y: visible;
    padding-top: 70px;
    width: 100%;
  }
}


/* Featured ebook detail viewer */
.glam-desc-parent.store-featured-open > .store-featured {
  background-image: none;
  display: flex;
  flex-flow: row nowrap;
  gap: 0;
  height: calc(100vh - 100px);
  padding: 0;
  pointer-events: auto;
  width: 100%;
}

.glam-desc-parent.store-featured-open > .store-featured::after {
  display: none;
}

.glam-desc-parent.store-featured-open .store-featured-container {
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: var(--store-padding-highest);
}

.glam-desc-parent.store-featured-open .store-featured-container > article,
.glam-desc-parent.store-featured-open .store-featured-label-container {
  display: none;
}

.glam-desc-parent.store-featured-open .store-featured-container > figure {
  flex: none;
  margin: 0 auto;
  max-width: min(520px, 80%);
  width: auto;
}

.glam-desc-parent.store-featured-open .store-featured-container > figure img {
  border-radius: 8px;
  height: min(72vh, 650px);
  margin: 0;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.glam-desc-parent.store-featured-open .store-featured-detail.glam-description-open {
  font-size: 23px;
  height: 100%;
  min-width: 0;
  overflow-y: auto;
  padding: 0;
  z-index: 1;
}

.glam-desc-parent.store-featured-open .store-featured-detail .glam-pf-article {
  display: block;
  font-size: inherit;
  justify-content: initial;
  width: 100%;
}

@media only screen and (min-width: 901px) {
  .glam-desc-parent.store-featured-open .store-featured-container {
    flex: 0 0 42%;
    width: 42%;
  }

  .glam-desc-parent.store-featured-open .store-featured-detail.glam-description-open {
    flex: 0 0 58%;
    width: 58%;
  }
}

@media only screen and (max-width: 900px) {
  .glam-desc-parent.store-featured-open > .store-featured {
    flex-flow: column;
    height: auto;
    min-height: calc(100vh - 100px);
  }

  .glam-desc-parent.store-featured-open .store-featured-container {
    flex: none;
    padding: var(--store-padding-highest);
    width: 100%;
  }

  .glam-desc-parent.store-featured-open .store-featured-container > figure {
    max-width: min(70vw, 320px);
    width: auto;
  }

  .glam-desc-parent.store-featured-open .store-featured-container > figure img {
    height: auto;
    width: 100%;
  }

  .glam-desc-parent.store-featured-open .store-featured-detail.glam-description-open {
    flex: none;
    height: auto;
    min-height: calc(100vh - 100px);
    overflow-y: visible;
    padding-top: 70px;
    width: 100%;
  }
}

.glam-desc-parent.store-featured-open
.store-featured-detail h1::after {
  display: none;
}

/* Empty cart detail viewer */
.glam-desc-parent.store-cart-open > .store-featured,
.glam-desc-parent.store-cart-open > .store-intro-text,
.glam-desc-parent.store-cart-open > #glam-style,
.glam-desc-parent.store-cart-open > .rx-store-footer {
  display: none;
}

.glam-desc-parent.store-cart-open > .store-cart-detail.glam-description-open {
  box-sizing: border-box;
  display: block;
  font-size: 23px;
  height: calc(100vh - 100px);
  margin: 0;
  min-height: calc(100vh - 100px);
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.store-cart-detail .glam-pf-article {
  box-sizing: border-box;
  display: flex;
  flex-flow: column;
  height: 100%;
  margin: 0 auto;
  max-width: 1050px;
  padding-top: 55px;
  width: 100%;
}

.store-cart-detail .glam-pf-article > :last-child {
  margin-bottom: 0;
}

.store-cart-header {
  flex: 0 0 auto;
}

.store-cart-header > h1 {
  flex: 1 1 auto;
  min-width: 0;
}

.store-cart-header [data-cart-mode-label] {
  letter-spacing: .12em;
  white-space: nowrap;
}

.store-cart-primary {
  align-items: center;
  background: var(--glam-background-color);
  border-top: 1px solid var(--glam-footer-border-color);
  display: flex;
  flex: 0 0 auto;
  gap: var(--store-padding-high);
  justify-content: flex-end;
  padding: var(--store-padding-highest) 0;
}

.store-cart-primary[hidden],
.store-cart-header [data-cart-mode-label][hidden] {
  display: none;
}

.store-cart-clear {
  align-items: center;
  background: transparent;
  border: 2px solid var(--store-dark-blue-alt);
  border-radius: 8px;
  color: var(--store-dark-blue);
  cursor: pointer;
  display: flex;
  font-family: var(--glam-heading-font-family);
  font-size: .75em;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .08em;
  margin-right: auto;
  min-height: 44px;
  padding: var(--store-padding-mid) var(--store-padding-highest);
  transition: var(--glam-transition-faster);
  white-space: nowrap;
}

.store-cart-clear:hover,
.store-cart-clear:focus-visible {
  background: var(--store-dark-blue-alt);
  color: white;
}


.store-cart-summary {
  align-items: flex-end;
  display: flex;
  flex-flow: column;
  font-family: var(--glam-heading-font-family);
  justify-content: center;
  line-height: 1.1;
  padding: 0;
}

.store-cart-summary span {
  color: var(--glam-color-muted);
  font-size: .55em;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.store-cart-summary strong {
  font-size: 1.15em;
  white-space: nowrap;
}

.glam-desc-parent .store-cart-action {
  align-items: center;
  background: var(--rx-media-pink-1);
  border: 2px solid var(--rx-media-pink-1);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: flex;
  font-family: var(--glam-heading-font-family);
  font-size: .75em;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 44px;
  padding: var(--store-padding-mid) var(--store-padding-highest);
  transition: var(--glam-transition-faster);
  white-space: nowrap;
}

.glam-desc-parent .store-cart-action:hover,
.glam-desc-parent .store-cart-action:focus-visible {
  background: transparent;
  color: var(--rx-media-pink-1);
}

.store-cart-detail[data-cart-mode="free"] .store-cart-action {
  background: var(--rx-media-green-0);
  border-color: var(--rx-media-green-0);
}

.store-cart-detail[data-cart-mode="free"] .store-cart-action:hover,
.store-cart-detail[data-cart-mode="free"] .store-cart-action:focus-visible {
  background: transparent;
  color: var(--rx-media-green-0);
}

.store-cart-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.store-cart-empty {
  border-top: 1px solid var(--glam-footer-border-color);
  padding-top: var(--store-padding-highest);
  text-align: center;
}

.store-cart-empty p {
  margin-left: auto;
  margin-right: auto;
}

[data-cart-toggle] {
  position: relative;
}

.store-cart-control {
  height: 48px;
  position: relative;
}

.store-cart-count {
  pointer-events: none;
}

.store-cart-notification {
  background: var(--glam-color);
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 8px;
  color: var(--glam-background-color);
  font-family: var(--glam-heading-font-family);
  font-size: .8rem;
  font-weight: 800;
  left: calc(50% - 5px);
  letter-spacing: 1px;
  opacity: 0;
  padding: var(--store-padding-low) var(--store-padding-high);
  position: absolute;
  top: calc(100% + 5px);
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 1;
}

.store-cart-notification.is-visible {
  animation: store-cart-notification 2.4s ease both;
}

@keyframes store-cart-notification {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
  }

  12%,
  82% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
  }
}

[data-cart-add]:disabled {
  cursor: default;
}

.store-cart-add-control {
  align-items: stretch;
  display: flex;
  min-width: 0;
}

.store-featured-actions > .store-cart-add-control {
  flex: .5 0 auto;
  margin: 0 1.5%;
  max-width: 50%;
}

.store-featured-actions > .store-cart-add-control > [data-cart-add] {
  flex: 1 1 auto;
  margin: 0;
  max-width: none;
  min-width: 0;
  width: 100%;
}

.store-item-buttons > .store-cart-add-control {
  flex: 1 1 auto;
  margin: var(--store-padding-low) 3px;
}

.store-item-buttons > .store-cart-add-control > [data-cart-add] {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.store-cart-add-control-featured.is-in-cart {
  background: var(--rx-media-pink-1);
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
}

.store-cart-add-control-item.is-in-cart {
  background: var(--rx-media-green-0);
  border: 1px solid var(--rx-media-green-0);
  border-radius: 8px;
  flex-grow: 1.55;
  overflow: hidden;
}

.store-cart-unadd-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
  display: flex;
  flex: 0 0 48px;
  justify-content: center;
  min-height: 44px;
  min-width: 48px;
  padding: var(--store-padding-low);
  transition: var(--glam-transition-faster);
}

.store-cart-unadd-button[hidden] {
  display: none;
}

.store-cart-unadd-button:hover {
  background: rgba(0, 0, 0, .14);
}

.store-cart-unadd-button:focus-visible {
  outline: 2px solid white;
  outline-offset: -4px;
}

.store-cart-unadd-button img {
  filter: brightness(0) invert(1);
  height: 24px;
  margin: 0;
  width: 24px;
}

.store-cart-button-divider {
  align-self: stretch;
  background: rgba(255, 255, 255, .9);
  display: none;
  flex: 0 0 1px;
  margin: 10px 0;
  width: 1px;
}

.store-cart-add-control.is-in-cart > .store-cart-button-divider {
  display: block;
}

.store-cart-add-control.is-in-cart > [data-cart-add],
.store-cart-add-control.is-in-cart > [data-cart-add]:hover {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: white;
  filter: none;
}

.store-cart-add-control-item.is-in-cart > [data-cart-add] {
  letter-spacing: .5px;
  padding-left: var(--store-padding-low);
  padding-right: var(--store-padding-low);
  transform: translateY(-1px);
  white-space: nowrap;
}

.store-cart-add-control-item.is-in-cart > [data-cart-add] img {
  margin: auto 0 auto var(--store-padding-low);
  transform: translateY(-2px);
  width: 20px;
}

@media only screen and (max-width: 1280px) {
  .store-featured-actions > .store-cart-add-control {
    flex: 1 1 0;
    margin: 0;
    max-width: none;
  }
}

@media only screen and (max-width: 768px) {
  .store-featured-actions > .store-cart-add-control {
    flex: 1 1 220px;
  }
}

@media only screen and (max-width: 480px) {
  .store-featured-actions > .store-cart-add-control {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }
}

.store-item-download-button.is-in-cart,
.store-item-download-button.is-in-cart:hover {
  background: var(--rx-media-green-0);
  color: white;
}

.store-item-download-button.is-in-cart img,
.store-item-download-button.is-in-cart:hover img {
  filter: invert(0);
}

.store-featured-purchase-button.is-in-cart,
.store-featured-purchase-button.is-in-cart:hover {
  background: var(--rx-media-pink-1);
  border-color: transparent;
  color: white;
}

.store-featured-purchase-button.is-in-cart img,
.store-featured-purchase-button.is-in-cart:hover img {
  filter: brightness(15) grayscale(1);
}

.store-cart-count {
  align-items: center;
  background: var(--rx-media-green-0);
  border-radius: 50%;
  color: white;
  display: flex;
  font-size: .65rem;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  line-height: 1;
  min-width: 18px;
  padding: 2px;
  position: absolute;
  right: 1px;
  top: 3px;
}

.store-cart-count[hidden],
.store-cart-notification[hidden],
.store-cart-empty[hidden],
.store-cart-items[hidden],
.store-cart-summary[hidden] {
  display: none;
}

.store-cart-items {
  border-top: 1px solid var(--glam-footer-border-color);
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-cart-item {
  align-items: center;
  border-bottom: 1px solid var(--glam-footer-border-color);
  display: grid;
  gap: var(--store-padding-highest);
  grid-template-columns: minmax(0, 1fr) auto;
  padding: var(--store-padding-highest) 0;
}

.store-cart-item-details h2,
.store-cart-item-details p {
  margin: 0;
}

.store-cart-item-details p {
  color: var(--glam-color-muted);
  font-size: .8em;
}

.store-cart-item-actions {
  align-items: flex-end;
  display: flex;
  flex-flow: column;
  gap: var(--store-padding-mid);
}

.store-cart-quantity {
  align-items: center;
  display: flex;
}

.glam-desc-parent .store-cart-quantity-button,
.store-cart-quantity-input {
  background: transparent;
  border: 1px solid var(--glam-footer-border-color);
  box-sizing: border-box;
  color: var(--glam-color);
  font-family: var(--glam-heading-font-family);
  height: 34px;
  text-align: center;
}

.glam-desc-parent .store-cart-quantity-button {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.glam-desc-parent .store-cart-quantity-button:first-of-type {
  border-radius: 8px 0 0 8px;
}

.glam-desc-parent .store-cart-quantity-button:last-of-type {
  border-radius: 0 8px 8px 0;
}

.glam-desc-parent .store-cart-quantity-button:hover:not(:disabled) {
  background: var(--glam-color);
  color: var(--glam-background-color);
}

.glam-desc-parent .store-cart-quantity-button:disabled {
  cursor: default;
  opacity: .45;
}

.store-cart-quantity-input {
  border-left: none;
  border-radius: 0;
  border-right: none;
  font-size: .8rem;
  padding: 0 var(--store-padding-low);
  width: 64px;
}

.store-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.store-cart-item-price {
  font-family: var(--glam-heading-font-family);
}

.glam-desc-parent .store-cart-remove {
  background: transparent;
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 8px;
  color: var(--glam-color);
  cursor: pointer;
  font-family: var(--glam-heading-font-family);
  font-size: .7em;
  padding: var(--store-padding-low) var(--store-padding-mid);
  transition: var(--glam-transition-faster);
}

.glam-desc-parent .store-cart-remove:hover {
  background: var(--glam-color);
  color: var(--glam-background-color);
}

@media only screen and (max-width: 900px) {
  .glam-desc-parent.store-cart-open > .store-cart-detail.glam-description-open {
    padding-top: 70px;
  }

  .store-cart-detail .glam-pf-article {
    padding-top: 0;
  }

  .store-cart-header > h1 {
    margin-bottom: var(--store-padding-highest);
  }

  .store-cart-primary {
    justify-content: space-between;
    width: 100%;
  }

  .store-cart-item {
    align-items: stretch;
    gap: var(--store-padding-high);
    grid-template-columns: 1fr;
  }

  .store-cart-item-actions {
    align-items: center;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 480px) {
  .store-cart-primary {
    align-items: stretch;
    flex-flow: column;
  }

  .store-cart-summary {
    align-items: flex-start;
  }

  .glam-desc-parent .store-cart-action {
    width: 100%;
  }
}

/* Store account + library */
html.store-account-open,
body.store-account-open {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.store-account-panel {
  background: var(--glam-background-color);
  color: var(--glam-color);
  inset: 50px 0 0 0;
  height: calc(100vh - 50px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  position: fixed;
  scrollbar-gutter: stable;
  z-index: 9997;
}

.store-account-panel[hidden],
.store-account-authenticated[hidden],
.store-account-guest[hidden],
.store-library-empty[hidden],
.store-library-items[hidden] {
  display: none;
}

.store-account-shell {
  height: auto;
  margin: 0 auto;
  max-width: 1050px;
  min-height: 100%;
  overflow: visible;
  padding: clamp(70px, 8vh, 110px) 2.735rem 5rem;
  width: 100%;
}

.store-account-header,
.store-library-header {
  align-items: center;
  border-bottom: 1px solid var(--glam-footer-border-color);
  display: flex;
  gap: var(--store-padding-highest);
  justify-content: space-between;
  padding-bottom: var(--store-padding-highest);
}

.store-account-header h1,
.store-library-header h2 {
  color: var(--glam-color);
  font-family: var(--glam-heading-font-family);
  letter-spacing: .15em;
  margin: 0;
}

.store-account-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
}

.store-library-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.1;
}

.store-account-heading-container {
  align-items: center;
  display: flex;
  margin: var(--store-padding-mid) 0;
}

.store-account-kicker {
  align-items: center;
  display: flex;
  color: var(--store-dark-blue);
  font-family: var(--glam-heading-font-family);
  font-size: 150%;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.store-account-email {
  align-items: center;
  background: var(--rx-media-blue-0);
  border-radius: 5px;
  color: white;
  font-size: 150%;
  display: flex;
  margin: var(--store-padding-mid) var(--store-padding-higher);
  padding: var(--store-padding-mid) var(--store-padding-high) var(--store-padding-high) var(--store-padding-high);
  transform: translateY(-2px);
}

.store-account-intro {
  color: var(--glam-color-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: var(--store-padding-highest) 0;
  max-width: 46rem;
}

.store-account-form {
  margin-top: var(--store-padding-highest);
  max-width: 700px;
}

.store-account-form label {
  display: block;
  font-family: var(--glam-heading-font-family);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: var(--store-padding-low);
  text-transform: uppercase;
}

.store-account-form-row {
  display: flex;
  gap: var(--store-padding-mid);
}

.store-account-form input {
  background: var(--glam-background-color);
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 8px;
  color: var(--glam-color);
  flex: 1 1 auto;
  font: inherit;
  min-height: 48px;
  min-width: 0;
  padding: var(--store-padding-mid) var(--store-padding-high);
}

.store-account-form input:focus {
  border-color: var(--store-dark-blue);
  outline: 2px solid color-mix(in srgb, var(--store-dark-blue) 25%, transparent);
  outline-offset: 2px;
}

.store-account-form button,
.store-account-secondary-button,
.store-library-download {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--glam-heading-font-family);
  font-size: .85rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 44px;
  padding: var(--store-padding-mid) var(--store-padding-highest);
  text-decoration: none;
  transition: var(--glam-transition-faster);
  white-space: nowrap;
}

.store-account-form button,
.store-library-download {
  background: var(--store-dark-blue);
  border: 2px solid var(--store-dark-blue);
  color: white;
}

.store-account-form button:hover,
.store-account-form button:focus-visible,
.store-library-download:hover,
.store-library-download:focus-visible {
  background: transparent;
  color: var(--store-dark-blue);
}

.store-account-secondary-button {
  background: transparent;
  border: 2px solid var(--glam-footer-border-color);
  color: var(--glam-color);
}

.store-account-secondary-button:hover,
.store-account-secondary-button:focus-visible {
  background: var(--glam-color);
  color: var(--glam-background-color);
}

.store-account-form button:disabled,
.store-account-secondary-button:disabled {
  cursor: wait;
  opacity: .55;
}

.store-account-status {
  color: var(--glam-color-muted);
  font-size: .95rem;
  min-height: 1.5em;
  margin-top: var(--store-padding-high);
}

.store-account-status[data-state="success"] {
  color: var(--rx-media-green-0);
}

.store-account-status[data-state="error"] {
  color: var(--rx-media-pink-1);
}

.store-account-guest {
  box-sizing: border-box;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.store-account-authenticated:not([hidden]) {
  box-sizing: border-box;
  display: flex;
  flex-flow: column;
  height: auto;
  min-height: 100%;
  padding-bottom: 75px;
}

.store-library {
  display: flex;
  flex: 0 0 auto;
  flex-flow: column;
  margin-top: clamp(50px, 8vh, 90px);
  min-height: auto;
}

.store-library-header,
.store-account-header {
  flex: 0 0 auto;
}

.store-library-items,
.store-library-empty {
  flex: 0 0 auto;
  min-height: auto;
  overflow: visible;
}

.store-library-empty {
  border-bottom: 1px solid var(--glam-footer-border-color);
  color: var(--glam-color-muted);
  font-size: 1rem;
  padding: var(--store-padding-highest) 0;
  text-align: center;
}

.store-library-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-library-item {
  align-items: center;
  border-bottom: 1px solid var(--glam-footer-border-color);
  display: flex;
  gap: var(--store-padding-highest);
  justify-content: space-between;
  padding: var(--store-padding-highest) 0;
}

.store-library-item-details {
  min-width: 0;
}

.store-library-item-details h3 {
  color: var(--glam-color);
  font-size: 1.1rem;
  margin: 0;
}

.store-library-item-details p {
  color: var(--glam-color-muted);
  font-size: .85rem;
  margin: var(--store-padding-low) 0 0;
}

.store-account-close {
  background: var(--glam-color);
  border: 2px solid var(--glam-background-color);
  border-radius: 50%;
  box-shadow: var(--glam-footer-p-box-shadow);
  cursor: pointer;
  height: 50px;
  position: fixed;
  right: 20px;
  top: 65px;
  transition: var(--glam-transition-normal);
  width: 50px;
  z-index: 1;
}

.store-account-close::before,
.store-account-close::after {
  background: var(--glam-background-color);
  border-radius: 4px;
  content: '';
  height: 3px;
  left: 15%;
  position: absolute;
  right: 15%;
  top: calc(50% - 1.5px);
  transition: var(--glam-transition-quick);
}

.store-account-close::before {
  transform: rotate(45deg);
}

.store-account-close::after {
  transform: rotate(-45deg);
}

.store-account-close span {
  align-items: center;
  background: var(--glam-color);
  border-radius: 12px;
  color: var(--glam-background-color);
  display: flex;
  font-size: .65rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 2px;
  opacity: 0;
  padding: 5px 12px 5px 16px;
  position: absolute;
  inset: 25% 132.5% auto auto;
  text-transform: uppercase;
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--glam-transition-normal);
  z-index: -1;
}

.store-account-close:hover {
  background: var(--glam-background-color);
  border-color: var(--glam-color);
}

.store-account-close:hover::before,
.store-account-close:hover::after {
  background: var(--glam-color);
  left: 25%;
  right: 25%;
}

.store-account-close:hover span {
  opacity: 1;
  transform: scaleX(1);
}

.store-user-identity {
  align-items: center;
  background: var(--glam-color);
  border-bottom: 1px solid var(--glam-color);
  color: var(--glam-background-color);
  display: flex;
  font-size: .72rem;
  justify-content: flex-end;
  min-height: 50px;
  overflow: hidden;
  padding: 0 var(--store-padding-high);
}

.store-user-identity::before {
  border-radius: 50%;
  content: '';
  align-items: center;
  background: linear-gradient(var(--rx-media-indigo-0), var(--rx-media-green-1));
  display: flex;
  font-size: .72rem;
  height: 15px;
  margin: 0 auto 0 0;
  width: 15px;
}

.store-user-identity.off {
  display: none;
}

.store-user-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media only screen and (max-width: 700px) {
  .store-account-shell {
    padding-left: var(--store-padding-high);
    padding-right: var(--store-padding-high);
  }

  .store-account-header,
  .store-library-header,
  .store-library-item,
  .store-account-form-row {
    align-items: stretch;
    flex-flow: column;
  }

  .store-account-header .store-account-secondary-button,
  .store-library-header .store-account-secondary-button,
  .store-library-download {
    width: 100%;
  }

  .store-account-close {
    right: 12px;
  }
}

/* Cart checkout/download status */
.store-cart-status {
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--glam-color-muted);
  flex: 0 0 auto;
  font-size: .85rem;
  line-height: 1.55;
  margin: 0 0 var(--store-padding-high) 0;
  padding: var(--store-padding-mid) var(--store-padding-high);
  width: 100%;
}

.store-cart-status[hidden],
.store-cart-free-action[hidden] {
  display: none;
}

.store-cart-status[data-state="error"] {
  border-color: color-mix(in srgb, var(--rx-media-pink-1) 55%, transparent);
  color: var(--rx-media-pink-1);
}

.store-cart-status[data-state="success"] {
  border-color: color-mix(in srgb, var(--rx-media-green-0) 55%, transparent);
  color: var(--rx-media-green-0);
}

.store-cart-status[data-state="notice"] {
  border-color: color-mix(in srgb, var(--store-dark-blue) 45%, transparent);
  color: var(--store-dark-blue);
}

.glam-desc-parent .store-cart-free-action {
  align-items: center;
  background: transparent;
  border: 2px solid var(--rx-media-green-0);
  border-radius: 8px;
  color: var(--rx-media-green-0);
  cursor: pointer;
  display: flex;
  font-family: var(--glam-heading-font-family);
  font-size: .75em;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 44px;
  padding: var(--store-padding-mid) var(--store-padding-highest);
  transition: var(--glam-transition-faster);
  white-space: nowrap;
}

.glam-desc-parent .store-cart-free-action:hover,
.glam-desc-parent .store-cart-free-action:focus-visible {
  background: var(--rx-media-green-0);
  color: white;
}

.glam-desc-parent .store-cart-action:disabled,
.glam-desc-parent .store-cart-free-action:disabled {
  cursor: wait;
  opacity: .6;
}

@media only screen and (max-width: 480px) {
  .glam-desc-parent .store-cart-free-action {
    width: 100%;
  }
}


/* Keep the mixed-cart free-download fallback hidden unless JS explicitly shows it. */
.glam-desc-parent .store-cart-free-action[hidden] {
  display: none;
}

/* Mixed-cart free download notice */
.store-cart-mixed-notice {
  border: 1px solid color-mix(in srgb, var(--store-dark-blue) 45%, transparent);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--store-dark-blue);
  flex: 0 0 auto;
  font-size: .85rem;
  line-height: 1.55;
  margin: 0 0 var(--store-padding-high) 0;
  padding: var(--store-padding-mid) var(--store-padding-high);
  width: 100%;
}

.store-cart-mixed-notice[hidden] {
  display: none;
}

/* Recover guest free downloads from this browser */
.store-browser-download-recovery {
  align-items: center;
  background: color-mix(
    in srgb,
    var(--store-dark-blue) 5%,
    transparent
  );
  border: 1px solid color-mix(
    in srgb,
    var(--store-dark-blue) 35%,
    var(--glam-footer-border-color)
  );
  border-radius: 8px;
  display: flex;
  gap: var(--store-padding-highest);
  justify-content: space-between;
  margin: var(--store-padding-high) 0 var(--store-padding-highest);
  padding: var(--store-padding-highest);
}

.store-browser-download-recovery[hidden] {
  display: none;
}

.store-browser-download-recovery-text {
  min-width: 0;
}

.store-browser-download-recovery h3 {
  color: var(--glam-color);
  font-family: var(--glam-heading-font-family);
  font-size: 1rem;
  letter-spacing: .08em;
  margin: 0 0 var(--store-padding-low);
}

.store-browser-download-recovery p {
  color: var(--glam-color);
  line-height: 1.6;
  margin: 0;
}

.store-browser-download-recovery small {
  color: var(--glam-color-muted);
  display: block;
  line-height: 1.5;
  margin-top: var(--store-padding-mid);
}

.store-browser-download-recovery .store-account-secondary-button {
  flex: 0 0 auto;
}

@media only screen and (max-width: 700px) {
  .store-browser-download-recovery {
    align-items: stretch;
    flex-flow: column;
  }

  .store-browser-download-recovery .store-account-secondary-button {
    width: 100%;
  }
}

/* Guest cart choice shown before sign-in */
.store-account-cart-choice {
  align-items: flex-start;
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 8px;
  display: flex;
  gap: var(--store-padding-high);
  margin-top: var(--store-padding-high);
  padding: var(--store-padding-high);
}

.store-account-cart-choice[hidden] {
  display: none;
}

.store-account-form .store-account-cart-choice input {
  accent-color: var(--store-dark-blue);
  appearance: auto;
  background: initial;
  border: initial;
  border-radius: initial;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 20px;
  margin: 2px 0 0;
  min-height: 0;
  padding: 0;
  width: 20px;
}

.store-account-form .store-account-cart-choice label {
  cursor: pointer;
  display: flex;
  flex: 1 1 auto;
  flex-flow: column;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  gap: var(--store-padding-low);
  letter-spacing: 0;
  margin: 0;
  min-width: 0;
  text-transform: none;
}

.store-account-cart-choice strong {
  color: var(--glam-color);
  font-family: var(--glam-heading-font-family);
  font-size: .95rem;
  letter-spacing: .04em;
}

.store-account-cart-choice span {
  color: var(--glam-color-muted);
  font-size: .9rem;
  line-height: 1.5;
}

/* Library remove / restore management */
.store-library-header-actions {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: var(--store-padding-mid);
  justify-content: flex-end;
}

.store-library-item-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-flow: row wrap;
  gap: var(--store-padding-mid);
  justify-content: flex-end;
}

.store-library-visibility {
  align-items: center;
  background: transparent;
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 8px;
  color: var(--glam-color);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--glam-heading-font-family);
  font-size: .8rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .05em;
  min-height: 44px;
  padding: var(--store-padding-mid) var(--store-padding-high);
  transition: var(--glam-transition-faster);
  white-space: nowrap;
}

.store-library-visibility:hover,
.store-library-visibility:focus-visible {
  background: var(--glam-color);
  color: var(--glam-background-color);
}

.store-library-visibility:disabled {
  cursor: wait;
  opacity: .55;
}

.store-library-item.is-library-hidden {
  opacity: .72;
}

.store-library-item.is-library-hidden
.store-library-item-details h3::after {
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 5px;
  color: var(--glam-color-muted);
  content: 'removed';
  display: inline-block;
  font-family: var(--glam-heading-font-family);
  font-size: .65rem;
  letter-spacing: .08em;
  margin-left: var(--store-padding-mid);
  padding: 3px 7px;
  text-transform: uppercase;
  vertical-align: middle;
}

@media only screen and (max-width: 700px) {
  .store-library-header-actions,
  .store-library-item-actions {
    align-items: stretch;
    flex-flow: column;
    width: 100%;
  }

  .store-library-header-actions
  .store-account-secondary-button,
  .store-library-item-actions
  .store-library-download,
  .store-library-item-actions
  .store-library-visibility {
    width: 100%;
  }
}

/* Download all library items */
.store-library-download[hidden] {
  display: none;
}

.store-library-download:disabled {
  cursor: wait;
  opacity: .55;
}

.store-library-download-fixed {
  bottom: var(--store-padding-highest);
  box-shadow: 0 5px 20px rgba(0, 0, 0, .18);
  left: 50%;
  min-width: 220px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 2;
}

@media only screen and (max-width: 700px) {
  .store-library-download-fixed {
    bottom: var(--store-padding-high);
    width: calc(100% - 30px);
  }
}

/* Store item detail actions */
.buttons > .store-detail-article-button {
  align-items: center;
  background: transparent;
  border: 2px solid var(--rx-media-dark-grey);
  border-radius: 8px;
  color: var(--rx-media-dark-grey);
  display: flex;
  flex: .35 0 auto;
  font-family: var(--glam-heading-font-family);
  font-size: 135%;
  font-weight: 800;
  justify-content: center;
  padding: var(--store-padding-low) var(--store-padding-high) var(--store-padding-low) var(--store-padding-highest);
  text-decoration: none;
  transition: var(--glam-transition-faster);
}

.buttons > .store-detail-article-button:hover,
.buttons > .store-detail-article-button:focus-visible {
  background: var(--rx-media-dark-grey);
  color: white;
}

.buttons > .store-detail-cart-control {
  flex: 1 1 0;
  margin: 0;
  min-width: 0;
}

.buttons > .store-detail-cart-control > [data-cart-add] {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.buttons .store-detail-get-free-button {
  min-height: 50px;
}

.buttons .store-detail-cart-control.is-in-cart {
  background: var(--rx-media-green-0);
  border: 1px solid var(--rx-media-green-0);
  border-radius: 8px;
  overflow: hidden;
}

.buttons .store-item-download-button {
  align-items: center;
  border-radius: 8px;
  border-width: 2px;
  flex: 1 1 auto;
  font-size: 135%;
}

.buttons .store-item-download-button img {
  transform: none;
  margin: 0 0 3px var(--store-padding-mid);
}

@media only screen and (max-width: 1480px) {
  .buttons > .store-detail-cart-control,
  .buttons > .store-detail-article-button {
    width: 100%;
  }
}

/* Backend-driven product pricing */
.store-featured-discount[hidden] {
  display: none;
}

/* Store administration */
html.store-admin-open,
body.store-admin-open {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.store-admin-panel {
  background: var(--glam-background-color);
  color: var(--glam-color);
  height: calc(100vh - 50px);
  inset: 50px 0 0;
  overflow: hidden;
  position: fixed;
  z-index: 9997;
}

.store-admin-panel[hidden],
.store-admin-content[hidden],
.store-admin-identity[hidden] {
  display: none;
}

.store-admin-shell {
  box-sizing: border-box;
  height: 100%;
  margin: 0 auto;
  max-width: 1050px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(70px, 8vh, 110px) 2.735rem 5rem;
  scrollbar-gutter: stable;
  width: 100%;
}

.store-admin-header {
  align-items: center;
  border-bottom: 1px solid var(--glam-footer-border-color);
  display: flex;
  gap: var(--store-padding-highest);
  justify-content: space-between;
  padding-bottom: var(--store-padding-highest);
}

.store-admin-header h1 {
  color: var(--glam-color);
  font-family: var(--glam-heading-font-family);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: .15em;
  line-height: 1.1;
  margin: 0;
}

.store-admin-identity {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: var(--store-padding-mid);
  margin-top: var(--store-padding-high);
}

.store-admin-identity [data-admin-email] {
  color: var(--glam-color-muted);
}

.store-admin-role {
  background: var(--store-dark-blue);
  border-radius: 5px;
  color: white;
  font-family: var(--glam-heading-font-family);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 5px 9px;
  text-transform: uppercase;
}

.store-admin-status {
  margin: var(--store-padding-highest) 0;
}

.store-admin-section-header {
  margin-bottom: var(--store-padding-highest);
}

.store-admin-section-header h2 {
  color: var(--glam-color);
  font-family: var(--glam-heading-font-family);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: .12em;
  margin: 0 0 var(--store-padding-mid);
}

.store-admin-section-header p {
  color: var(--glam-color-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 48rem;
}

.store-admin-products {
  display: flex;
  flex-flow: column;
  gap: var(--store-padding-highest);
}

.store-admin-product {
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 10px;
  padding: var(--store-padding-highest);
}

.store-admin-product-header {
  align-items: flex-start;
  display: flex;
  gap: var(--store-padding-high);
  justify-content: space-between;
  margin-bottom: var(--store-padding-highest);
}

.store-admin-product-header h3 {
  color: var(--glam-color);
  font-size: 1.2rem;
  margin: 0;
}

.store-admin-product-id {
  color: var(--glam-color-muted);
  font-size: .8rem;
  margin: var(--store-padding-low) 0 0;
}

.store-admin-product-status {
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 5px;
  color: var(--glam-color-muted);
  font-family: var(--glam-heading-font-family);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 5px 9px;
  text-transform: uppercase;
}

.store-admin-form {
  display: grid;
  gap: var(--store-padding-highest);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-admin-field {
  display: flex;
  flex-flow: column;
  gap: var(--store-padding-low);
}

.store-admin-field label,
.store-admin-toggle-copy strong {
  color: var(--glam-color);
  font-family: var(--glam-heading-font-family);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.store-admin-field small,
.store-admin-toggle-copy small {
  color: var(--glam-color-muted);
  line-height: 1.45;
}

.store-admin-input-wrap {
  align-items: stretch;
  display: flex;
}

.store-admin-input-prefix,
.store-admin-input-suffix {
  align-items: center;
  background: color-mix(
    in srgb,
    var(--glam-color) 5%,
    transparent
  );
  border: 1px solid var(--glam-footer-border-color);
  color: var(--glam-color-muted);
  display: flex;
  font-family: var(--glam-heading-font-family);
  justify-content: center;
  min-width: 44px;
  padding: 0 var(--store-padding-mid);
}

.store-admin-input-prefix {
  border-radius: 8px 0 0 8px;
  border-right: 0;
}

.store-admin-input-suffix {
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.store-admin-field input[type="number"] {
  appearance: textfield;
  background: var(--glam-background-color);
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--glam-color);
  font: inherit;
  min-height: 48px;
  padding: var(--store-padding-mid) var(--store-padding-high);
  width: 100%;
}

.store-admin-input-wrap
input[type="number"] {
  border-radius: 0;
}

.store-admin-input-wrap
.store-admin-input-prefix + input[type="number"] {
  border-radius: 0 8px 8px 0;
}

.store-admin-input-wrap
input[type="number"]:has(+ .store-admin-input-suffix) {
  border-radius: 8px 0 0 8px;
}

.store-admin-toggle {
  align-items: center;
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 8px;
  display: flex;
  gap: var(--store-padding-high);
  min-height: 48px;
  padding: var(--store-padding-mid) var(--store-padding-high);
}

.store-admin-toggle input {
  accent-color: var(--store-dark-blue);
  height: 20px;
  width: 20px;
}

.store-admin-toggle-copy {
  display: flex;
  flex-flow: column;
  gap: 2px;
}

.store-admin-price-preview {
  align-items: center;
  background: color-mix(
    in srgb,
    var(--store-dark-blue) 5%,
    transparent
  );
  border: 1px solid color-mix(
    in srgb,
    var(--store-dark-blue) 25%,
    var(--glam-footer-border-color)
  );
  border-radius: 8px;
  display: flex;
  gap: var(--store-padding-high);
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: var(--store-padding-high);
}

.store-admin-price-preview span {
  color: var(--glam-color-muted);
}

.store-admin-price-preview strong {
  color: var(--store-dark-blue);
  font-family: var(--glam-heading-font-family);
  font-size: 1.15rem;
}

.store-admin-actions {
  align-items: center;
  border-top: 1px solid var(--glam-footer-border-color);
  display: flex;
  gap: var(--store-padding-high);
  grid-column: 1 / -1;
  justify-content: flex-end;
  padding-top: var(--store-padding-highest);
}

.store-admin-save {
  align-items: center;
  background: var(--store-dark-blue);
  border: 2px solid var(--store-dark-blue);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--glam-heading-font-family);
  font-size: .85rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 44px;
  padding: var(--store-padding-mid) var(--store-padding-highest);
  transition: var(--glam-transition-faster);
}

.store-admin-save:hover,
.store-admin-save:focus-visible {
  background: transparent;
  color: var(--store-dark-blue);
}

.store-admin-save:disabled {
  cursor: wait;
  opacity: .55;
}

.store-admin-form-status {
  color: var(--glam-color-muted);
  flex: 1 1 auto;
  font-size: .9rem;
  margin: 0;
}

.store-admin-form-status[data-state="success"] {
  color: var(--rx-media-green-0);
}

.store-admin-form-status[data-state="error"] {
  color: var(--rx-media-pink-1);
}

@media only screen and (max-width: 700px) {
  .store-admin-shell {
    padding-left: var(--store-padding-high);
    padding-right: var(--store-padding-high);
  }

  .store-admin-header,
  .store-admin-product-header {
    align-items: stretch;
    flex-flow: column;
  }

  .store-admin-form {
    grid-template-columns: 1fr;
  }

  .store-admin-price-preview,
  .store-admin-actions {
    grid-column: 1;
  }

  .store-admin-actions {
    align-items: stretch;
    flex-flow: column;
  }

  .store-admin-save {
    width: 100%;
  }
}

/* Admin percentage steppers */
.store-admin-percentage-control {
  align-items: stretch;
  display: flex;
  max-width: 285px;
  min-height: 48px;
  width: 100%;
}

.store-admin-percentage-value {
  align-items: stretch;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

.store-admin-percentage-value input[type="number"] {
  border-radius: 8px 0 0 8px;
  flex: 1 1 0;
  min-width: 70px;
  text-align: right;
  width: auto;
}

.store-admin-percentage-value span {
  align-items: center;
  background: color-mix(
    in srgb,
    var(--glam-color) 5%,
    transparent
  );
  border-bottom: 1px solid var(--glam-footer-border-color);
  border-top: 1px solid var(--glam-footer-border-color);
  color: var(--glam-color-muted);
  display: flex;
  flex: 0 0 auto;
  font-family: var(--glam-heading-font-family);
  justify-content: center;
  min-width: 38px;
  padding: 0 var(--store-padding-low);
}

.store-admin-percentage-step-group {
  align-items: stretch;
  display: flex;
  flex: 0 0 88px;
  min-width: 88px;
}

.store-admin-percentage-step {
  align-items: center;
  background: transparent;
  border: 1px solid var(--glam-footer-border-color);
  color: var(--glam-color);
  cursor: pointer;
  display: flex;
  flex: 0 0 44px;
  font-family: var(--glam-heading-font-family);
  font-size: 1.25rem;
  font-weight: 800;
  justify-content: center;
  padding: 0;
  transition: var(--glam-transition-faster);
}

.store-admin-percentage-step:first-child {
  border-right: 0;
}

.store-admin-percentage-step:last-child {
  border-radius: 0 8px 8px 0;
}

.store-admin-percentage-step:hover,
.store-admin-percentage-step:focus-visible {
  background: var(--glam-color);
  color: var(--glam-background-color);
}

.store-admin-percentage-control:hover
.store-admin-percentage-value input,
.store-admin-percentage-control:hover
.store-admin-percentage-value span,
.store-admin-percentage-control:hover
.store-admin-percentage-step {
  border-color: var(--store-dark-blue);
}

/* Account administrator controls */
.store-account-admin-badge {
  align-items: center;
  background: var(--rx-media-medium-grey);
  border-radius: 5px;
  color: white;
  display: flex;
  font-family: var(--glam-heading-font-family);
  font-size: 150%;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  letter-spacing: .08em;
  padding: 0 var(--store-padding-high);
  text-transform: uppercase;
  transform: translateY(-2px);
}

.store-account-admin-badge::after {
  align-items: center;
  background: var(--rx-media-bright-grey);
  border-radius: 5px;
  color: white;
  content: '';
  display: flex;
  inset: -25% auto -25% -15%;
  position: absolute;
  width: 1px;
}

.store-account-admin-badge[hidden],
.store-account-admin-button[hidden] {
  display: none;
}

.store-account-header-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: var(--store-padding-mid);
}

.store-account-admin-button {
  gap: var(--store-padding-mid);
}

.store-account-admin-button img {
  height: 20px;
  width: 20px;
}

.store-account-admin-button:hover img,
.store-account-admin-button:focus-visible img {
  filter: invert(1);
}

@media only screen and (max-width: 700px) {
  .store-account-header-actions {
    align-items: stretch;
    flex-flow: column;
    width: 100%;
  }

  .store-account-header-actions
  .store-account-secondary-button {
    width: 100%;
  }
}

/* Compact current admin layout on normal desktop screens */
@media only screen and (min-width: 901px) and (min-height: 800px) {
  .store-admin-shell {
    overflow-y: auto;
    padding-top: clamp(35px, 4.5vh, 50px);
    padding-bottom: 30px;
  }

  .store-admin-header {
    padding-bottom: var(--store-padding-high);
  }

  .store-admin-identity {
    margin-top: var(--store-padding-mid);
  }

  .store-admin-status {
    margin: var(--store-padding-high) 0;
  }

  .store-admin-section-header {
    margin-bottom: var(--store-padding-high);
  }

  .store-admin-section-header h2 {
    margin-bottom: var(--store-padding-low);
  }

  .store-admin-products {
    gap: var(--store-padding-high);
  }

  .store-admin-product {
    padding: var(--store-padding-higher);
  }

  .store-admin-product-header {
    margin-bottom: var(--store-padding-high);
  }

  .store-admin-form {
    gap: var(--store-padding-high);
  }

  .store-admin-actions {
    padding-top: var(--store-padding-high);
  }
}

/* At 1080p-class desktop heights, the current admin form should not scroll. */
@media only screen and (min-width: 1200px) and (min-height: 950px) {
  .store-admin-shell {
    overflow-y: hidden;
  }
}

@media only screen and (max-width: 700px) {
  .store-admin-percentage-control {
    max-width: none;
  }
}

/* Library removal explainer */
.store-library-explainer {
  background: color-mix(
    in srgb,
    var(--store-dark-blue) 4%,
    transparent
  );
  border: 1px solid color-mix(
    in srgb,
    var(--store-dark-blue) 18%,
    var(--glam-footer-border-color)
  );
  border-radius: 8px;
  color: var(--glam-color-muted);
  flex: 0 0 auto;
  font-size: .9rem;
  line-height: 1.55;
  margin: var(--store-padding-high) 0 0;
  padding: var(--store-padding-mid) var(--store-padding-high);
}

/* Tai detail-view purchase action */
.store-detail-book-actions {
  display: flex;
  justify-content: flex-end;
  margin: 2.35rem 2.35rem 0 0;
}

.store-detail-book-control {
  background: var(--rx-media-pink-1);
  border: 2px solid var(--rx-media-pink-1);
  border-radius: 8px;
  overflow: hidden;
}

.store-detail-book-button {
  align-items: center;
  background: var(--rx-media-pink-1);
  border: 0;
  color: white;
  cursor: pointer;
  display: flex;
  font-family: var(--glam-heading-font-family);
  font-size: 1rem;
  font-weight: 800;
  gap: var(--store-padding-mid);
  justify-content: center;
  letter-spacing: .08em;
  min-height: 50px;
  padding: var(--store-padding-mid) var(--store-padding-highest);
  transition: var(--glam-transition-faster);
}

.store-detail-book-button img {
  filter: brightness(15) grayscale(1);
  height: 24px;
  margin: 0;
  transition: var(--glam-transition-faster);
  width: 24px;
}

.store-detail-book-control:not(.is-in-cart)
.store-detail-book-button:hover,
.store-detail-book-control:not(.is-in-cart)
.store-detail-book-button:focus-visible {
  background: white;
  color: var(--rx-media-pink-1);
}

.store-detail-book-control:not(.is-in-cart)
.store-detail-book-button:hover img,
.store-detail-book-control:not(.is-in-cart)
.store-detail-book-button:focus-visible img {
  filter: none;
}

.store-detail-book-control.is-in-cart {
  background: var(--rx-media-pink-1);
}

.store-detail-book-control.is-in-cart
.store-detail-book-button,
.store-detail-book-control.is-in-cart
.store-detail-book-button:hover {
  background: transparent;
  color: white;
}

.store-detail-book-control.is-in-cart
.store-detail-book-button img,
.store-detail-book-control.is-in-cart
.store-detail-book-button:hover img {
  filter: brightness(15) grayscale(1);
}

@media only screen and (max-width: 900px) {
  .store-detail-book-actions {
    margin: var(--store-padding-highest) 0 0;
  }

  .store-detail-book-control,
  .store-detail-book-button {
    width: 100%;
  }
}

/* Signed-in indicator on the top-right user control */
.store-user-control {
  height: 48px;
  position: relative;
}

.store-user-login-indicator {
  background: var(--rx-media-green-0);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--glam-background-color);
  height: 8px;
  inset: auto 18px 9px auto;
  pointer-events: none;
  position: absolute;
  width: 8px;
  z-index: 1;
}

.store-user-login-indicator[hidden] {
  display: none;
}

/* Featured item share control */
.store-featured sup {
  align-items: center;
  gap: var(--store-padding-mid);
}

.store-featured-share-button {
  align-items: center;
  background: none;
  background: rgba(236, 236, 236, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 60px;
  justify-content: center;
  transform: translateY(8px);
  padding: 0;
  transition: var(--glam-transition-faster);
  width: 60px;
}

.store-featured-share-button img {
  height: 76%;
  opacity: .5;
  transition: var(--glam-transition-faster);
  transform: translateY(-4px) translateX(-2px);
  width: 76%;
}

.store-featured-share-button:hover img,
.store-featured-share-button:focus-visible img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* Share-link copy feedback */
.store-featured-share-button {
  overflow: visible;
  position: relative;
}

.store-featured-share-button[data-share-feedback]::after {
  background: var(--glam-color);
  border-radius: 6px;
  color: var(--glam-background-color);
  content: attr(data-share-feedback);
  font-family: var(--glam-heading-font-family);
  font-size: .72rem;
  font-weight: 700;
  left: calc(100% + 10px);
  letter-spacing: .04em;
  opacity: 1;
  padding: 6px 9px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 3;
}

/* Account settings view */
.store-account-view[hidden] {
  display: none !important;
}

.store-account-view {
  opacity: 1;
  transition: opacity .18s ease;
}

.store-account-view.is-fading {
  opacity: 0;
}

.store-account-settings-button {
  aspect-ratio: 1 / 1;
  min-height: 44px;
  padding: var(--store-padding-mid);
  width: 44px;
}

.store-account-settings-button img {
  height: 21px;
  width: 21px;
}

.store-account-settings-button:hover img,
.store-account-settings-button:focus-visible img {
  filter: invert(1);
}

.store-account-settings {
  flex: 0 0 auto;
  margin-top: clamp(50px, 8vh, 90px);
  min-height: auto;
  overflow: visible;
}

.store-account-settings-header {
  border-bottom: 1px solid var(--glam-footer-border-color);
  padding-bottom: var(--store-padding-highest);
}

.store-account-settings-header h2 {
  color: var(--glam-color);
  font-family: var(--glam-heading-font-family);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: .15em;
  line-height: 1.1;
  margin: 0;
}

.store-account-settings-header p,
.store-account-settings-group p,
.store-account-danger-action p {
  color: var(--glam-color-muted);
  line-height: 1.6;
}

.store-account-settings-header p {
  margin: var(--store-padding-mid) 0 0;
}

.store-account-settings-content {
  display: flex;
  flex-flow: column;
  gap: var(--store-padding-high);
  padding: var(--store-padding-highest) 0 4rem;
}

.store-account-settings-group {
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 10px;
  padding: var(--store-padding-highest);
}

.store-account-settings-group-heading h3,
.store-account-settings-row h3,
.store-account-danger-action strong {
  color: var(--glam-color);
  font-family: var(--glam-heading-font-family);
  font-size: 1rem;
  letter-spacing: .08em;
}

.store-account-settings-group-heading p,
.store-account-settings-row p,
.store-account-danger-action p {
  margin: var(--store-padding-low) 0 0;
}

.store-account-settings-row {
  align-items: center;
  display: flex;
  gap: var(--store-padding-highest);
  justify-content: space-between;
}

.store-account-theme-options {
  display: grid;
  gap: var(--store-padding-mid);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--store-padding-high);
}

.store-account-theme-options button,
.store-account-settings-action {
  background: transparent;
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 8px;
  color: var(--glam-color);
  cursor: pointer;
  font-family: var(--glam-heading-font-family);
  font-weight: 800;
  letter-spacing: .08em;
  min-height: 44px;
  padding: var(--store-padding-mid) var(--store-padding-high);
  transition: var(--glam-transition-faster);
}

.store-account-theme-options button:hover,
.store-account-theme-options button:focus-visible,
.store-account-theme-options button[aria-pressed="true"] {
  background: var(--store-dark-blue);
  border-color: var(--store-dark-blue);
  color: white;
}

.store-account-toggle {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  position: relative;
}

.store-account-toggle input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.store-account-toggle > span[aria-hidden="true"] {
  background: color-mix(
    in srgb,
    var(--glam-color) 12%,
    transparent
  );
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 999px;
  display: block;
  height: 28px;
  position: relative;
  transition: var(--glam-transition-faster);
  width: 52px;
}

.store-account-toggle > span[aria-hidden="true"]::after {
  background: var(--glam-color-muted);
  border-radius: 50%;
  content: '';
  height: 20px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: var(--glam-transition-faster);
  width: 20px;
}

.store-account-toggle input:checked + span {
  background: var(--store-dark-blue);
  border-color: var(--store-dark-blue);
}

.store-account-toggle input:checked + span::after {
  background: white;
  transform: translateX(24px);
}

.store-account-toggle input:focus-visible + span {
  outline: 2px solid var(--store-dark-blue);
  outline-offset: 3px;
}

.store-account-settings-action {
  margin-top: var(--store-padding-high);
}

.store-account-settings-action:hover,
.store-account-settings-action:focus-visible {
  background: var(--glam-color);
  color: var(--glam-background-color);
}

.store-account-settings-action:disabled,
.store-account-theme-options button:disabled {
  cursor: wait;
  opacity: .55;
}

.store-account-settings-danger {
  border-color: color-mix(
    in srgb,
    var(--rx-media-pink-1) 28%,
    var(--glam-footer-border-color)
  );
}

.store-account-danger-action {
  align-items: center;
  border-top: 1px solid var(--glam-footer-border-color);
  display: flex;
  gap: var(--store-padding-highest);
  justify-content: space-between;
  margin-top: var(--store-padding-high);
  padding-top: var(--store-padding-high);
}

.store-account-danger-action > div {
  flex: 1 1 auto;
  min-width: 0;
}

.store-account-danger-action .store-account-settings-action {
  flex: 0 0 auto;
  margin-top: 0;
}

.store-account-settings-warning {
  border-color: color-mix(
    in srgb,
    var(--rx-media-pink-1) 55%,
    var(--glam-footer-border-color)
  );
  color: var(--rx-media-pink-1);
}

.store-account-settings-delete {
  background: var(--rx-media-pink-1);
  border-color: var(--rx-media-pink-1);
  color: white;
}

.store-account-settings-warning:hover,
.store-account-settings-warning:focus-visible,
.store-account-settings-delete:hover,
.store-account-settings-delete:focus-visible {
  background: var(--rx-media-pink-1);
  border-color: var(--rx-media-pink-1);
  color: white;
}

.store-account-settings-status {
  margin-bottom: var(--store-padding-highest);
}

@media only screen and (max-width: 700px) {
  .store-account-theme-options {
    grid-template-columns: 1fr;
  }

  .store-account-settings-row,
  .store-account-danger-action {
    align-items: stretch;
    flex-flow: column;
  }

  .store-account-toggle {
    align-self: flex-start;
  }

  .store-account-danger-action
  .store-account-settings-action,
  .store-account-settings-action {
    width: 100%;
  }
}

/* Admin regular-price stepper */
.store-admin-price-control {
  align-items: stretch;
  display: flex;
  max-width: 285px;
  min-height: 48px;
  width: 100%;
}

.store-admin-price-value {
  align-items: stretch;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

.store-admin-price-value
.store-admin-input-prefix {
  border-radius: 8px 0 0 8px;
  flex: 0 0 auto;
}

.store-admin-price-value
input[type="number"] {
  border-radius: 0;
  flex: 1 1 0;
  min-width: 70px;
  width: auto;
}

.store-admin-price-step-group {
  align-items: stretch;
  display: flex;
  flex: 0 0 88px;
  min-width: 88px;
}

.store-admin-price-step {
  align-items: center;
  background: transparent;
  border: 1px solid var(--glam-footer-border-color);
  color: var(--glam-color);
  cursor: pointer;
  display: flex;
  flex: 0 0 44px;
  font-family: var(--glam-heading-font-family);
  font-size: 1.25rem;
  font-weight: 800;
  justify-content: center;
  padding: 0;
  transition: var(--glam-transition-faster);
}

.store-admin-price-step:first-child {
  border-left: 0;
  border-right: 0;
}

.store-admin-price-step:last-child {
  border-radius: 0 8px 8px 0;
}

.store-admin-price-step:hover,
.store-admin-price-step:focus-visible {
  background: var(--glam-color);
  color: var(--glam-background-color);
}

.store-admin-price-control:hover
.store-admin-price-value
.store-admin-input-prefix,
.store-admin-price-control:hover
.store-admin-price-value
input,
.store-admin-price-control:hover
.store-admin-price-step {
  border-color: var(--store-dark-blue);
}

@media only screen and (max-width: 700px) {
  .store-admin-price-control {
    max-width: none;
  }
}
/* Store category navigation */
.store-title {
  overflow: visible;
  pointer-events: auto;
  z-index: 10002;
}

/*
 * The base Glammer title styles explicitly set the title link to
 * display:flex, which can otherwise defeat the HTML hidden state.
 * Only one Store control should ever be visible at a time.
 */
.store-title > [data-store-title-link][hidden],
.store-title > [data-store-menu-toggle][hidden],
.store-title > .store-category-menu[hidden] {
  display: none !important;
}

.store-title > [data-store-title-link],
.store-title > [data-store-menu-toggle] {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.store-title-menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 120%;
  font-weight: 800;
  gap: 14px;
  height: 100%;
  letter-spacing: .135em;
  padding: 0;
  text-transform: inherit;
}

.store-title-menu-button[hidden],
.store-category-menu[hidden] {
  display: none;
}

.store-title-menu-icon {
  background: currentColor;
  border-radius: 2px;
  display: block;
  height: 2px;
  position: relative;
  transition: var(--glam-transition-faster);
  width: 19px;
}

.store-title-menu-icon::before,
.store-title-menu-icon::after {
  background: currentColor;
  border-radius: 2px;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  transition: var(--glam-transition-faster);
  width: 19px;
}

.store-title-menu-icon::before {
  top: -6px;
}

.store-title-menu-icon::after {
  top: 6px;
}

.store-title-menu-button:hover
.store-title-menu-icon,
.store-title-menu-button:focus-visible
.store-title-menu-icon {
  transform: scaleX(.82);
}

.store-category-menu {
  border: 1px solid var(--glam-footer-border-color);
  border-top: none;
  border-radius: 0 0 10px 10px;
  left: 25px;
  margin: 0;
  min-width: 23.5em;
  overflow: clip;
  padding: 0;
  right: auto;
  top: 100%;
  transform: translateY(5px);
  z-index: 10001;
}

.store-category-menu li {
  width: 100%;
}

.store-category-menu button,
.store-category-menu a {
  border-left: 15px solid transparent;
  border-right: 0;
  box-sizing: border-box;
  justify-content: flex-start;
  padding: 0 var(--store-padding-high);
  text-align: left;
}

.store-category-menu-placeholder {
  align-items: center;
  background: var(--glam-background-color);
  color: var(--glam-color-muted);
  display: flex;
  font-size: .78rem;
  letter-spacing: .08em;
  min-height: 50px;
  padding: 0 var(--store-padding-highest);
  text-transform: uppercase;
}

.store-category-menu.open {
  display: flex;
}

.store-category-menu.open .overlay {
  border: 0;
  padding: 0;
}

/* Storefront-level admin settings */
.store-admin-storefront {
  border-bottom: 1px solid var(--glam-footer-border-color);
  margin-bottom: var(--store-padding-highest);
  padding-bottom: var(--store-padding-highest);
}

.store-admin-storefront-form {
  display: flex;
  flex-flow: column;
  gap: var(--store-padding-high);
}

.store-admin-storefront-form
.store-admin-toggle {
  max-width: 640px;
}

.store-admin-storefront-actions {
  align-items: center;
  display: flex;
  gap: var(--store-padding-high);
  justify-content: flex-end;
}

.store-admin-storefront-actions
.store-admin-form-status {
  margin-right: auto;
}

.store-admin-product-settings-header {
  margin-top: var(--store-padding-highest);
}

@media only screen and (max-width: 700px) {
  .store-category-menu {
    left: 0;
    min-width: min(23.5em, 100vw);
    width: min(23.5em, 100vw);
  }

  .store-admin-storefront-actions {
    align-items: stretch;
    flex-flow: column;
  }

  .store-admin-storefront-actions
  .store-admin-save {
    width: 100%;
  }
}

/* Store policy view */
html.store-policy-open,
body.store-policy-open {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.glam-main.store-policy-open > :not(.store-policy-detail) {
  display: none !important;
}

.store-policy-detail[hidden] {
  display: none !important;
}

.glam-main.store-policy-open > .store-policy-detail {
  background: var(--glam-background-color);
  box-sizing: border-box;
  color: var(--glam-color);
  display: block;
  height: calc(100vh - 100px);
  opacity: 1;
  margin: 0;
  min-height: calc(100vh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  scrollbar-gutter: stable;
  width: 100%;
}

.store-policy-article {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-flow: column;
  margin: 0 auto;
  max-width: 1050px;
  min-height: 100%;
  padding: clamp(70px, 8vh, 110px) 2.735rem 5rem;
  width: 100%;
}

.store-policy-article > :last-child {
  margin-bottom: 0;
}

.store-policy-header {
  border-bottom: 1px solid var(--glam-footer-border-color);
  display: flex;
  flex-flow: column;
  margin-bottom: var(--store-padding-highest);
}

.store-policy-header h1 {
  align-items: center;
  color: var(--glam-color);
  display: flex;
  flex-flow: column;
  font-family: var(--glam-heading-font-family);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: .15em;
  line-height: 1.1;
  margin: 0 0 var(--store-padding-highest);
  text-align: center;
}

.store-policy-header h1 sub {
  color: var(--glam-color-muted);
  font-family: inherit;
  font-size: .34em;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.5;
  margin-top: var(--store-padding-mid);
  position: static;
}

.store-policy-tabs {
  align-self: center;
  display: flex;
  flex-flow: row nowrap;
  gap: 0;
  justify-content: center;
  margin: 0 auto var(--store-padding-highest);
  width: fit-content;
}

.store-policy-tabs a {
  background: transparent;
  border: 1px solid var(--glam-footer-border-color);
  border-radius: 0;
  color: var(--glam-color-muted);
  font-family: var(--glam-heading-font-family);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .07em;
  margin-left: -1px;
  padding: var(--store-padding-mid) var(--store-padding-highest);
  text-decoration: none;
  transition: var(--glam-transition-faster);
}

.store-policy-tabs a:first-child {
  border-radius: 8px 0 0 8px;
  margin-left: 0;
}

.store-policy-tabs a:last-child {
  border-radius: 0 8px 8px 0;
}

.store-policy-tabs a:hover,
.store-policy-tabs a:focus-visible {
  background: color-mix(
    in srgb,
    var(--store-dark-blue) 7%,
    transparent
  );
  border-color: var(--store-dark-blue);
  color: var(--store-dark-blue);
}

.store-policy-tabs a[aria-selected="true"] {
  background: var(--store-dark-blue);
  border-color: var(--store-dark-blue);
  color: white;
}

.store-policy-content {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 52rem;
  padding-top: var(--store-padding-high);
}

.store-policy-content [data-policy-panel][hidden] {
  display: none;
}

.store-policy-content h2 {
  color: var(--glam-color);
  font-family: var(--glam-heading-font-family);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: .1em;
  margin: 0 auto var(--store-padding-high) auto;
  text-align: center;
}

.store-policy-content p {
  text-wrap: balance;
}

.store-policy-placeholder {
  color: var(--glam-color-muted);
  font-style: italic;
}

@media only screen and (max-width: 700px) {
  .store-policy-article {
    padding-left: var(--store-padding-high);
    padding-right: var(--store-padding-high);
  }

  .store-policy-tabs {
    align-items: stretch;
    flex-flow: row nowrap;
    gap: 0;
    justify-content: center;
    margin-bottom: var(--store-padding-high);
    max-width: 100%;
    width: fit-content;
  }

  .store-policy-tabs a {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
  }

  .store-policy-tabs a[aria-selected="true"] {
    border-color: var(--store-dark-blue);
  }
}
