
/* Murmari Shopify showcase */
.shopify-stage {
  overflow: hidden;
}

.shop-showcase {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 52%;
  width: min(1180px, 78vw);
  max-height: 72vh;
  transform: translate(-50%, -50%);
  overflow: auto;
  padding: 22px 28px 28px;
  border: 5px solid rgba(101, 48, 14, 0.92);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 239, 193, 0.94), rgba(248, 218, 151, 0.94));
  box-shadow:
    0 12px 34px rgba(48, 24, 8, 0.36),
    inset 0 0 0 4px rgba(195, 115, 36, 0.45);
  scrollbar-width: thin;
}

.shop-heading {
  margin: 0 0 18px;
  text-align: center;
  color: #3d210d;
}

.shop-heading h1 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.05;
}

.shop-heading p {
  margin: 6px 0 0;
  font-size: clamp(16px, 1.3vw, 21px);
  font-weight: 700;
}

.shop-product-grid {
  display: block;
}

.shopify-collection-host {
  width: 100%;
}

.shop-loading,
.shop-error {
  grid-column: 1 / -1;
  padding: 30px;
  text-align: center;
  font-weight: 700;
  color: #4b2a12;
}

.shop-checkout-note {
  margin: 20px 0 0;
  text-align: center;
  color: #4d2a10;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .shop-showcase {
    top: 51%;
    width: min(92vw, 760px);
    max-height: 72svh;
    padding: 18px;
  }
}

@media (max-width: 600px) {
  .shop-showcase {
    top: 52%;
    width: 92vw;
    max-height: 68svh;
    padding: 14px;
    border-width: 3px;
    border-radius: 18px;
  }

  .shop-heading {
    margin-bottom: 12px;
  }

  .shop-checkout-note {
    font-size: 12px;
  }
}




/* v5: Shopify collection mobile stability */
.shopify-collection-host {
  width: 100%;
  min-width: 0;
}

.shop-product-grid,
#shopify-collection {
  width: 100%;
  min-width: 0;
}

@media (max-width: 600px) {
  .shopify-stage {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .shop-showcase {
    position: absolute;
    left: 50%;
    top: 53%;
    width: 92vw;
    max-height: 68svh;
    transform: translate(-50%, -50%);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 14px 12px 20px;
  }

  .shop-heading h1 {
    font-size: 30px;
  }

  .shop-heading p {
    font-size: 16px;
  }

  .shop-product-grid,
  .shopify-collection-host,
  #shopify-collection {
    overflow-x: hidden;
  }
}


/* v6: keep Shopify native cart toggle visible on all screen sizes */
.shopify-buy-frame--toggle {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: fixed !important;
  right: 14px !important;
  top: 155px !important;
  bottom: auto !important;
  z-index: 2147483000 !important;
  pointer-events: auto !important;
}

@media (max-width: 700px) {
  .shopify-buy-frame--toggle {
    right: 6px !important;
    top: 155px !important;
    bottom: auto !important;
    width: 96px !important;
    max-width: 96px !important;
    transform: scale(0.80) !important;
    transform-origin: top right !important;
    opacity: 0.76 !important;
    z-index: 2147483000 !important;
  }
}


/* v8: product search results */
.shop-search-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 248, 222, 0.9);
  color: #3d210d;
}

.shop-search-summary button {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 2px solid #6b370f;
  border-radius: 9px;
  background: #985b00;
  color: #fff8df;
  font: 700 14px/1 Arial, sans-serif;
  cursor: pointer;
}

.shop-search-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.shop-search-product {
  min-width: 0;
  padding: 10px;
  border: 2px solid rgba(113, 58, 17, 0.32);
  border-radius: 14px;
  background: rgba(255, 249, 229, 0.92);
}

@media (max-width: 1000px) {
  .shop-search-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shop-search-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .shop-search-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-search-products {
    grid-template-columns: 1fr;
  }
}
