/* ===========================
   CHOCOLATE COVERED RECORDS
   60s Garage/Power Pop Aesthetic
   FUNKY & FUN VERSION!
   =========================== */

/* CSS Custom Properties */
:root {
  /* Transition durations */
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;

  /* Common transforms */
  --transform-lift: translate(-2px, -2px);
  --transform-lift-rotate: rotate(-2deg);
  --transform-press: translate(2px, 2px);
  --transform-press-small: translate(1px, 1px);
  --transform-tilt-left: rotate(-3deg);
  --transform-tilt-right: rotate(3deg);
}

/* Utility Classes */
/*
 * hover-animation class
 * Single class for all hover animations with rotation.
 * Provides consistent transform-origin, transition, and rotation behavior.
 * Usage: Add "hover-animation" class to buttons, images, links, etc.
 * Example: <button class="cta-button hover-animation">Click me</button>
 */
.hover-animation {
  display: inline-block !important;
  transform-origin: center center !important;
  transition: all var(--transition-fast) ease !important;
}

.hover-animation:hover {
  transform-origin: center center !important;
  transform: var(--transform-lift-rotate) !important;
  box-shadow: 8px 8px 0px rgba(0,0,0,0.3);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background: linear-gradient(135deg, #e5f5ff 0%, #f5e5ff 25%, #e5f5ff 50%, #f5e5ff 75%, #f5e5ff 100%);
  background-size: 400% 400%;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Main Container */
.container,
.container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem !important;
  background-color: transparent !important;
}

/* Typography */
h1 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2rem 0 1rem 0;
  line-height: 1.1;
  background: linear-gradient(45deg, #ff006e, #fb5607, #ffbe0b, #8338ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 3px 3px 0px rgba(0,0,0,0.1);
}

h2 {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin: 1.5rem 0 0.75rem 0;
  text-transform: uppercase;
  color: #ff006e;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
  color: #8338ec;
}

/* A page's h1 that keeps the look of an h2 or h3 */
h1.h2-style,
h1.h3-style {
  line-height: inherit;
  background: none;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentcolor;
  background-clip: border-box;
}

h1.h2-style {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin: 1.5rem 0 0.75rem 0;
  text-transform: uppercase;
  color: #ff006e;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

h1.h3-style {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: normal;
  margin: 1rem 0 0.5rem 0;
  text-transform: none;
  color: #8338ec;
  text-shadow: none;
}

/* Read by search engines and screen readers but not shown */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Honeypot controls for bots: rendered (bots often skip display: none) but invisible and unclickable
   for people. Pair with tabindex="-1" and aria-hidden="true" so keyboards and screen readers skip it. */
.bot-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.7;
  font-family: Georgia, 'Times New Roman', serif;
}

/* Links */
a {
  color: #fb5607;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  border-bottom: 3px solid #fb5607;
}

a:hover {
  color: #ff006e;
  border-bottom-color: #ff006e;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

a:visited {
  color: #8338ec;
  border-bottom-color: #8338ec;
}

p {
  font-family: inherit;
  font-style: inherit;
  line-height: inherit;
  margin: 0 0 0.5rem 0;
}

/* Header Navigation */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 1rem 2rem;
  position: relative;
}

.site-title {
  margin: 0;
}

/* Logo is drawn as the link's background; keep the title text for accessibility but hide it visually */
.site-title a {
  display: block;
  width: 210px;
  max-width: 100%;
  height: 175px;
  background: url("/ccr_logo_black_clear.png") center / contain no-repeat;
  overflow: hidden;
  text-indent: -9999px;
  border: none;
}

.site-nav {
  text-align: center;
}

.site-nav-item {
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.75rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
}

.site-nav-item a {
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  background-color: #fff;
  color: #1a1a1a;
  border: 4px solid #1a1a1a;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
  display: inline-block;
  border-bottom: 4px solid #1a1a1a;
}

.site-nav-item a:hover {
  box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
  background-color: #ffbe0b;
}

/* Header Styling */
.bg-primary {
  background: linear-gradient(135deg, #ffbe0b 0%, #fb5607 50%, #ff006e 100%) !important;
  color: #fff !important;
}

.text-white {
  color: #fff !important;
}

.text-center {
  text-align: center;
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin: 0 0 2rem 0;
  padding: 1.5rem;
  border: 4px solid #1a1a1a;
  background-color: #fff;
  box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
}

li:last-child {
  margin-bottom: 0;
}

/* Plain Lists: no boxed items */
ul.plain-list {
  margin: 0 0 1rem 0;
}

ul.plain-list li {
  margin: 0 0 0.5rem 0;
  padding: 0;
  border: none;
  background-color: transparent;
  box-shadow: none;
}

/* Navigation Lists */
ul.nav-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
  flex-wrap: wrap;
}

ul.nav-list li {
  border: 4px solid #1a1a1a;
  margin: 0;
  padding: 0.75rem 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #06ffa5;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
  cursor: pointer;
}

ul.nav-list li:hover {
  background-color: #ffbe0b;
  box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
}

ul.nav-list li.current,
ul.nav-list li.current:hover {
  background-color: #1a1a1a;
  color: #06ffa5;
  transform: var(--transform-press);
  box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
  cursor: default;
}

/* The link fills the whole box so clicks on the padding still navigate */
ul.nav-list li:has(> a) {
  padding: 0;
}

ul.nav-list li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #1a1a1a;
  border: none;
  text-decoration: none;
}

