body {
  background-image: url('background.png'); 
  background-color: #000000;
  background-size: cover;
  background-position: center top;
  /* Fixed background-attachment breaks mobile viewports */
  background-attachment: scroll;
  color: #e0e0e0;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 10px;
  margin: 0;
  padding: 0;
  cursor: default;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: #e61c24;
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
  touch-action: manipulation;
}

a:hover {
  color: #ff4d4d;
  text-decoration: underline;
}

/* Page Outer Wrapper */
.site-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.top-nav-emu, .music-nav-emu {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

/* TOP BAR 1: M8Space Royal Blue */
.top-nav-emu {
  background-color: #0042a5; 
  color: #ffffff;
  padding: 8px 15px;
  border-bottom: 1px solid #002b66;
}

.top-nav-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-nav-brand .brand-logo-link {
  display: flex;
  align-items: center;
}

.top-nav-brand .myspace-icon {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.top-nav-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
}

.top-nav-brand .brand-logo-text {
  color: #ffffff;
  font-weight: bold;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.5px;
  text-decoration: none;
  font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
}

.top-nav-tagline {
  color: #90c0ff;
  font-size: 10px;
  font-style: italic;
  font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
  margin-top: 3px;
  letter-spacing: 0.2px;
  line-height: 1;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  font-family: Verdana, Arial, sans-serif;
}

.top-nav-emu a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
  font-size: 11px;
}

.top-nav-emu a:hover {
  color: #90c0ff;
  text-decoration: underline;
}

/* Cart Icon & Badge Styling */
.cart-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  text-decoration: none;
}

.cart-icon {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  display: block;
  transition: opacity 0.2s ease;
}

.cart-nav-link:hover .cart-icon {
  opacity: 0.8;
}

#cart-count-badge {
  background: #002255;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  padding: 1px 6px;
  border-radius: 0;
  line-height: 1;
}

/* TOP BAR 2: M8Space Sub-Bar Blue */
.music-nav-emu {
  background-color: #003380; 
  color: #ffffff;
  padding: 6px 15px;
  border-bottom: 1px solid #002255;
  font-size: 10px;
}

.music-nav-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.music-nav-emu a {
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  text-decoration: underline;
}

.music-nav-emu a:hover {
  color: #90c0ff;
}

.music-nav-content .nav-category {
  text-decoration: none;
}

.music-nav-content .nav-category:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  background-color: transparent;
  padding: 0;
  box-sizing: border-box;
}

.main-header {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  background: transparent;
}

.header-logo-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0px 0px 8px rgba(230, 28, 36, 0.6));
}

/* Modernized Layout Grid (Replacing Floats) */
.main-layout {
  display: grid;
  grid-template-columns: 40% 58%;
  gap: 2%;
  background-color: transparent;
  border: none;
  padding: 0;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
}

.left-col, .right-col {
  width: 100%;
  box-sizing: border-box;
}

