/* =====================================================================
   GeoShred Studio Store — page-specific styles
   Sourced from:
     - geoshred-studio-store-wordpress-post.html (inline <style> block)
     - additionalCSS.css lines 760-1111 (.geoshred-store rules)
   Astra/WordPress-specific rules (.ast-*, .page-id-*, .entry-content,
   margin-left: calc(-50vw…) breakout hacks) have been stripped.
   ===================================================================== */

/* ----- YouTube thumbnail / lightbox (from inline <style>) ----- */
.youtube-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    cursor: pointer;
    background: #000;
}
.youtube-thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.youtube-thumbnail-wrapper::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 48px;
    height: 34px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path fill="%23f00" fill-opacity="0.8" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"></path><path fill="%23fff" d="M 45,24 27,14 27,34"></path></svg>') no-repeat;
    background-size: contain;
    pointer-events: none;
    transition: all 0.3s;
}
.youtube-thumbnail-wrapper:hover::after {
    transform: scale(1.1);
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path fill="%23f00" fill-opacity="1" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"></path><path fill="%23fff" d="M 45,24 27,14 27,34"></path></svg>') no-repeat;
    background-size: contain;
}
.youtube-thumbnail-wrapper.playing::after {
    display: none;
}

/* ----- Hero section (from inline <style>) ----- */
.gss-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 0;
    background-color: #1a1a2e;
}
@keyframes gss-ken-burns {
    0%   { transform: scale(1.0) translateZ(0); }
    50%  { transform: scale(1.15) translateZ(0); }
    100% { transform: scale(1.0) translateZ(0); }
}
.gss-hero::before {
    content: "";
    display: block;
    position: absolute;
    top: -5%;
    left: -5%;
    right: -5%;
    bottom: -5%;
    z-index: 1;
    background-image: url(https://img.youtube.com/vi/5vsszeWxYOI/maxresdefault.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: gss-ken-burns 12s ease-in-out infinite;
    will-change: transform;
}
.gss-hero__video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.gss-hero__video-wrap.playing {
    opacity: 1;
}
.gss-hero__video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.gss-hero::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(10,10,30,0.8) 0%, rgba(10,10,30,0.55) 45%, rgba(10,10,30,0.25) 100%);
}
.gss-hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5.75rem 2rem 0.25rem;
    max-width: 820px;
    color: #fff !important;
}
.gss-hero__icon-wrap {
    margin-bottom: 0.2rem;
}
.gss-hero__icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.gss-hero .gss-hero__headline,
h1.gss-hero__headline,
.gss-hero__headline {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem) !important;
    white-space: nowrap;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0 0 0.25rem 0 !important;
    padding: 0 !important;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.gss-hero__subheadline {
    font-size: clamp(0.85rem, 1.6vw, 1rem) !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    margin: 0 0 0.3rem 0 !important;
    color: #f0f0f0 !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    max-width: 680px;
}
.gss-hero__proof {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    color: #ddd !important;
}
.gss-hero__stars {
    color: #ffb800 !important;
    font-size: 1rem;
    letter-spacing: 2px;
}
.gss-hero__proof-text {
    color: #ccc !important;
    font-style: italic;
}
.gss-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.3rem;
}
.gss-hero__cta-buy {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background: #ff3c00 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 0.55rem 1.4rem !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(255,60,0,0.35);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.gss-hero__cta-buy span[data-fsc-item-price] {
    font-weight: 400;
    opacity: 0.9;
}
.gss-hero__cta-buy:hover {
    background: #ff5622 !important;
    transform: translateY(-1px);
}
.gss-hero__cta-watch {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 0.55rem 1.3rem !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
    backdrop-filter: blur(4px);
}
.gss-hero__cta-watch:hover {
    background: rgba(255,255,255,0.22) !important;
    border-color: rgba(255,255,255,0.5) !important;
}
.gss-hero__play-icon {
    font-size: 1.2em;
}
.gss-hero__features {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}
.gss-hero__pill {
    display: inline-block !important;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-size: 0.82rem;
    color: #bbb !important;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .gss-hero__content { padding: 1rem; }
    .gss-hero__features { gap: 0.4rem; }
    .gss-hero__pill { font-size: 0.75rem; padding: 0.25rem 0.65rem; }
}
@media (max-width: 480px) {
    .gss-hero__content { padding: 0.75rem; }
    .gss-hero__ctas { flex-direction: column; width: 100%; }
    .gss-hero__cta-buy, .gss-hero__cta-watch { width: 100%; justify-content: center; }
}

/* ----- Store container (from additionalCSS.css) ----- */
.geoshred-store {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  background-color: #000;
  color: white;
}

.geoshred-store *,
.geoshred-store a,
.geoshred-store p,
.geoshred-store h1,
.geoshred-store h2,
.geoshred-store h3,
.geoshred-store h4,
.geoshred-store h5,
.geoshred-store h6 {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: white !important;
}

.geoshred-store h1 {
  font-size: 2em !important;
}

