* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 0rem; /*1.5*/
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #71a571a5;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  --grid-cols: 3; /*ef*/
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
  box-sizing: border-box; /*EF*/
}
img {
  width: 100%;
  /* subtle, soft shadows with vertical offset to create a hovering look */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12),
              0 4px 6px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

body {
  max-width: 120rem;
  margin: 0em 0em 0em 0em;
  background-color: rgba(207, 250, 233,1.00);
  background-image: linear-gradient(to bottom right, rgb(207, 250, 233) , white)
}

main {
	margin: 1em;
}

li {
    list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}
label{
  font-size: inherit;
  color: green;
  margin-bottom: 10px;
}

table  {
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  margin-left: 1.5rem;
  border-color: var(--color-code-green);
  border-style: solid;
}

tr td  {
  border-collapse: collapse; 
  border-color: var(--color-code-green);
  border-style: solid;
  padding: 5px;
}
.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  /*position: relative;*/
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
  padding: 0, 0, 0, 1rem;
  width: 100%;
  top: 0;
  position: sticky;
  z-index: 1000;
  background-color: white;
  opacity: 0.8;
}
.header2 {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
  padding: 0, 0, 0, 1rem;
  width: 100%;
  top: 0;
}

.logo {
  padding: 1rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}
.site-logo img {
	height: 3rem;
	width: 11.2rem;
  box-shadow: none;
}
.cart img {
	height: 2.5rem;
  width: 3.2rem;
  box-shadow: none;
  padding-right: 1rem
}

.flagimg {
  width: 2.5rem;
  margin: 0.2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12),
              0 4px 6px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.menu {
  display: flex;
}
.menu a {
  padding: 0.3rem 1.0rem 0.3rem 0.3rem;
  display: block;
}
.menu a[aria-current] {
  text-decoration: underline;
}

.language-nav {
  display: flex;
  justify-content: right;
}
.language-nav a {
  padding: 0.2rem 0.2rem 0.2rem 0.2rem;
  display: block;
}

.social {
  display: flex;
  padding: 0 .5rem 0 0;
  opacity: 0.8;
}
.social a {
  padding: 0em;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

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

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  max-height: 600px;
  background: inherit;
}
/*.text is for the panel (EF comment)*/
.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  margin-left: 1rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
  font-size: smaller;
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

/* video-specific styling for full-width responsive display */
.video {
  position: relative;
  display: block;
  width: 90%;
  margin: 20px;
  aspect-ratio: var(--w, 16) / var(--h, 9);
  background: inherit;
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;         /* fill the full container height */
  object-fit: contain;
  /*border: 0;*/
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12),
              0 4px 6px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}


.img[data-contain] img {
  object-fit: contain;
}

.img.img-no-shadow img {
  box-shadow: none;
}

.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
  font-size: smaller;
  background-color: transparent;
}

.footer {
  padding: 1rem 0 0 1rem;
  line-height: 1.5em;
  background-color: azure;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}

.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


.section {
  padding: 0.1rem 0;
}



.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}

/* Product filter select styling */
#filter-booktype,
#filter-harptype,
#filter-composer {
  width: 100%;
  max-width: 40rem;
  padding: 0.5rem;
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 4px;
  font-size: inherit;
  cursor: pointer;
}

#filter-booktype:hover,
#filter-harptype:hover,
#filter-composer:hover {
  background-color: #dcedc1;
  border-color: #aed581;
}

#filter-booktype:focus,
#filter-harptype:focus,
#filter-composer:focus {
  outline: 2px solid #66bb6a;
  outline-offset: 2px;
}


/* Collapsible Filter Styles */
.filter-toggle-btn {
  background: none;
  border: none;
  color: green;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  font-family: var(--font-family-sans);
  transition: opacity 0.2s ease;
}

.filter-toggle-btn:hover {
  opacity: 0.7;
}

.filter-toggle-btn:focus {
  /*outline: 2px solid var(--color-text);
  outline-offset: 2px;*/
  outline: 0px transparent
}