/* Content Boxes */
.box {
  background-color: #000000;
  border: 1px solid #330000;
  margin-bottom: 10px;
  font-size: 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.box h2, .box h3 {
  background-color: #d00000;
  color: #ffffff;
  margin: 0;
  padding: 4px 8px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #660000;
}

.box p {
  padding: 5px 10px;
  margin: 0;
}

.profile-info-box h2 {
  background-color: transparent;
  color: #ffffff;
  font-size: 14px;
  border: none;
  padding: 5px 10px;
}

.genres {
  color: #e61c24;
  font-weight: bold;
  font-style: italic;
  font-size: 10px;
}

.profile-main-photo {
  width: 100%;
  height: auto;
  border: 1px solid #e61c24;
  margin: 10px auto;
  display: block;
  box-sizing: border-box;
}

.profile-stats {
  font-size: 10px;
  line-height: 1.4;
  color: #aaaaaa;
}

.profile-links {
  text-align: center;
  color: #888888;
  font-weight: bold;
  padding: 5px 0 10px 0;
}

.contact-links {
  list-style: none;
  padding: 5px 10px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

/* Media Player Box */
.player-box {
  background: #000000;
  border: 2px solid #d00000;
  font-family: Verdana, Geneva, sans-serif;
  box-sizing: border-box;
}

.player-box h2 {
  background: #d00000;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 8px;
  text-transform: uppercase;
  border-bottom: 1px solid #660000;
  letter-spacing: 0.5px;
}

.player-controls {
  padding: 8px;
  background: #0a0a0a;
  border-bottom: 1px solid #222222;
}

.player-box .display-screen {
  background: #000000;
  border: 1px solid #333333;
  padding: 6px 8px;
  margin-bottom: 8px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.9);
}

.player-box .song-title {
  color: #ffffff;
  font-weight: bold;
  font-size: 11px;
  display: block;
  letter-spacing: 0.3px;
  font-family: Verdana, Arial, sans-serif;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.player-box .band-name {
  color: #888888;
  font-size: 9px;
  font-weight: normal;
  display: block;
  margin-top: 2px;
}

.player-box .status {
  color: #aaaaaa;
  font-size: 9px;
  font-style: italic;
  display: block;
  margin-top: 2px;
}

/* Control Buttons Container */
.control-buttons {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px; /* Keeps Play & Pause close together on the left */
}

/* Push only the last button (Fullscreen) to the far right */
.control-buttons button:last-child {
  margin-left: auto;
}

.control-buttons button, button, input[type="submit"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.control-buttons button {
  background: #d4d4d4;
  color: #000000;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #666666;
  border-bottom: 2px solid #666666;
  font-family: Verdana, sans-serif;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 6px;
  cursor: pointer;
}

.control-buttons button:hover {
  background: #ffffff;
  color: #e61c24;
}

.control-buttons button:active {
  border-top: 2px solid #666666;
  border-left: 2px solid #666666;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

/* Playlist Layout */
.playlist {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #000000;
}

.playlist li {
  padding: 6px 8px;
  color: #003380;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222222;
  background-color: #ffffff;
}

.playlist li:nth-child(even) {
  background-color: #f4f4f4;
}

.playlist li:last-child {
  border-bottom: none;
}

.playlist li:hover {
  background-color: #d00000;
  color: #ffffff;
}

.play-icon {
  font-size: 9px;
  color: #d00000;
  margin-right: 6px;
}

.playlist li:hover .play-icon {
  color: #ffffff;
}

.plays-count {
  font-size: 9px;
  color: #666666;
  font-weight: normal;
}

.playlist li:hover .plays-count {
  color: #ffffff;
}

/* Product Cards */
.products {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
}

.product-card {
  flex: 1;
  width: 100%;
  max-width: 100%;
  border: 1px solid #330000;
  padding: 10px;
  text-align: center;
  background: #000000;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.product-card img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid #d00000;
  margin-bottom: 8px;
  display: block;
}

.buy-btn, .submit-btn {
  background-color: #d00000;
  color: #ffffff;
  border: 1px solid #900000;
  font-family: Verdana, sans-serif;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 8px;
  cursor: pointer;
}

.buy-btn:hover, .submit-btn:hover {
  background-color: #ffffff;
  color: #d00000;
  border-color: #ffffff;
}

.shows-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
  border: 1px solid #330000;
  background-color: #000000;
}

.shows-table td {
  padding: 5px 8px;
  border: 1px solid #220000;
  color: #e0e0e0;
}

.shows-table tr:hover { background-color: #1a0000; }

textarea {
  width: calc(100% - 20px);
  margin: 10px;
  height: 60px;
  background-color: #0a0a0a;
  color: #e61c24;
  border: 1px solid #330000;
  box-sizing: border-box;
  font-family: Verdana, sans-serif;
  font-size: 10px;
}

.submit-btn { margin: 0 10px 10px 10px; }

.comments-display-list {
  margin-top: 15px;
  border-top: 1px dashed #330000;
  padding-top: 10px;
  max-height: 400px;
  overflow-y: auto;
}

.single-comment {
  background: #000000;
  border: 1px solid #330000;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  background-color: #0a0a0a;
  color: #e61c24;
  border-bottom: 1px solid #330000;
  padding: 4px;
  margin-bottom: 6px;
}

.comment-header .comment-author { font-weight: bold; }
.comment-header .comment-date { color: #888888; font-size: 10px; }
.comment-body { font-size: 11px; color: #cccccc; white-space: pre-wrap; word-break: break-word; }

/* Modal Overlays Dynamic Viewport Height Fix */
.product-modal-overlay,
.comment-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.product-modal-overlay.active,
.comment-modal-overlay.active {
  display: flex;
}

.comment-modal {
  background: #000000;
  border: 2px solid #d00000;
  width: 320px;
  padding: 15px;
  font-family: Verdana, sans-serif;
  box-sizing: border-box;
}

.comment-modal h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #d00000;
  font-size: 12px;
  text-transform: uppercase;
  border-bottom: 1px solid #330000;
  padding-bottom: 5px;
}

.comment-modal input, .comment-modal textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0a0a0a;
  color: #e61c24;
  border: 1px solid #330000;
  padding: 8px;
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 10px;
}

.comment-modal textarea { height: 80px; resize: vertical; }

.comment-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.comment-modal-buttons button {
  min-width: 80px;
  padding: 4px 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: bold;
  background-color: #1a0000;
  color: #ffffff;
  border: 1px solid #660000;
}

.comment-modal-buttons button.post-btn {
  background: #d00000;
  color: #ffffff;
  border: 1px solid #900000;
}

.comment-modal-buttons button.post-btn:hover {
  background: #ffffff;
  color: #d00000;
}

/* Page Views */
.page-view { display: none; }
.page-view.active { display: block; }

.merch-landing-container {
  background-color: transparent;
  padding: 0;
  margin-top: 10px;
  width: 100%;
}

.merch-large-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.merch-large-card {
  border: 1px solid #330000;
  padding: 10px;
  text-align: center;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
}

.merch-large-card img,
.merch-large-img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid #d00000;
  margin-bottom: 8px;
  display: block;
}

.merch-large-card h4 {
  margin: 8px 0 4px 0;
  font-size: 14px;
}

.merch-large-card .merch-price {
  margin: 0 0 12px 0;
  font-size: 12px;
  color: #e61c24;
  font-weight: bold;
}

.buy-btn-large {
  width: 100%;
  padding: 6px 12px;
  margin-top: auto;
  margin-bottom: 4px;
  background-color: #d00000;
  color: #ffffff;
  border: 1px solid #900000;
  font-weight: bold;
  font-size: 10px;
  cursor: pointer;
}

.buy-btn-large:hover {
  background-color: #ffffff;
  color: #d00000;
}

/* Cart Drawer */
.cart-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9998;
}

.cart-drawer-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 340px;
  height: 100%;
  height: 100dvh;
  background: #000000;
  border-left: 2px solid #d00000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  font-family: Verdana, sans-serif;
  box-sizing: border-box;
}

.cart-drawer.open { right: 0; }

.cart-drawer-header {
  padding: 15px;
  border-bottom: 1px solid #330000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  margin: 0;
  color: #d00000;
  font-size: 12px;
  letter-spacing: 1px;
}

.close-cart-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.empty-cart-msg {
  color: #888888;
  font-size: 10px;
  text-align: center;
  margin-top: 20px;
}

.cart-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  background: #0a0a0a;
  padding: 10px;
  border: 1px solid #330000;
}

