/* Purple Monkey Balls — development theme */

:root {
  --pmb-purple: #9333ea;
  --pmb-purple-light: #c084fc;
  --pmb-black: #170c24;
}

body {
  background-color: var(--pmb-black);
}

.hero h1 strong,
.hero h2,
.section-title span {
  color: var(--pmb-purple-light);
}

.btn.red {
  background: var(--pmb-purple);
  border-color: var(--pmb-purple);
}

.btn.red:hover {
  background: #7e22ce;
}

a:hover {
  color: var(--pmb-purple-light);
}

.pmb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
}

.pmb-brand img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #a855f7;
}

@media (max-width: 600px) {
  .pmb-brand { font-size: 15px; }
  .pmb-brand img {
    width: 48px;
    height: 48px;
  }
}

/* Purple Monkey Balls homepage banner */
.hero {
  background:
    linear-gradient(90deg,
      rgba(18, 5, 30, 0.97) 0%,
      rgba(18, 5, 30, 0.82) 45%,
      rgba(18, 5, 30, 0.15) 100%),
    url('images/pmb-72990.jpg') center 35% / cover no-repeat !important;
  min-height: 490px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1,
.hero h2 {
  text-shadow: 0 3px 12px rgba(0,0,0,0.7);
}

@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(0deg,
        rgba(18,5,30,0.96),
        rgba(18,5,30,0.35)),
      url('images/pmb-72990.jpg') center / cover no-repeat !important;
    min-height: 540px;
  }
}

/* PMB — navigation and layout refinements */

.site-header {
  border-bottom: 2px solid #9333ea !important;
}

.site-header nav a.active,
.site-header nav a:hover {
  color: #c084fc !important;
  border-bottom-color: #9333ea !important;
}

.features {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100%;
}

.features > div {
  text-align: center;
  padding: 22px 12px;
}

#categories,
#about,
#products {
  padding: 45px 5%;
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr !important;
  }
}

/* PMB 12-category gallery */
#categories.pmb-collection {
  display: block;
  padding: 55px 5%;
  background: #11091b;
}
.pmb-collection h2 {
  color: white;
  text-align: center;
  margin-bottom: 30px;
}
.pmb-collection h2 span { color: #c084fc; }

.pmb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pmb-tile {
  overflow: hidden;
  border: 1px solid #7035a1;
  border-radius: 12px;
  background: #21122f;
}
.pmb-tile img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.pmb-tile h3 {
  color: white;
  padding: 16px 10px;
  text-align: center;
  margin: 0;
  font-size: 17px;
}
@media(max-width: 850px) {
  .pmb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 450px) {
  .pmb-grid { grid-template-columns: 1fr; }
}

/* PMB category artwork — show complete images */
.pmb-collection .pmb-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.pmb-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pmb-category-link:hover .pmb-tile {
    border-color: #c084fc;
    transform: translateY(-3px);
}

.pmb-category-link .pmb-tile {
    transition: transform .2s, border-color .2s;
}


/* Purple Monkey Balls About section */
.pmb-about {
  background: linear-gradient(135deg, #160820, #321047);
  padding: 65px 5%;
}

.pmb-about-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 65px;
  align-items: center;
}

.pmb-about-image img {
  width: 100%;
  border-radius: 50%;
  border: 3px solid #9333ea;
  box-shadow: 0 0 40px rgba(147,51,234,.25);
}

.pmb-about-text h2 {
  color: white;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.pmb-about-text h2 span {
  color: #c084fc;
}

.pmb-about-text p {
  color: #e5d4f0;
  font-size: 17px;
  line-height: 1.8;
}

@media (max-width: 750px) {
  .pmb-about-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .pmb-about-image {
    max-width: 230px;
    margin: auto;
  }
}


/* PMB Contact section and footer */
.pmb-contact-footer {
  background: #09050f;
  border-top: 2px solid #9333ea;
  color: white;
}

.pmb-contact-inner {
  max-width: 1200px;
  margin: auto;
  padding: 65px 5%;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 40px;
  align-items: center;
}

.pmb-contact-info h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.pmb-contact-info h2 span {
  color: #c084fc;
}

.pmb-contact-info p {
  color: #dcc9e8;
  line-height: 1.8;
}

.pmb-contact-brand {
  text-align: center;
}

.pmb-contact-brand img {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  border: 2px solid #9333ea;
  object-fit: cover;
}

.pmb-contact-brand h3 {
  font-size: 17px;
  margin-top: 15px;
}

.pmb-footer-bottom {
  border-top: 1px solid #39204e;
  padding: 22px 5%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #baa4cc;
  font-size: 13px;
}

.pmb-footer-bottom a {
  color: #c084fc;
  text-decoration: none;
}

@media(max-width: 700px) {
  .pmb-contact-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* PMB FOOTER LAYOUT FIX */

footer#contact.pmb-contact-footer {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

footer#contact .pmb-contact-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto !important;
    padding: 55px 5% !important;
}

footer#contact .pmb-contact-info {
    width: 100%;
    max-width: 650px;
    text-align: left !important;
}

footer#contact .pmb-contact-brand {
    width: 100%;
    text-align: center !important;
}

footer#contact .pmb-footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    width: 100%;
    padding: 20px 5% !important;
    margin: 0 !important;
    border-top: 1px solid #39204e;
}

footer#contact .pmb-footer-bottom p {
    margin: 0;
}

@media (max-width: 700px) {
    footer#contact .pmb-contact-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer#contact .pmb-contact-info {
        text-align: center !important;
    }

    footer#contact .pmb-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* PMB MOBILE NAVIGATION */
@media (max-width: 767px) {
  .site-header .pmb-mobile-menu {
    background: #170c24 !important;
    color: #ffffff !important;
    border-color: #7035a1 !important;
  }

  .site-header .pmb-mobile-menu .ff-chevron {
    color: #c084fc !important;
  }

  .site-header nav a.active,
  .site-header nav a:hover {
    color: #c084fc !important;
    border-left-color: #9333ea !important;
  }

  .site-header .pmb-brand {
    font-size: 15px;
  }
}


/* PMB MOBILE LAYOUT REFINEMENTS */
@media (max-width: 767px) {

  .site-header .header-links {
    display: none !important;
  }

  .site-header .topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .features {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .features > div {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px !important;
    min-height: 42px;
    color: #c084fc;
  }

  .features > div b {
    color: white;
    font-size: 12px;
  }

  .pmb-collection {
    padding-top: 35px !important;
  }
}
