:root {
  --font-body-family: "Rye", "CowboyWildwest", serif;
  --font-accent-family: "Roboto Slab", serif;
  --color-base-text: 0, 0, 0;
  --color-base-background-1: #e5e3d6;
  --color-base-background-2: #000000;
  --color-base-solid-button-labels: 255, 255, 255;
  --color-base-outline-button-labels: 0, 0, 0;
  --color-base-accent-1: 0, 0, 0;
  --page-width: 150rem;
  --grid-desktop-vertical-spacing: 12px;
  --grid-desktop-horizontal-spacing: 24px;
  --grid-mobile-vertical-spacing: 6px;
  --grid-mobile-horizontal-spacing: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-size: 1.5rem;
  letter-spacing: 0.06rem;
  line-height: calc(1 + 0.8 / 1);
  font-family: var(--font-body-family);
  font-weight: 400;
  color: rgb(var(--color-base-text));
  background-color: var(--color-base-background-1);
  background-image: url("../images/bg-wood2.jpg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  grid-template-columns: 100%;
}

@media screen and (min-width: 750px) {
  body {
    font-size: 1.6rem;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-width {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skip-to-content-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  background: #000;
  color: #fff;
  padding: 1rem 2rem;
}
.skip-to-content-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ============================================
   HEADER — Wood grain texture background
   ============================================ */
.header-wrapper {
  background-color: var(--color-base-background-1);
  background-image: url("../images/bg-wood2.jpg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header {
  display: grid;
  grid-template-areas: "left heading icons";
  grid-template-columns: 1fr 2.5fr 0.5fr;
  align-items: center;
  padding: 10px 2rem;
  max-width: var(--page-width);
  margin: 0 auto;
}

@media screen and (min-width: 990px) {
  .header {
    padding: 12px 2rem;
    grid-template-areas: "heading menu icons";
    grid-template-columns: 1fr 2.5fr 0.5fr;
  }
}

.header__left {
  grid-area: left;
}
.header__heading {
  grid-area: heading;
  text-align: center;
  margin: 0;
}
.header__heading-link {
  display: inline-block;
}
.header__heading-logo {
  max-width: 250px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.header__icons {
  grid-area: icons;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgb(var(--color-base-text));
  position: relative;
}

.header__icon svg {
  width: 2rem;
  height: 2rem;
}

.header__icon--menu .icon-close {
  display: none;
}
body.menu-open .header__icon--menu .icon-hamburger {
  display: none;
}
body.menu-open .header__icon--menu .icon-close {
  display: block;
}

.cart-count {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  background: #000;
  color: #fff;
  font-size: 1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent-family);
}

/* Inline Menu */
.header__inline-menu {
  display: none;
}
@media screen and (min-width: 990px) {
  .header__inline-menu {
    display: block;
    grid-area: menu;
  }
}

.list-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-menu--inline {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
}

.header__menu-item {
  display: inline-block;
  padding: 0.5rem 0;
  font-family: var(--font-body-family);
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: rgb(var(--color-base-text));
  position: relative;
  font-weight: 700;
}

.header__active-menu-item {
  border-bottom: 1px solid rgb(var(--color-base-text));
}

/* Mobile Menu Drawer */
.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-base-background-1);
  background-image: url("/assets/images/bg-wood2.jpg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
  z-index: 99;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding-top: 8rem;
}

body.menu-open .menu-drawer {
  transform: translateX(0);
}

.menu-drawer__inner {
  padding: 2rem;
}

.menu-drawer__menu {
  margin-bottom: 3rem;
}

.menu-drawer__menu-item {
  display: block;
  padding: 1.2rem 0;
  font-family: var(--font-body-family);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-drawer__menu-item--active {
  text-decoration: underline;
}

.menu-drawer__utility-links {
  padding-top: 2rem;
}

.desktop-only {
  display: none;
}
@media screen and (min-width: 990px) {
  .desktop-only {
    display: block;
  }
  .header__left {
    display: none;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: #000;
  background-image: url("/assets/images/bg-dark.jpg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
  color: #fff;
  margin-top: 0;
}

.footer__content-top {
  padding: 27px 0;
}

@media screen and (min-width: 750px) {
  .footer__content-top {
    padding: 36px 0;
  }
}

.footer__blocks-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media screen and (min-width: 750px) {
  .footer__blocks-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
  }
}

.footer-block--menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}
@media screen and (min-width: 750px) {
  .footer-block--menu ul {
    justify-content: flex-start;
  }
}

.footer-block--menu a {
  font-family: var(--font-body-family);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  color: #fff;
}

.footer-block-image {
  text-align: center;
}
.footer-block-image img {
  margin: 0 auto;
}

.footer-block--newsletter {
  text-align: center;
  margin-top: 2rem;
}

.footer__list-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.list-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: #fff;
}

.list-social__link svg {
  width: 1.8rem;
  height: 1.8rem;
}

.footer__content-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

.footer__content-bottom-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  font-family: var(--font-accent-family);
  font-size: 1.2rem;
  text-align: center;
}

.footer__copyright a {
  color: #fff;
  text-decoration: underline;
}

.copyright__content {
  margin-bottom: 0.5rem;
}

/* ============================================
   HERO / SLIDESHOW
   ============================================ */
.slideshow {
  position: relative;
  overflow: hidden;
}

.slideshow__slide {
  position: relative;
  width: 100%;
}

.slideshow__slide::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}

.slideshow__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slideshow__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow__text-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.slideshow__text-wrapper a {
  pointer-events: auto;
}

.slideshow__controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.slider-button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-button svg {
  width: 1.2rem;
  height: 1.2rem;
}

.slider-counter {
  color: #fff;
  font-family: var(--font-accent-family);
  font-size: 1.2rem;
}

/* ============================================
   TOUR DATES SECTION
   ============================================ */
.tour-dates-section {
  padding: 39px 0;
  background: transparent;
}

@media screen and (min-width: 750px) {
  .tour-dates-section {
    padding: 52px 0;
  }
}

.tour-dates__heading {
  text-align: center;
  margin-bottom: 3rem;
}

.tour-dates__title {
  font-family: var(--font-body-family);
  font-size: 3.2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin: 0;
}

/* ============================================
   PRODUCT GRID / SHOP
   ============================================ */
.shop-section {
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: var(--font-body-family);
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-mobile-vertical-spacing) var(--grid-mobile-horizontal-spacing);
}

