/*
Theme Name: Blocksy Child
Description: Custom child theme for Blocksy
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child
*/

/* Thumbnail settings */
.single-product .ct-product-gallery-container .flexy-pills {
    --thumb-size: 72px;
    --thumb-gap: 10px;

    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* One scrollable row */
.single-product .ct-product-gallery-container .flexy-pills > :is(ol, ul) {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: var(--thumb-gap) !important;

    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    list-style: none !important;
    scrollbar-width: none;
}

/* Hide the scrollbar */
.single-product .ct-product-gallery-container .flexy-pills > :is(ol, ul)::-webkit-scrollbar {
    display: none;
}

/* Thumbnail size */
.single-product .ct-product-gallery-container .flexy-pills > :is(ol, ul) > li {
    flex: 0 0 var(--thumb-size) !important;
    width: var(--thumb-size) !important;
    min-width: var(--thumb-size) !important;
    max-width: var(--thumb-size) !important;
    margin: 0 !important;
}

/* Square thumbnail images */
.single-product .ct-product-gallery-container .flexy-pills img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Smaller thumbnails on mobile */
@media (max-width: 689.98px) {
    .single-product .ct-product-gallery-container .flexy-pills {
        --thumb-size: 64px;
        --thumb-gap: 8px;
    }
}

/* CyperGlow Premium Minimalist WooCommerce Layout */
.cyperglow-premium-wrap {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: #555555;
  background-color: #ffffff;
  max-width: 850px;
  margin: 0 auto;
  padding: 20px 0;
}
.cyperglow-premium-wrap h2, 
.cyperglow-premium-wrap h3 {
  color: #222222;
  font-weight: 400;
  margin: 0;
}
.cg-header {
  text-align: center;
  margin-bottom: 50px;
}
.cg-header h2 {
  font-size: 28px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.cg-subtitle {
  color: #C87DF9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  margin-bottom: 25px;
  display: block;
}
.cg-header p {
  font-size: 16px;
  color: #666666;
  max-width: 750px;
  margin: 0 auto 15px auto;
}
.cg-section-title {
  font-size: 22px;
  margin: 60px 0 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eaeaea;
}
.cg-ingredients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.cg-ingredient {
  background: #ffffff;
  padding: 25px 20px;
  border: 1px solid #f2f2f2;
  border-top: 3px solid #C87DF9;
  border-radius: 4px;
}
.cg-ingredient strong {
  display: block;
  font-size: 16px;
  color: #111111;
  margin-bottom: 10px;
  font-weight: 600;
}
.cg-ingredient p {
  margin: 0;
  font-size: 14.5px;
  color: #666666;
  line-height: 1.6;
}
.cg-steps {
  display: flex;
  flex-direction: column;
}
.cg-step {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid #f9f9f9;
}
.cg-step:last-child {
  border-bottom: none;
}
.cg-step-num {
  flex-shrink: 0;
  color: #C87DF9;
  font-size: 20px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #C87DF9;
  border-radius: 50%;
}
.cg-step-content strong {
  display: block;
  font-size: 17px;
  color: #222222;
  margin-bottom: 6px;
  font-weight: 600;
}
.cg-step-content p {
  margin: 0;
  font-size: 15px;
  color: #666666;
}
.cg-faq-wrap {
  margin-top: 20px;
}
.cg-faq {
  border-bottom: 1px solid #eaeaea;
}
.cg-faq summary {
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.cg-faq summary::-webkit-details-marker {
  display: none;
}
.cg-faq summary::after {
  content: '+';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: #C87DF9;
  font-size: 22px;
  font-weight: 300;
}
.cg-faq[open] summary::after {
  content: '−';
}
.cg-faq p {
  padding: 0 0 25px 0;
  margin: 0;
  color: #666666;
  font-size: 15px;
  padding-right: 40px;
}