/* Navigation container at top */
.geoshred-store .navigation-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.geoshred-store .navigation-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex: 1;
}
.geoshred-store .navigation-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.geoshred-store .navigation-item:hover {
  transform: scale(1.05);
}

/* Center store name/logo */
.geoshred-store .centerStoreName {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  height: 60px;
  max-width: 368px;
}

/* Main store container (4-column grid for instruments) */
.geoshred-store .meta-store-container {
  background-image: linear-gradient(dimgrey, black);
  padding: 10px 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 20px auto;
}
.geoshred-store .store-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
}

/* Video card for each product */
.geoshred-store .video-card {
  background-color: transparent;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
}
.geoshred-store .video-title {
  text-align: left;
  padding: 5px;
  font-size: 14px;
  font-weight: bold;
  background-color: #000;
  color: white !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
}
.geoshred-store .video-card iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

/* Button container for buy buttons */
.geoshred-store .button-container {
  width: 90%;
  border: none;
  background-color: transparent;
  padding: 0;
  text-align: left;
  margin: 10px 0 0;
}

/* Merch/Collections container (6-column grid) */
.geoshred-store .meta-merch-container {
  background-image: linear-gradient(dimgrey, black);
  padding: 10px 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 20px auto;
}
.geoshred-store .merch-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-items: center;
}
.geoshred-store .merch-video-card {
  background-color: transparent;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
}
.geoshred-store .merch-video-title {
  text-align: left;
  padding: 0px;
  font-size: 14px;
  font-weight: bold;
  background-color: #000;
  color: white !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
}
.geoshred-store .merch-video-card iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
.geoshred-store .merch-button-container {
  width: 75%;
  border: none;
  background-color: transparent;
  padding: 0;
  text-align: left;
  margin: 10px 0 0;
}

/* Boxed content for special sections */
.geoshred-store .boxed-content {
  border: 2px solid #fff;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.8);
  max-width: 800px;
  margin: 20px auto;
  color: white !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
}

/* Span container for full-width items */
.geoshred-store .meta-span-container {
  background-image: linear-gradient(dimgrey, black);
  padding: 10px 10px 0px 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 20px auto;
}
.geoshred-store .span-container {
  display: flex;
  align-items: flex-start;
  margin: 20px auto;
  width: 100%;
  color: white !important;
}
.geoshred-store .span-video {
  flex: 1;
  margin-right: 20px;
}
.geoshred-store .span-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
}
.geoshred-store .span-details {
  flex: 2;
  display: flex;
  flex-direction: column;
}
.geoshred-store .span-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: white !important;
}
.geoshred-store .span-description {
  margin-bottom: 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: white !important;
}
.geoshred-store .span-button-container {
  width: 35%;
  border: none;
  background-color: transparent;
  padding: 0;
  text-align: left;
  margin: 10px 0 0;
}

/* Buy button styling */
.geoshred-store .buttonClassBuy,
.geoshred-store .buttonClassPurchased,
.geoshred-store .wp-block-button__link,
.geoshred-store .button-container a,
.geoshred-store .merch-button-container a,
.geoshred-store .span-button-container a {
  background-color: #ff3c00 !important;
  color: white !important;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: auto;
  text-decoration: none !important;
  line-height: normal;
  display: inline-block;
  box-sizing: border-box;
  text-align: center;
  font-weight: 600;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
}
.geoshred-store .wp-block-button__link:hover,
.geoshred-store .buttonClassBuy:hover,
.geoshred-store .button-container a:hover,
.geoshred-store .merch-button-container a:hover,
.geoshred-store .span-button-container a:hover {
  background-color: #ff5622 !important;
}

/* Purchased button */
.geoshred-store .mfs-purchased-button,
.geoshred-store .button-container a.mfs-purchased-button,
.geoshred-store .merch-button-container a.mfs-purchased-button,
.geoshred-store .span-button-container a.mfs-purchased-button {
  background-color: #007bff !important;
}
.geoshred-store .mfs-purchased-button:hover,
.geoshred-store .button-container a.mfs-purchased-button:hover,
.geoshred-store .merch-button-container a.mfs-purchased-button:hover,
.geoshred-store .span-button-container a.mfs-purchased-button:hover {
  background-color: #0056b3 !important;
}

/* Floating video popup */
.geoshred-store #floating-video-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  padding: 20px;
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.geoshred-store .floating-video-content {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  z-index: 1001;
}
.geoshred-store #floating-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  z-index: 1002;
}
.geoshred-store .close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white !important;
  font-size: 30px;
  cursor: pointer;
  z-index: 1003;
}
.geoshred-store .hidden {
  display: none;
}

/* Responsive design */
@media (max-width: 1024px) {
  .geoshred-store .store-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .geoshred-store .merch-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .geoshred-store .store-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .geoshred-store .merch-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .geoshred-store .navigation-container {
    flex-direction: column;
  }
  .geoshred-store .span-container {
    flex-direction: column;
  }
  .geoshred-store .span-video {
    margin-right: 0;
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .geoshred-store .store-container {
    grid-template-columns: 1fr;
  }
  .geoshred-store .merch-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