.cart-item-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 1px solid #330000;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.cart-item-title {
  font-size: 11px;
  font-weight: bold;
  color: #fff;
}

.cart-item-price {
  font-size: 10px;
  color: #e61c24;
  font-weight: bold;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.qty-controls button {
  background: #1a0000;
  color: #e61c24;
  border: 1px solid #330000;
  width: 20px;
  height: 20px;
  font-size: 10px;
  cursor: pointer;
}

.qty-controls span { font-size: 10px; }

.cart-drawer-footer {
  padding: 15px;
  border-top: 1px solid #330000;
  background: #000000;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
}

#cart-total-price { color: #e61c24; }

.checkout-btn {
  width: 100%;
  background: #d00000;
  color: #ffffff;
  border: 1px solid #900000;
  padding: 8px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
  cursor: pointer;
}

.checkout-btn:hover {
  background: #ffffff;
  color: #d00000;
}

/* Full Shows Page Layout */
.shows-landing-box {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.shows-table-full {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.shows-table-full td {
  padding: 12px 15px;
  font-size: 12px;
  border: 1px solid #330000;
}

/* Product Zoom Wrapper */
.product-img-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.product-img-wrapper img,
.product-modal-content #modal-product-img {
  transition: transform 0.1s ease-out;
  transform-origin: center center;
}

.product-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.product-thumbs .thumb {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border: 1px solid #330000;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}

.product-thumbs .thumb:hover,
.product-thumbs .thumb.active {
  opacity: 1;
  border: 2px solid #d00000;
}

.cart-item-size {
  font-size: 10px;
  color: #888888;
}

/* Product Modal Layout */
.product-modal-content {
  width: 90%;
  max-width: 480px;
  max-height: 88vh;
  max-height: 88dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 20px;
  background: #000000;
  border: 2px solid #d00000;
  box-sizing: border-box;
  overflow-y: auto;
}

.product-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 5px;
  width: 100%;
}

.product-modal-body .product-img-wrapper {
  max-width: 100%;
  text-align: center;
}

.product-modal-content .merch-modal-img,
.product-modal-content #modal-product-img {
  width: 100% !important;
  max-width: 260px !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  object-fit: cover !important;
  border: 1px solid #d00000;
  background-color: #000000;
  display: block;
  margin: 0 auto;
}

.product-modal-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.product-modal-details h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.product-modal-details .price {
  font-weight: bold;
  font-size: 14px;
  color: #e61c24;
  margin-bottom: 4px;
}

/* Size Selector Styles */
.size-selector-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  width: 100%;
}