@media screen and (min-width: 750px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-desktop-vertical-spacing)
      var(--grid-desktop-horizontal-spacing);
  }
}

@media screen and (min-width: 990px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.product-card__image-wrapper {
  position: relative;
  overflow: hidden;
  background: #f0eee3;
}

.product-card__image-wrapper::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.product-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__info {
  padding: 1.5rem 0;
}

.product-card__title {
  font-family: var(--font-body-family);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.product-card__price {
  font-family: var(--font-accent-family);
  font-size: 1.3rem;
  margin: 0 0 1rem;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #000;
  color: #fff;
  font-family: var(--font-body-family);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.button:hover {
  opacity: 0.85;
}

.button--secondary {
  background: transparent;
  color: #000;
  border: 1px solid #000;
}

.button--full {
  width: 100%;
}

/* ============================================
   SINGLE PRODUCT
   ============================================ */
.product-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 2rem;
}

@media screen and (min-width: 750px) {
  .product-main {
    grid-template-columns: 1fr 1fr;
  }
}

.product-main__image {
  width: 100%;
  background: #f0eee3;
}

.product-main__image img {
  width: 100%;
  height: auto;
}

.product-main__details h1 {
  font-family: var(--font-body-family);
  font-size: 2.4rem;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.product-main__price {
  font-family: var(--font-accent-family);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.product-main__description {
  font-family: var(--font-accent-family);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quantity-selector label {
  font-family: var(--font-body-family);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.quantity-selector input {
  width: 6rem;
  padding: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
  font-family: var(--font-accent-family);
  font-size: 1.4rem;
  text-align: center;
  background: transparent;
}

/* ============================================
   CART
   ============================================ */
.cart-section {
  padding: 4rem 2rem;
}

.cart-section h1 {
  font-family: var(--font-body-family);
  font-size: 2.8rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 3rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
}

.cart-table th {
  font-family: var(--font-body-family);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  text-align: left;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.cart-table td {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  vertical-align: top;
}

.cart-item__image {
  width: 10rem;
  height: 10rem;
  object-fit: cover;
  background: #f0eee3;
}

.cart-item__name {
  font-family: var(--font-body-family);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.cart-item__price {
  font-family: var(--font-accent-family);
  font-size: 1.3rem;
}

.cart-item__qty input {
  width: 5rem;
  padding: 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
  text-align: center;
  background: transparent;
  font-family: var(--font-accent-family);
}

.cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body-family);
  font-size: 1.2rem;
  text-transform: uppercase;
  text-decoration: underline;
}

.cart-totals {
  text-align: right;
  font-family: var(--font-accent-family);
  font-size: 1.6rem;
}

.cart-totals strong {
  font-family: var(--font-body-family);
  font-size: 1.8rem;
  text-transform: uppercase;
}

.cart-empty {
  text-align: center;
  padding: 6rem 0;
}
.cart-empty h2 {
  font-family: var(--font-body-family);
  font-size: 2.4rem;
  text-transform: uppercase;
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-section {
  padding: 4rem 2rem;
}

.checkout-section h1 {
  font-family: var(--font-body-family);
  font-size: 2.8rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 3rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media screen and (min-width: 750px) {
  .checkout-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.checkout-form label {
  display: block;
  font-family: var(--font-body-family);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: transparent;
  font-family: var(--font-accent-family);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.payment-methods {
  margin: 2rem 0;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
  cursor: pointer;
}

.payment-method:hover {
  border-color: #000;
}

.payment-method input {
  width: auto;
  margin: 0;
}

.payment-method label {
  font-family: var(--font-body-family);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin: 0;
  cursor: pointer;
}

.order-summary {
  background: rgba(0, 0, 0, 0.03);
  padding: 2rem;
}

.order-summary h3 {
  font-family: var(--font-body-family);
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.order-summary__item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-accent-family);
  font-size: 1.3rem;
}

.order-summary__total {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  font-family: var(--font-body-family);
  font-size: 1.5rem;
  text-transform: uppercase;
}

/* ============================================
   ORDER CONFIRMATION
   ============================================ */
.confirm-section {
  padding: 6rem 0;
  text-align: center;
}

.confirm-section h1 {
  font-family: var(--font-body-family);
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.confirm-section p {
  font-family: var(--font-accent-family);
  font-size: 1.5rem;
  margin-bottom: 3rem;
}

.qr-code {
  max-width: 200px;
  margin: 2rem auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.payment-instructions {
  background: rgba(0, 0, 0, 0.03);
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto 3rem;
  text-align: left;
}

.payment-instructions h3 {
  font-family: var(--font-body-family);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.payment-instructions p,
.payment-instructions pre {
  font-family: var(--font-accent-family);
  font-size: 1.3rem;
  line-height: 1.6;
}

/* ============================================
   CONTENT PAGES (About, Contact, etc.)
   ============================================ */
.content-page {
  padding: 4rem 2rem;
  max-width: 90rem;
  margin: 0 auto;
}

.content-page h1 {
  font-family: var(--font-body-family);
  font-size: 3rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 3rem;
}

.content-page h2 {
  font-family: var(--font-body-family);
  font-size: 2rem;
  text-transform: uppercase;
  margin: 2.5rem 0 1rem;
}

.content-page p,
.content-page li {
  font-family: var(--font-accent-family);
  font-size: 1.5rem;
  line-height: 1.7;
}

.content-page ul {
  padding-left: 2rem;
}

/* Discography */
.album-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media screen and (min-width: 750px) {
  .album-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 990px) {
  .album-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.album-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
}

.album-card h3 {
  font-family: var(--font-body-family);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin: 0;
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media screen and (min-width: 750px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-card {
  position: relative;
}

.video-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-card h3 {
  font-family: var(--font-body-family);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 1rem 0 0;
}

/* Tour */
.tour-list {
  max-width: 80rem;
  margin: 0 auto;
}

.tour-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tour-item__date {
  font-family: var(--font-body-family);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.tour-item__venue {
  font-family: var(--font-accent-family);
  font-size: 1.3rem;
  margin-top: 0.3rem;
}

/* Contact */
.contact-form {
  max-width: 60rem;
  margin: 0 auto;
}



/* ============================================
   ADMIN
   Mobile-first. Breakpoints: 480px, 768px (min-width).
   Every rule is scoped under .admin-body so nothing here
   can ever affect the storefront pages that share this file.
   ============================================ */

.admin-body {
  background: #f5f5f5;
  font-family: var(--font-body-family);
  width: 100%;
  max-width: 100vw;
}

/* ---------- Container ---------- */
.admin-container {
  max-width: 100vw;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  
}
@media (min-width: 768px) {
  .admin-container {
    padding: 3rem 2rem;
  }
}

/* Base Header Styles (Mobile View) */
.admin-header {
  background-color: #FAFAFF;
  padding: 1rem;
  display: flex;
  flex-direction: column; 
  gap: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  
  /* CRITICAL FIX: Force container to stay within the screen */
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.admin-header h1 {
  margin: 0;
  font-size: 3.5rem;
  text-align: center; 
}

/* Base Nav Styles (Swipeable on Mobile) */
.admin-nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;

  gap: 1rem;
  margin: 0;
  padding-bottom: 0.5rem;
  
  /* CRITICAL FIX: Constrain width so overflow triggers */
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; 
}

/* Navigation Links */
.admin-nav a {
  display: inline-block;
  white-space: nowrap; /* Forces links to stay on one line */
  padding: 0.5rem 1rem;
  color: #333333;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  background-color: #f5f5f5; 
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a:focus {
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
}

/* =========================================================
   TABLET & DESKTOP SCREENS (768px and up)
   ========================================================= */
@media (min-width: 768px) {
  .admin-header {
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }

  .admin-header h1 {
    text-align: left;
    margin-bottom: 0;
  }

  .admin-nav {
    overflow-x: visible; /* Turn off scrolling on desktop */
    padding-bottom: 0;
    justify-content: flex-end;
  }

  .admin-nav a {
    background-color: transparent; 
    padding: 0.5rem;
  }

  .admin-nav a:hover,
  .admin-nav a:focus {
    background-color: transparent;
    color: #000000;
    text-decoration: underline;
  }
}

/* ---------- Stats grid (dashboard) ----------
   Pair with: <div class="admin-stats-grid"> replacing the old
   inline style="display:grid;grid-template-columns:repeat(5,1fr)..." */
.admin-stats-grid {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 480px) {
  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
  }
}

/* ---------- Card ---------- */
.admin-card {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .admin-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
}

.admin-card h2 {
  font-family: var(--font-body-family);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .admin-card h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }
}

/* ---------- Table ---------- */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  min-width: 480px; /* legibility floor; .admin-card scrolls if the viewport is narrower */
}
@media (min-width: 768px) {
  .admin-table {
    font-size: 1.3rem;
    min-width: 0;
  }
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.7rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .admin-table th,
  .admin-table td {
    padding: 1rem;
    white-space: normal;
  }
}

.admin-table th {
  font-family: var(--font-body-family);
  font-size: 1.1rem;
  text-transform: uppercase;
  background: #f9f9f9;
}
@media (min-width: 768px) {
  .admin-table th {
    font-size: 1.2rem;
  }
}

/* ---------- Per-page column hiding (mobile only) ----------
   Each table needs its admin-table--* modifier class added —
   see the migration guide for which table gets which. */

/* Dashboard — Recent Orders: hide Payment (col 4) */
.admin-table--dashboard-orders th:nth-child(4),
.admin-table--dashboard-orders td:nth-child(4) {
  display: none;
}

/* Orders — All Orders: hide Payment (col 4) + redundant View link (col 7) */
.admin-table--orders-list th:nth-child(4),
.admin-table--orders-list td:nth-child(4),
.admin-table--orders-list th:nth-child(7),
.admin-table--orders-list td:nth-child(7) {
  display: none;
}

/* Products: hide ID (col 1) + Type (col 5) */
.admin-table--products th:nth-child(1),
.admin-table--products td:nth-child(1),
.admin-table--products th:nth-child(5),
.admin-table--products td:nth-child(5) {
  display: none;
}

/* Tours: hide Active (col 5) */
.admin-table--tours th:nth-child(5),
.admin-table--tours td:nth-child(5) {
  display: none;
}

/* Payments: hide ID (col 1) + Slug (col 3) */
.admin-table--payments th:nth-child(1),
.admin-table--payments td:nth-child(1),
.admin-table--payments th:nth-child(3),
.admin-table--payments td:nth-child(3) {
  display: none;
}

/* Videos: hide YouTube ID (col 3) + Featured (col 4) */
.admin-table--videos th:nth-child(3),
.admin-table--videos td:nth-child(3),
.admin-table--videos th:nth-child(4),
.admin-table--videos td:nth-child(4) {
  display: none;
}

/* Discography: hide Active (col 4) */
.admin-table--discography th:nth-child(4),
.admin-table--discography td:nth-child(4) {
  display: none;
}

@media (min-width: 768px) {
  .admin-table--dashboard-orders th, .admin-table--dashboard-orders td,
  .admin-table--orders-list th, .admin-table--orders-list td,
  .admin-table--products th, .admin-table--products td,
  .admin-table--tours th, .admin-table--tours td,
  .admin-table--payments th, .admin-table--payments td,
  .admin-table--videos th, .admin-table--videos td,
  .admin-table--discography th, .admin-table--discography td {
    display: table-cell;
  }
}

/* ---------- Status badges (unchanged from before) ---------- */
.status-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-paid { background: #d4edda; color: #155724; }
.status-shipped { background: #cce5ff; color: #004085; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-postponed { background: #fff3cd; color: #856404; }

/* ---------- Forms (covers both the .admin-form pages and the
   .form-group pages — one shared system, scoped by .admin-body) ---------- */
.admin-body label {
  display: block;
  font-family: var(--font-body-family);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.admin-body input[type="text"],
.admin-body input[type="url"],
.admin-body input[type="number"],
.admin-body input[type="date"],
.admin-body textarea,
.admin-body select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-family: var(--font-accent-family);
  font-size: 1.4rem; /* 16px+ avoids iOS auto-zoom on focus */
  margin-bottom: 1.2rem;
}
.admin-body textarea {
  min-height: 8rem;
}
@media (min-width: 768px) {
  .admin-body label {
    font-size: 1.2rem;
  }
  .admin-body input[type="text"],
  .admin-body input[type="url"],
  .admin-body input[type="number"],
  .admin-body input[type="date"],
  .admin-body textarea,
  .admin-body select {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  .admin-body textarea {
    min-height: 10rem;
  }
}

.admin-body .form-group {
  margin-bottom: 1.2rem;
}

/* Field-row grids — pair with admin-form-row(--2col|--3col) classes
   replacing the old inline style="display:grid;grid-template-columns:..." */
.admin-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .admin-form-row--2col {
    grid-template-columns: 1fr 1fr;
  }
  .admin-form-row--3col {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.admin-body .two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .admin-body .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ---------- Buttons ---------- */
.admin-body .btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-accent-family);
  font-size: 1.2rem;
}
.admin-body .btn-secondary { background: #666; }
.admin-body .btn-danger { background: #c00; }
.admin-body .btn--sm {
  padding: 0.3rem 0.7rem;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .admin-body .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* ---------- Messages ---------- */
.admin-body .success,
.admin-body .error {
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.admin-body .success { background: #d4edda; color: #155724; }
.admin-body .error { background: #f8d7da; color: #721c24; }

/* ---------- Small bits used on about.php / video.php / discography.php ---------- */
.admin-body .small,
.admin-body small {
  font-size: 1.2rem;
  color: #666;
}
.admin-body hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 1.5rem 0;
}
@media (min-width: 768px) {
  .admin-body hr {
    margin: 2rem 0;
  }
}

.admin-body .thumb {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 4px;
}
@media (min-width: 768px) {
  .admin-body .thumb {
    width: 6rem;
    height: 6rem;
  }
}
/* video.php previously used a larger 100px thumb — use this modifier there */
.admin-body .thumb--lg {
  width: 7rem;
  height: 7rem;
}
@media (min-width: 768px) {
  .admin-body .thumb--lg {
    width: 10rem;
    height: 10rem;
  }
}

.admin-body .preview-box,
.admin-body .image-preview {
  max-width: 15rem;
  max-height: 15rem;
  margin: 0.5rem 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}
.admin-body .preview-box img {
  width: 100%;
  height: auto;
  display: block;
}
.admin-body .file-input-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}
.admin-body .file-name {
  color: #666;
  font-size: 1.2rem;
}

/* ---------- Login ---------- */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.admin-login__box {
  background: #fff;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 40rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .admin-login__box {
    padding: 4rem;
  }
}
.admin-login__box h1 {
  font-family: var(--font-body-family);
  font-size: 2rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .admin-login__box h1 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
  }
}

.alert {
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.3rem;
}
.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* ============================================
   UTILITIES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 2rem;
}

.music-grid {
    padding: 3rem;
    
}

admin