ul.nav-list li a:hover {
  transform: none;
  text-shadow: none;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 0;
}

/* Sections */
section {
  margin: 3rem 0;
  padding: 2rem;
  border: 5px solid #1a1a1a;
  background-color: #fff;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
}

section:first-child {
  margin-top: 0;
}

section h2,
section h1.h2-style {
  margin-top: 0;
}

/* Homepage Grid Layout - Side by Side */
.homepage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 0;
}

.homepage-grid section {
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  box-shadow: none;
}

.homepage-grid section h2 {
  margin-bottom: 2rem;
}

.homepage-grid .recent-news,
.homepage-grid .featured-products {
  height: 100%;
}

/* Product Display */
/* Shared container styles */
.product-item,
.containerItem {
  margin: 1rem 0;
  padding: 1rem;
  border: 5px solid #1a1a1a;
  background: linear-gradient(135deg, #fff 0%, #fff5e5 100%);
  box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
  overflow: auto;
}

.product-item:first-of-type,
.containerItem:first-of-type {
  margin-top: 0;
}

.product-item:last-of-type,
.containerItem:last-of-type {
  margin-bottom: 0;
}

.product-item-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.product-item-top h3 {
  margin-top: 0;
  flex-shrink: 0;
}

.product-item-top h3 a {
  border-bottom: none;
  text-decoration: none;
}

.containerItem h3,
.containerItem h1.h3-style {
  margin-top: 0;
}

.product-artists {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-item-info {
  flex: 1;
  min-width: 0;
}

.product-item-featured-description {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 3px solid #1a1a1a;
  font-style: italic;
  line-height: 1.6;
}

.product-item img,
.product-item-top img {
  max-width: 170px;
  height: auto;
  display: block;
  margin: 0;
  border: 5px solid #1a1a1a;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}

.product-item img.hover-animation:hover,
.product-item-top img.hover-animation:hover {
  box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
}

.product-item.product-detail img,
.product-item.product-detail .product-item-top img {
  max-width: 500px;
}

/* Album MP3s */
.album-mp3s {
  margin: 2rem 0 0 0;
}

.album-mp3s h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.album-mp3s-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mp3-player {
  background: linear-gradient(135deg, #fff 0%, #e5f5ff 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 1rem;
}

.mp3-player-header {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1a1a1a;
}

.mp3-player-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mp3-player-content audio {
  flex: 1;
  min-width: 0;
}

.mp3-download-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #0891b2;
  color: white;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.mp3-download-link:visited {
  color: white;
  border-bottom: 3px solid #1a1a1a;
}

.mp3-download-link:hover {
  color: white;
  border-bottom: 3px solid #1a1a1a;
}

/* Products Grid Layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.product-tile {
  border: 5px solid #1a1a1a;
  background: linear-gradient(135deg, #fff 0%, #fff5e5 100%);
  box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-tile img {
  width: 100%;
  max-width: 170px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border: 5px solid #1a1a1a;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-tile img:hover {
  transform: scale(1.05);
  box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
}

.product-tile h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.product-tile-artists {
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
  font-style: italic;
  color: #333;
}

.product-tile a {
  border-bottom: none;
  text-decoration: none;
}

/* Artists Grid Layout */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.artist-tile {
  border: 5px solid #1a1a1a;
  background: linear-gradient(135deg, #fff 0%, #fff5e5 100%);
  box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.artist-tile img {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border: 5px solid #1a1a1a;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artist-tile img:hover {
  transform: scale(1.05);
  box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
}

.artist-tile h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.artist-tile a {
  border-bottom: none;
  text-decoration: none;
}

/* Artist Detail Page */
.artist-detail {
  margin-bottom: 3rem;
}

.artist-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  border: 5px solid #1a1a1a;
  background: linear-gradient(135deg, #fff 0%, #fff5e5 100%);
  box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
}

.artist-header img {
  flex-shrink: 0;
  max-width: 356px;
  height: auto;
  border: 5px solid #1a1a1a;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}

.artist-info {
  flex: 1;
  min-width: 0;
}

.artist-info h1 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.artist-description {
  line-height: 1.6;
  margin-top: 1rem;
}

/* MP3s Grid */
.shuffle-player {
  border: 5px solid #1a1a1a;
  background: linear-gradient(135deg, #fff 0%, #e5f5ff 100%);
  box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
  padding: 1.5rem;
  margin: 2rem 0;
}

.shuffle-player h2 {
  margin-top: 0;
}

.shuffle-player-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Undo the global link underline border */
.shuffle-player-artwork a,
.shuffle-player-artwork a:hover,
.shuffle-player-artwork a:visited {
  display: block;
  border-bottom: none;
}

.shuffle-player-artwork img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  border: 5px solid #1a1a1a;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}

.shuffle-player-main {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Always two lines tall so the player keeps its size whatever the title length,
   with the title sitting at the bottom */
.shuffle-player-track {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  height: 2.8em;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #1a1a1a;
}

/* Longer titles are cut off with an ellipsis (the full title shows on hover) */
.shuffle-player-track-name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.shuffle-player-main audio {
  width: 100%;
}

.shuffle-player-buttons {
  display: flex;
  gap: 1rem;
}

.shuffle-player-button {
  min-width: 6.5rem; /* fits "Pause" so the button keeps its size when toggling from "Play" */
  text-align: center;
  padding: 0.5rem 1.25rem;
  background-color: #0891b2;
  color: white;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.shuffle-player-list {
  position: relative; /* offsetTop of items is measured from the list */
  flex: 1 1 260px; /* sits to the right of the player, wrapping below it on narrow screens */
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 12rem;
  overflow-y: auto;
  border: 3px solid #1a1a1a;
  background: #fff;
}

/* Undo the global boxed li style */
.shuffle-player-list li {
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  box-shadow: none;
}

.shuffle-player-list li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.shuffle-player-list-item {
  display: block;
  width: 100%;
  padding: 0.2rem 0.5rem;
  background: none;
  border: none;
  text-align: left;
  font: inherit;
  color: #1a1a1a;
  cursor: pointer;
}

.shuffle-player-list-item:hover {
  background-color: #e5f5ff;
}

.shuffle-player-list-item.is-current {
  background-color: #0891b2;
  color: white;
  font-weight: 700;
}

.shuffle-player-artwork[hidden] {
  display: none !important;
}

.mp3s-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.mp3-tile {
  border: 5px solid #1a1a1a;
  background: linear-gradient(135deg, #fff 0%, #e5f5ff 100%);
  box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.mp3-tile h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #1a1a1a;
}

.mp3-tile-album {
  margin-bottom: 0.5rem;
}

.mp3-tile-album img {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  border: 5px solid #1a1a1a;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp3-tile-album a:hover img {
  transform: scale(1.05);
  box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
}

.mp3-tile-album a {
  border-bottom: none;
}

.mp3-tile audio {
  width: 100%;
  max-width: 280px;
}

/* News Items */
.newsItemDate {
  font-size: 0.875rem;
  color: #fb5607;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0.5rem 0;
  font-weight: 700;
}

.newsImageLeft {
  float: left;
  margin: 0 1rem 1rem 0;
}

.newsImageLeft img {
  display: block;
}

.newsImageRight {
  float: right;
  margin: 0 0 1rem 1rem;
}

.newsImageRight img {
  display: block;
}

.containerItem a img.siteImage {
  border: 5px solid #1a1a1a;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}

.containerItem a img.siteImage:hover {
  box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
}

/* Footer */
footer,
.site-footer {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
}

footer ul,
.site-footer ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

footer li,
.site-footer li {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.site-footer .copyright {
  margin-top: 2rem;
  font-size: 0.875rem;
}

/* Forms */
form {
  max-width: 500px;
  margin: 2rem 0;
  padding: 2rem;
  border: 5px solid #1a1a1a;
  background-color: #fff;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
}

/* A form that is just a button, without the boxed form styling. */
form.bare-form {
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

label {
  display: block;
  margin: 1rem 0 0.25rem 0;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: #8338ec;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 4px solid #1a1a1a;
  background-color: #fffef5;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  margin: 0 0 1rem 0;
  transition: all var(--transition-fast) ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: #ff006e;
  background-color: #fff;
  box-shadow: 4px 4px 0px rgba(255, 0, 110, 0.3);
  transform: var(--transform-lift);
}

input[type="submit"],
button[type="submit"] {
  background-color: #ffbe0b;
  color: #1a1a1a;
  border: 4px solid #1a1a1a;
  padding: 1rem 2.5rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  background-color: #ff006e;
  color: #fff;
  transform: var(--transform-lift);
  box-shadow: 8px 8px 0px rgba(0,0,0,0.3);
}

input[type="submit"]:active,
button[type="submit"]:active {
  transform: var(--transform-press);
  box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

/* Small print below the main copy */
.fine-print {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #555;
}

/* A form that sits inline with text, without the boxed form styling. */
form.inline-form {
  display: inline;
  max-width: none;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

/* A form button (for actions that must POST) that looks like a standard link */
form.inline-form button.link-button,
form.inline-form button.link-button:hover,
form.inline-form button.link-button:active {
  background: none;
  border: none;
  border-bottom: 3px solid #fb5607;
  padding: 0;
  font: inherit;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: #fb5607;
  cursor: pointer;
  box-shadow: none;
  transform: none;
}

form.inline-form button.link-button:hover {
  color: #ff006e;
  border-bottom-color: #ff006e;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

/* Select Dropdowns */
select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #1a1a1a;
  background-color: #fff;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  margin: 0 0 1rem 0;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
}

select:focus {
  outline: none;
  border-color: #ff006e;
  box-shadow: 4px 4px 0px rgba(255, 0, 110, 0.3);
  transform: var(--transform-lift);
}

/* Sales Items Dropdown */
.sales-items-dropdown {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sales-items-dropdown select {
  width: 100%;
}

.sales-items-dropdown label {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #ff006e;
}

.add-to-cart-btn {
  margin-top: 0.5rem;
}

/* Sales Items List */
.sales-item-entry {
  margin: 1rem 0;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sales-item-entry:first-of-type {
  margin-top: 0;
}

.sales-item-header {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1a1a1a;
}

.sales-item-name {
  margin-right: 0.5rem;
}

.sales-item-catalog {
  color: #8338ec;
  font-family: 'Courier New', monospace;
}

.sales-item-details {
  display: grid;
  grid-template-columns: 60px auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.sales-item-price {
  font-size: 1.125rem;
  font-weight: 900;
  color: #ff006e;
}

.sales-item-cart {
  justify-self: end;
}

.sales-item-entry .mp3-download-notice {
  color: #00a36c;
  font-weight: 700;
  font-style: italic;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #00a36c;
}

/* Sales Item Type Icons */
.sales-item-type-icon {
  width: 50px;
  height: 50px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0.5rem 0;
}

.cassette-icon {
  background-image: url("/images/cassette_salesitem_icon.jpg");
}

.cd-icon {
  background-image: url("/images/cd_salesitem_icon.jpg");
}

.digital_download-icon {
  background-image: url("/images/digital_download_salesitem_icon.jpg");
}

.vinyl-icon {
  background-image: url("/images/vinyl_salesitem_icon.jpg");
}

.zine-icon {
  background-image: url("/images/zine_salesitem_icon.jpg");
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border: 4px solid #1a1a1a;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}

/* Tables (for product info) */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1rem 0;
  border: 4px solid #1a1a1a;
  background-color: #fff;
}

th,
td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 3px solid #1a1a1a;
}

th {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  background-color: #06ffa5;
  color: #1a1a1a;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background-color: #fffef5;
}

/* Horizontal Rules */
hr {
  border: none;
  border-top: 5px solid #1a1a1a;
  margin: 3rem 0;
  box-shadow: 0 5px 0px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .container,
  .container-fluid,
  main {
    padding: 0 1rem !important;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2,
  h1.h2-style {
    font-size: 1.5rem;
  }

  .site-header {
    padding: 1rem;
  }

  .site-nav-item {
    margin: 0.5rem 0.25rem;
  }

  .site-nav-item a {
    padding: 0.5rem 1rem;
  }

  ul.nav-list {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  ul.nav-list li {
    text-align: center;
  }

  footer ul,
  .site-footer ul {
    flex-direction: column;
    gap: 1rem;
  }

  li {
    padding: 1rem;
  }

  .containerItem,
  .product-item {
    padding: 1.5rem;
  }

  .product-item-top {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1rem;
  }

  .product-item-top h3 {
    margin-bottom: 0;
    max-width: 100%;
  }

  .product-item.product-detail img,
  .product-item.product-detail .product-item-top img {
    max-width: 100%;
  }

  .product-item-featured-description {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  /* Products grid responsive */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
  }

  .product-tile {
    padding: 1rem;
  }

  /* Artists grid responsive */
  .artists-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
  }

  .artist-tile {
    padding: 1rem;
  }

  /* Artist detail responsive */
  .artist-header {
    flex-direction: column;
    padding: 1.5rem;
  }

  .artist-header img {
    max-width: 100%;
  }

  /* Sales item grid stacks on mobile */
  .sales-item-details {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .sales-item-cart {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .sales-item-cart .cta-button {
    width: 100%;
    text-align: center;
  }

  /* Stack homepage grid on mobile and small tablets */
  .homepage-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .homepage-grid section {
    margin-bottom: 0;
  }

  /* MP3 player responsive */
  .mp3-player-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .mp3-player-content audio {
    width: 100%;
  }

  .mp3-download-link {
    width: 100%;
    text-align: center;
  }
}

/* Medium tablets - still stack */
@media (min-width: 769px) and (max-width: 900px) {
  .homepage-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Tablet responsive design - two columns */
@media (min-width: 901px) and (max-width: 1024px) {
  .homepage-grid {
    gap: 1.5rem;
  }

  main {
    padding: 1.5rem;
  }

  section {
    padding: 1.5rem;
  }
}

/* Large screen optimization */
@media (min-width: 1025px) {
  .homepage-grid {
    gap: 3rem;
  }

  main {
    padding: 3rem;
  }
}

/* Utility Classes */
.mt-5 {
  margin-top: 0 !important;
}

.p-5 {
  padding: 2rem !important;
}

/* Layout Utilities */
.row {
  display: block;
  margin: 0 !important;
}

.col-sm-4 {
  width: 100%;
  padding: 0 !important;
}

/* Special Styling for Record Label Aesthetic */
.genre-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.25rem 0.25rem 0.25rem 0;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 3px solid #1a1a1a;
  background-color: #06ffa5;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.genre-tag:hover {
  transform: var(--transform-lift);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
  background-color: #ffbe0b;
}

.catalog-number {
  font-family: 'Courier New', monospace;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #8338ec;
  background-color: #fffef5;
  padding: 0.25rem 0.5rem;
  border: 2px solid #8338ec;
}

.price {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0.5rem 0;
  color: #ff006e;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

/* Play button / Call to action */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff006e 0%, #fb5607 100%);
  color: #fff;
  padding: 0.625rem 1.5rem;
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 4px solid #1a1a1a;
  box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
  font-size: 1rem;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.2);
  white-space: nowrap;
  cursor: pointer;
}

.cta-button:hover {
  background: linear-gradient(135deg, #ffbe0b 0%, #06ffa5 100%);
  color: #1a1a1a;
  box-shadow: 7px 7px 0px rgba(0,0,0,0.3);
  text-shadow: none;
  border-bottom: 4px solid #1a1a1a;
}

.cta-button:active {
  transform: var(--transform-press-small);
  box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

.cta-button:visited {
  color: #fff;
  border-bottom-color: #1a1a1a;
}

/* Out of Stock Button */
.out-of-stock-btn {
  background: linear-gradient(135deg, #999 0%, #666 100%);
  cursor: not-allowed;
  opacity: 0.6;
}

.out-of-stock-btn:hover {
  background: linear-gradient(135deg, #999 0%, #666 100%);
  color: #fff;
  box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
  transform: none;
}

.cta-button:disabled,
.cta-button.disabled {
  background: linear-gradient(135deg, #999 0%, #666 100%);
  cursor: not-allowed;
  opacity: 0.6;
}

.cta-button:disabled:hover,
.cta-button.disabled:hover {
  background: linear-gradient(135deg, #999 0%, #666 100%);
  color: #fff;
  box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
  transform: none;
}

/* Audio Player Styling */
audio {
  border: 4px solid #1a1a1a;
  border-radius: 0;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
  margin: 1rem 0;
}

/* Add some fun stickers/badges */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #ff006e;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
  transform: var(--transform-tilt-left);
  margin: 0.5rem;
}

/* Extra Fun Effects */
.wobble {
  animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Special highlight for featured items */
.featured {
  position: relative;
  border: 6px solid #1a1a1a;
  box-shadow: 12px 12px 0px rgba(0,0,0,0.3);
}

.featured::before {
  content: '★ FEATURED ★';
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: #ff006e;
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
  transform: var(--transform-tilt-right);
}

/* Vinyl record decoration */
.vinyl-decoration {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1a1a 30%, #ff006e 30%, #ff006e 32%, #1a1a1a 32%);
  display: inline-block;
  margin: 1rem;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Loading indicator: a small spinning record beside the loading text */
.loading-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.loading-indicator::before {
  content: '';
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* The off-center pink dot makes the rotation visible */
  background:
    radial-gradient(circle at 50% 22%, #ff006e 12%, transparent 13%),
    radial-gradient(circle, #1a1a1a 30%, #ff006e 30%, #ff006e 34%, #1a1a1a 34%);
  box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
  animation: spin 1s linear infinite;
}

/* Neon glow effect for special elements */
.neon-glow {
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #ff006e,
    0 0 40px #ff006e,
    0 0 80px #ff006e;
}

/* Prevent animations on mobile for performance */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Cart notification animation */
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Cart notification styles */
.cart-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #06ffa5;
  color: #1a1a1a;
  padding: 1rem 2rem;
  border: 4px solid #1a1a1a;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
  font-weight: 900;
  z-index: 9999;
  animation: slideIn 0.3s ease;
}

.cart-notification-fade {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Cart button in header */
.cart-container {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.cart-checkout-button {
  position: relative;
  background: #fff !important;
  color: #1a1a1a !important;
  padding: 0.5rem 1.25rem !important;
  border: 4px solid #1a1a1a !important;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.3) !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  display: inline-block;
  border-bottom: 4px solid #1a1a1a !important;
  text-decoration: none !important;
  cursor: pointer;
}

.cart-checkout-button:hover {
  background: #ffbe0b !important;
  color: #1a1a1a !important;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.3) !important;
}

.cart-count-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff006e;
  color: #fff;
  border: 3px solid #1a1a1a;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.5);
}

.cart-count-badge.empty {
  display: none;
}

.cart-count-badge:not(.empty) {
  transition: all 0.2s ease;
}

/* Responsive cart placement */
@media (max-width: 768px) {
  .cart-container {
    position: static;
    margin-top: 1rem;
  }
}

/* Cart Modal Styles */
.cart-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}

.cart-modal-open {
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cart-modal-content {
  background: #fff;
  border: 6px solid #1a1a1a;
  box-shadow: 12px 12px 0px rgba(0,0,0,0.5);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
  margin: 1rem;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cart-modal-header {
  padding: 1.5rem;
  border-bottom: 4px solid #1a1a1a;
  background: #ffbe0b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-modal-header h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-modal-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  min-height: 200px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8f8f8;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
  position: relative;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.cart-item-details {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #555;
  align-items: center;
}

.cart-item-price {
  font-weight: 600;
}

.cart-item-quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 3px solid #1a1a1a;
  padding: 0.25rem 0.5rem;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

.cart-item-quantity {
  font-weight: 700;
  font-size: 1rem;
  min-width: 2rem;
  text-align: center;
  color: #1a1a1a;
}

.quantity-btn {
  background: #ffbe0b;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  width: 24px;
  height: 24px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.quantity-btn:hover:not(:disabled) {
  background: #06ffa5;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

.quantity-btn:active:not(:disabled) {
  transform: var(--transform-press-small);
}

.quantity-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.cart-item-total {
  font-weight: 900;
  font-size: 1.25rem;
  color: #ff006e;
  margin: 0 1rem;
}

.cart-item-remove {
  background: #ff006e;
  color: #fff;
  border: 3px solid #1a1a1a;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

.cart-item-remove:hover {
  background: #d90057;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

.empty-cart-message {
  text-align: center;
  padding: 3rem 2rem;
  color: #666;
}

.empty-cart-message p {
  margin: 0.5rem 0;
  font-size: 1.125rem;
}

.empty-cart-message p:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-modal-footer {
  padding: 1.5rem;
  border-top: 4px solid #1a1a1a;
  background: #f8f8f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cart-total {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a1a1a;
}

.checkout-button {
  background: #06ffa5;
  color: #1a1a1a;
  border: 4px solid #1a1a1a;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

.checkout-button:hover:not(:disabled) {
  background: #05e094;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

.checkout-button:active:not(:disabled) {
  transform: var(--transform-press-small);
  box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

.checkout-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .cart-modal-content {
    width: 95%;
    max-height: 95vh;
    margin: 0.5rem;
  }

  .cart-modal-header {
    padding: 1rem;
  }

  .cart-modal-header h2 {
    font-size: 1.25rem;
  }

  .cart-modal-close {
    font-size: 2rem;
    width: 32px;
    height: 32px;
  }

  .cart-modal-body {
    padding: 1rem;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .cart-item-info {
    width: 100%;
  }

  .cart-item-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .cart-item-details {
    font-size: 0.8rem;
    flex-wrap: wrap;
  }

  .cart-item-quantity-controls {
    padding: 0.25rem 0.5rem;
    border-width: 2px;
  }

  .quantity-btn {
    width: 28px;
    height: 28px;
    font-size: 1.125rem;
  }

  .cart-item-quantity {
    min-width: 2.5rem;
  }

  .cart-item-total {
    font-size: 1.125rem;
    margin: 0;
    align-self: flex-end;
  }

  .cart-item-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
  }

  .cart-modal-footer {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .cart-total {
    font-size: 1.25rem;
    width: 100%;
    text-align: center;
  }

  .checkout-button {
    width: 100%;
    padding: 1rem;
  }

  .empty-cart-message {
    padding: 2rem 1rem;
  }

  .empty-cart-message p {
    font-size: 1rem;
  }

  .empty-cart-message p:first-child {
    font-size: 1.25rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .cart-modal-content {
    border-width: 4px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.5);
  }

  .cart-modal-header {
    border-width: 3px;
  }

  .cart-item {
    border-width: 2px;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
  }

  .cart-modal-footer {
    border-width: 3px;
  }
}

/* Order Summary Table */
table.order-summary {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1rem;
  border: none;
  background-color: #f9f9f9;
  padding: 1rem;
}

table.order-summary tbody {
  border: none;
  background-color: #f9f9f9;
}

table.order-summary tbody tr {
  border: none;
}

table.order-summary td {
  padding: 0.75rem 0;
  border: none;
}

table.order-summary td.item-name {
  text-align: left;
  width: 75%;
  word-break: break-word;
}

table.order-summary td.quantity {
  display: inline-block;
  margin-left: 0.5rem;
  color: #666;
  font-size: 0.95rem;
}

table.order-summary td.item-price,
table.order-summary td.amount {
  text-align: right;
  width: 25%;
  font-weight: 500;
}

table.order-summary tr.subtotal-row,
table.order-summary tr.shipping-row {
  font-size: 0.95rem;
  color: #666;
}

table.order-summary tr.subtotal-row {
  border-top: 2px solid #ddd;
  padding-top: 1rem;
}

table.order-summary tr.subtotal-row td {
  padding-top: 1rem;
}

table.order-summary tr.subtotal-row td.label,
table.order-summary tr.shipping-row td.label {
  text-align: left;
}

table.order-summary tr.total-row {
  font-size: 1.15rem;
  font-weight: bold;
  border-top: 2px solid #ddd;
}

table.order-summary tr.total-row td {
  padding: 1rem 0;
}

table.order-summary tr.total-row td.label {
  text-align: left;
}

table.order-summary tr.total-row td.amount {
  text-align: right;
}

/* Flash Messages */
.flash-container {
  width: 100%;
  display: block;
}

.flash {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 0 1rem 0;
  padding: 1.5rem;
  border-radius: 0.25rem;
  border-left: 4px solid;
  font-weight: 500;
  line-height: 1.5;
  box-sizing: border-box;
}

.flash-error {
  background-color: #f8d7da;
  border-left-color: #dc3545;
  color: #721c24;
}

.flash-notice {
  background-color: #d4edda;
  border-left-color: #28a745;
  color: #155724;
}

/* Not Found */
.not-found {
  text-align: center;
}

.not-found-mascot {
  display: block;
  height: 240px;
  margin: 0 auto 1.5rem;
  border: none;
  box-shadow: none;
}

.not-found-actions {
  margin-top: 2rem;
}