.size-label {
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  color: #888888;
  letter-spacing: 1px;
}

.size-options {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.size-btn {
  background: #0a0a0a;
  color: #e61c24;
  border: 1px solid #330000;
  min-width: 36px;
  height: 28px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-btn.active {
  background: #d00000;
  color: #ffffff;
  border: 1px solid #d00000;
}

#modal-product-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

#modal-product-thumbs .thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 1px solid #330000;
  cursor: pointer;
  opacity: 0.6;
}

#modal-product-thumbs .thumb:hover,
#modal-product-thumbs .thumb.active {
  opacity: 1;
  border: 2px solid #d00000;
}

.product-modal-content .close-cart-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 10;
  background: none;
  border: none;
  font-size: 24px;
  color: #ffffff;
  cursor: pointer;
}

.product-modal-content .buy-btn-large {
  max-width: 280px;
  margin-top: 10px;
}

/* Responsive Overrides */
@media (max-width: 650px) {
  .site-wrapper {
    width: 100%;
    padding: 0;
  }

  .top-nav-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav-links {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    margin-top: 5px;
  }

  .main-layout {
    display: flex;
    flex-direction: column;
  }

  .left-col,
  .right-col {
    width: 100%;
  }

  .profile-info-box { order: 1; }
  .player-box       { order: 2; }
  .merch-grid-box   { order: 3; }
  .shows-box        { order: 4; }
  .comment-box      { order: 5; }
  .contact-box      { order: 6; }

  .box {
    width: 100%;
    margin-bottom: 15px;
    font-size: 11px;
  }

  .box h2, .box h3 {
    font-size: 11px;
    padding: 4px 6px;
  }

  .box p {
    font-size: 11px;
    padding: 6px 8px;
  }

  .control-buttons button {
    padding: 4px 8px;
    font-size: 10px;
  }

  .playlist li {
    padding: 6px 4px;
    font-size: 10px;
  }

  .products {
    flex-direction: column;
    gap: 15px;
    padding: 10px;
  }

  .merch-large-grid {
    grid-template-columns: 1fr;
  }

  .products .product-card img,
  .merch-large-card img,
  .merch-large-img {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto 8px auto !important;
  }

  .buy-btn, .submit-btn {
    padding: 6px 12px;
    font-size: 10px;
  }

  .shows-table td {
    padding: 6px;
    font-size: 10px;
  }

  .contact-links {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-links li a {
    display: block;
    padding: 6px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.05);
  }

  .product-modal-content {
    width: 92% !important;
    max-width: 340px !important;
    max-height: 85dvh !important;
    overflow-y: auto !important;
    padding: 14px !important;
    box-sizing: border-box !important;
  }

  .product-modal-content .merch-modal-img,
  .product-modal-content #modal-product-img {
    width: 100% !important;
    max-width: 200px !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
    object-fit: cover !important;
  }

  .product-modal-details {
    gap: 6px !important;
    margin-top: 8px !important;
  }

  .product-modal-details h3 {
    font-size: 13px !important;
  }

  .product-modal-details .price {
    font-size: 12px !important;
  }

  .size-btn {
    min-width: 32px !important;
    height: 26px !important;
    font-size: 10px !important;
    padding: 0 4px !important;
  }

  #modal-product-thumbs .thumb {
    width: 36px !important;
    height: 36px !important;
  }

  .product-modal-content .buy-btn-large {
    max-width: 100% !important;
    padding: 6px !important;
    font-size: 10px !important;
  }
}