.filter-content {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  opacity: 1;
  margin-top: 1rem;
}

.filter-content.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  color: green;
}

/* lightbox anchors wrapping images must be block-level so the figure's
   width resolves against the column, not the inline anchor's shrink-wrap */
a[data-lightbox] {
  display: block;
  max-width: 100%;
}

/*grid for the configurable amount of columns*/
.grid {
    display: grid;
    grid-gap: var(--gutter);
    grid-template-columns: repeat(var(--grid-cols), 1fr);
}
.grid > .column {
  margin-bottom: var(--gutter);
  min-width: 0;
}

/* Dynamic fallback for product pages with parts list: if the parts table
   cannot fit in a 2-column layout, JS adds this class and we stack columns. */
.product-page.product-page--stack-for-parts .grid {
  --grid-cols: 1 !important;
}

.product-page.product-page--stack-for-parts table {
  margin-left: 0;
  width: 100%;
}

.product-page.product-page--stack-for-parts .product-cart-wrap {
  margin-left: 0;
}

.product-cart-wrap {
  margin-left: 1.5rem;
}

.product-page .video {
    max-width: 100%;
    width: 100%;
    margin: 1rem 0;
}

/* Music embeds (Spotify, Apple Music): these are fixed-height player widgets,
   not aspect-ratio video content. Give them an explicit height and take them
   out of the absolute-fill system used for video. */
.product-page .video:has(iframe[src*="open.spotify.com"]),
.product-page .video:has(iframe[src*="embed.music.apple.com"]),
.product-page .video:has(iframe[src*="music.apple.com"]),
.product-page .video:has(iframe[src*="w.soundcloud.com"]) {
  aspect-ratio: auto;
  height: 440px;
}

.product-page .video iframe[src*="open.spotify.com"],
.product-page .video iframe[src*="embed.music.apple.com"],
.product-page .video iframe[src*="music.apple.com"],
.product-page .video iframe[src*="w.soundcloud.com"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
}

/*override for small screens*/
@media screen and (max-width: 768px) {
  .grid {  
    --grid-cols: 1 !important; /* override the variable at this breakpoint !important needed to override inline style */
  }
  .product-page,
  .product-page .grid,
  .product-page .column {
    max-width: 100%;
    min-width: 0;
  }
  .product-page table {
    margin-left: 0;
    width: 100%;
  }
  .product-page .img,
  .product-page .video {
    max-width: 100%;
  }
  .product-page .video {
    width: 100%;
    margin: 1rem 0;
  }
  .product-page .product-cart-wrap {
    margin-left: 0;
  }
  .product-page .mytext {
    margin-left: 0;
    margin-right: 0;
  }
  .h1, .intro{
      font-size: 1.3em;
      line-height: 1em;
      max-width: 330px;
  }
    /* Product filter select styling */
  #filter-booktype,
  #filter-harptype,
  #filter-composer {
    width: 50%;
    max-width: 40rem;
    font-size: 0.75rem;
    padding: 0.1rem;
    margin: 2px;
  }
}

/* ------------------------------------------------------------------
   responsive grid for product displays and similar galleries.  the
   number of columns adapts to the viewport: 2 on small phones, 3 on
   narrow tablets/phones in landscape, up to 6 on desktop.  this lets us
   avoid magic column spans in the markup and keeps the behaviour
   completely in CSS.                                                  
   ------------------------------------------------------------------ */
.responsive-grid {
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (min-width: 600px) {
  .responsive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 800px) {
  .responsive-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (min-width: 1000px) {
  .responsive-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media screen and (min-width: 1200px) {
  .responsive-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.icon-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-start;
  align-items: center;
  width: fit-content;
  column: 4;
}

.icon-gallery li {
  display: block;
  margin: 0;
  break-inside: auto;
}

.icon-gallery img {
  width: 1.5rem;
  height: auto;
  box-shadow: none;
  border-radius: 4px;
}