/* =========================================================
   TUNE STORE
   Visual inspirado em app de streaming musical
   ========================================================= */

.tune-store-page {
  --store-black: #111111;
  --store-gray: #777777;
  --store-light-gray: #f7f7f7;
  --store-border: #e4e4e4;

  min-height: 100%;
  box-sizing: border-box;

  padding: 0 24px 110px;

  background: #fff;
  color: var(--store-black);

  font-family: var(
    --font-regular,
    Arial,
    sans-serif
  );

  overflow-x: hidden;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.store-topbar {
  position: relative;

  width: 100%;
  max-width: 760px;
  height: 62px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;


}


/* LOGO */

.store-logo {
  display: block;

  width: 132px;
  max-height: 32px;

  object-fit: contain;

  mix-blend-mode: multiply;
}


/* CART */

.store-cart-button {
  position: absolute;
  left: 0;
  top: 50%;

  width: 38px;
  height: 38px;

  padding: 0;

  display: grid;
  place-items: center;

  transform: translateY(-50%);

  border: 1px solid #e2e2e2;
  border-radius: 50%;

  background: #fff;

  cursor: pointer;

  box-shadow:
    0 3px 12px rgba(0, 0, 0, .04);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.store-cart-button:hover {
  transform: translateY(-50%) scale(1.04);

  box-shadow:
    0 5px 18px rgba(0, 0, 0, .08);
}

.store-cart-button img {
  width: 17px;
  height: 17px;

  opacity: .9;
}

.store-cart-button b {
  position: absolute;

  top: -4px;
  right: -4px;

  min-width: 16px;
  height: 16px;

  padding: 0 4px;

  display: grid;
  place-items: center;

  border: 2px solid #fff;
  border-radius: 50%;

  background: #ffc400;
  color: #111;

  font-size: 8px;
  font-weight: 900;
}


/* RIGHT DOT */

.store-more-button {
  position: absolute;
  right: 0;
  top: 50%;

  width: 28px;
  height: 32px;

  transform: translateY(-50%);

  padding: 0;

  border: 0;
  background: transparent;

  color: #111;

  font-size: 22px;
  line-height: 1;

  cursor: pointer;
}


/* =========================================================
   WELCOME
   ========================================================= */

.store-welcome {
  width: 100%;
  max-width: 760px;

  margin: 25px auto 18px;
}

.store-welcome h1 {
  margin: 0;

  color: #111;

  font-family:
    var(--font-black),
    var(--font-bold),
    Arial,
    sans-serif;

  font-size: 30px;


  


}

.store-welcome p {
  margin: 7px 0 0;

  color: #777;

  font-size: 15px;

}


/* =========================================================
   SEARCH
   ========================================================= */

.store-toolbar {
  width: 100%;
  max-width: 760px;

  margin: 0 auto 0px;
}

.store-search {
  width: 100%;
  height: 50px;

  box-sizing: border-box;

  display: flex;
  align-items: center;

  gap: 10px;

  padding: 0 16px;

  border: 1px solid #e5e5e5;
  border-radius: 26px;

  background: #fafafa;

  transition:
    border-color .2s ease,
    background .2s ease;
}

.store-search:focus-within {
  border-color: #cfcfcf;
  background: #fff;
}

.store-search img {
  width: 17px;
  filter: invert();
  height: 17px;

  opacity: .45;
}

.store-search input {
  flex: 1;

  width: 100%;

  border: 0;
  outline: 0;

  background: transparent;

  color: #111;

  font-family: inherit;
  font-size: 12px;
}

.store-search input::placeholder {
  color: #8b8b8b;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.store-categories {
  width: 100%;
  max-width: 760px;

  margin: 0 auto 22px;

  display: flex;
  align-items: center;

  gap: 8px;

  overflow-x: auto;

  padding-bottom: 2px;

  scrollbar-width: none;
}

.store-categories::-webkit-scrollbar {
  display: none;
}

.store-categories button {
  flex: 0 0 auto;

  height: 36px;

  padding: 0 15px;

  border: 1px solid #e5e5e5;
  border-radius: 26px;

  background: #fff;

  color: #222;

  font-family: inherit;
  font-size: 10px;
  font-weight: 700;

  white-space: nowrap;

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.store-categories button:hover {
  border-color: #111;
}

.store-categories button.is-active {
  border-color: #111;

  background: #111;

  color: #fff;
}


/* =========================================================
   STATUS
   ========================================================= */

.store-status {
  width: 100%;
  max-width: 760px;

  min-height: 13px;

  margin: 0 auto 7px;

  color: #888;

  font-size: 9px;
}

.store-status[data-tone="error"] {
  color: #bd3c3c;
}


/* =========================================================
   SECTION
   ========================================================= */

.store-section {
  width: 100%;
  max-width: 760px;

  margin: 0 auto;
}


/* SECTION HEADER */

.store-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  margin-bottom: 12px;
}

.store-section-eyebrow {
  display: block;

  margin-bottom: 4px;

  color: #999;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .15em;
}

.store-section-header h2 {
  margin: 0;

  color: #111;

  font-family:
    var(--font-black),
    var(--font-bold),
    Arial,
    sans-serif;

  font-size: 17px;
  font-weight: 900;

  line-height: 1.1;

  letter-spacing: -.035em;
}

.store-section-arrow {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border: 1px solid #e4e4e4;
  border-radius: 50%;

  background: #fff;

  color: #111;

  font-size: 17px;

  cursor: pointer;
}


/* =========================================================
   PRODUCT CAROUSEL
   ========================================================= */

.store-grid {
  width: calc(100% + 24px);

  margin-left: -12px;

  padding: 0 12px 8px;

  box-sizing: border-box;

  display: flex;

  gap: 12px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;

  scrollbar-width: none;
}

.store-grid::-webkit-scrollbar {
  display: none;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.store-product-card {
  position: relative;

  flex: 0 0 174px;

  width: 174px;

  min-width: 174px;

  overflow: hidden;

  border: 1px solid #dedede;
  border-radius: 18px;

  background: #fff;

  scroll-snap-align: start;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.store-product-card:hover {
  transform: translateY(-2px);

  box-shadow:
    0 8px 25px rgba(0, 0, 0, .07);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.store-product-media {
  position: relative;

  width: 100%;

  aspect-ratio: 1 / .93;

  overflow: hidden;

  background: #f4f4f4;

  border-radius: 17px 17px 0 0;
}

.store-product-media img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform .35s ease;
}

.store-product-card:hover
.store-product-media img {
  transform: scale(1.025);
}


/* CATEGORY LABEL */

.store-product-media span {
  position: absolute;

  left: 9px;
  top: 9px;

  padding: 5px 7px;

  border-radius: 26px;

  background: rgba(255,255,255,.92);

  color: #222;

  font-size: 7px;
  font-weight: 800;

  backdrop-filter: blur(8px);
}


/* =========================================================
   PRODUCT INFORMATION
   ========================================================= */

.store-product-copy {
  padding: 10px 10px 11px;
}

.store-product-copy > small {
  display: block;

  color: #777;

  font-size: 8px;
  line-height: 1.2;
}

.store-product-copy h3 {
  margin: 4px 0 3px;

  overflow: hidden;

  color: #111;

  font-size: 12px;
  font-weight: 800;

  line-height: 1.15;

  white-space: nowrap;
  text-overflow: ellipsis;
}

.store-product-copy p {
  display: none;
}


/* =========================================================
   PRICE
   ========================================================= */

.store-product-meta {
  display: block;

  margin: 5px 0 9px;
}

.store-product-meta strong {
  display: block;

  color: #111;

  font-size: 15px;
  font-weight: 800;
}

.store-product-meta span {
  display: block;

  margin-top: 3px;

  color: #8a8a8a;

  font-size: 8px;
}


/* =========================================================
   BUY BUTTON
   ========================================================= */

.store-buy-button {
  width: 100%;
  height: 31px;

  border: 1px solid #111;
  border-radius: 26px;

  background: #fff;

  color: #111;

  font-family: inherit;
  font-size: 9px;
  font-weight: 800;

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease;
}

.store-buy-button:hover {
  background: #111;
  color: #fff;
}

.store-buy-button.is-external {
  border-color: #111;

  background: #111;

  color: #fff;
}

.store-buy-button:disabled {
  border-color: #ddd;

  background: #eee;

  color: #999;

  cursor: not-allowed;
}


/* =========================================================
   EMPTY
   ========================================================= */

.store-empty {
  flex: 1 0 100%;

  min-height: 150px;

  display: grid;
  place-items: center;

  color: #888;

  font-size: 11px;

  text-align: center;
}


/* =========================================================
   HISTORY
   ========================================================= */

.store-history {
  width: 100%;
  max-width: 760px;

  margin: 38px auto 0;

  padding-top: 24px;

  border-top: 1px solid #ededed;
}

.store-history header small {
  color: #999;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: .14em;
}

.store-history h2 {
  margin: 5px 0 15px;

  font-family:
    var(--font-black),
    Arial,
    sans-serif;

  font-size: 20px;

  letter-spacing: -.04em;
}

.store-history > div {
  display: grid;

  gap: 8px;
}

.store-order {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 14px;

  border: 1px solid #ededed;
  border-radius: 13px;
}

.store-order strong,
.store-order small {
  display: block;
}

.store-order strong {
  font-size: 11px;
}

.store-order small {
  margin-top: 3px;

  color: #888;

  font-size: 9px;
}

.store-order > span {
  font-size: 11px;
  font-weight: 800;
}


/* =========================================================
   CART
   ========================================================= */

.store-cart-panel {
  position: fixed;

  z-index: 1000;

  inset: 0;
}

.store-cart-backdrop {
  position: absolute;

  inset: 0;

  background: rgba(0,0,0,.38);

  backdrop-filter: blur(2px);
}

.store-cart-sheet {
  position: absolute;

  top: 0;
  right: 0;

  width: min(420px, 100%);

  height: 100%;

  box-sizing: border-box;

  padding: 24px;

  display: flex;
  flex-direction: column;

  background: #fff;

  box-shadow:
    -20px 0 60px rgba(0,0,0,.12);
}

.store-cart-sheet > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  padding-bottom: 17px;

  border-bottom: 1px solid #eee;
}

.store-cart-sheet header small {
  color: #999;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: .14em;
}

.store-cart-sheet h2 {
  margin: 5px 0 0;

  font-family:
    var(--font-black),
    Arial,
    sans-serif;

  font-size: 28px;

  letter-spacing: -.04em;
}

.store-cart-sheet header button {
  width: 34px;
  height: 34px;

  border: 0;
  border-radius: 50%;

  background: #f5f5f5;

  color: #111;

  font-size: 23px;

  cursor: pointer;
}

.store-cart-items {
  flex: 1;

  overflow-y: auto;

  padding: 16px 0;
}

.store-cart-item {
  display: grid;

  grid-template-columns:
    58px
    minmax(0, 1fr)
    auto
    auto;

  align-items: center;

  gap: 10px;

  padding: 12px 0;

  border-bottom: 1px solid #eee;
}

.store-cart-item > img {
  width: 58px;
  height: 58px;

  border-radius: 10px;

  object-fit: cover;
}

.store-cart-item strong,
.store-cart-item small,
.store-cart-item span {
  display: block;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.store-cart-item strong {
  font-size: 11px;
}

.store-cart-item small {
  margin-top: 3px;

  color: #777;

  font-size: 9px;
}

.store-cart-item span {
  margin-top: 5px;

  font-size: 10px;
  font-weight: 800;
}

.store-cart-quantity {
  display: flex;
  align-items: center;

  gap: 6px;
}

.store-cart-quantity button {
  width: 23px;
  height: 23px;

  border: 1px solid #ddd;
  border-radius: 50%;

  background: #fff;

  cursor: pointer;
}

.store-cart-quantity b {
  font-size: 10px;
}

.store-cart-remove {
  border: 0;

  background: transparent;

  color: #999;

  font-size: 18px;

  cursor: pointer;
}

.store-cart-sheet > footer {
  padding-top: 17px;

  border-top: 1px solid #eee;
}

.store-cart-sheet > footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 13px;

  font-size: 12px;
}

.store-cart-sheet > footer strong {
  font-size: 17px;
}

.store-checkout {
  width: 100%;
  height: 45px;

  border: 0;
  border-radius: 26px;

  background: #111;

  color: #fff;

  font-family: inherit;
  font-size: 11px;
  font-weight: 800;

  cursor: pointer;
}

.store-cart-sheet > footer > small {
  display: block;

  margin-top: 9px;

  color: #888;

  font-size: 8px;

  line-height: 1.4;

  text-align: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 900px) {

  .tune-store-page {
    padding-left: 32px;
    padding-right: 32px;
  }

  .store-topbar,
  .store-welcome,
  .store-toolbar,
  .store-categories,
  .store-status,
  .store-section,
  .store-history {
    max-width: 900px;
  }

  .store-grid {
    gap: 14px;
  }

  .store-product-card {
    flex-basis: 190px;
    min-width: 190px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

  .tune-store-page {
    padding:
      0
      20px
      100px;
  }

  .store-topbar {
    height: 62px;
  }

  .store-logo {
    width: 130px;
  }

  .store-welcome {
    margin-top: 24px;
  }

  .store-welcome h1 {
    font-size: 26px;
  }

  .store-welcome p {
    font-size: 13px;
  }

  .store-toolbar {
    margin-bottom: 13px;
  }

  .store-search {
    height: 49px;
  }

  .store-categories {
    margin-bottom: 20px;
  }

  .store-section-header h2 {
    font-size: 16px;
  }

  .store-grid {
    gap: 11px;
  }

  .store-product-card {
    flex-basis: 166px;
    min-width: 166px;

    border-radius: 17px;
  }

  .store-product-media {
    border-radius: 16px 16px 0 0;
  }

  .store-product-copy {
    padding:
      9px
      9px
      10px;
  }

  .store-product-copy h3 {
    font-size: 11px;
  }

  .store-product-meta strong {
    font-size: 11px;
  }

  .store-buy-button {
    height: 30px;

    font-size: 9px;
  }

  .store-cart-sheet {
    padding:
      20px
      16px;
  }
}
.store-reference-page .store-product-card{border:2px solid #e2e2e2;border-radius:30px;box-shadow:none;background:#fff}.store-reference-page .store-product-media{margin:7px;aspect-ratio:1.05;border-radius:24px;background:#fafafa}.store-reference-page .store-product-media span{display:none}.store-reference-page .store-product-copy{padding:12px 14px 0}.store-reference-page .store-product-copy>small{display:none}.store-reference-page .store-product-copy h3{margin:0 0 3px;font-size:16px;font-weight:800}.store-reference-page .store-product-copy p{display:block;margin:0;color:#8b8b8b;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.store-reference-page .store-product-meta{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:77px;margin:0 -14px;padding:10px 14px 12px;background:#e4e4e4}.store-reference-page .store-product-meta strong{font-size:25px;letter-spacing:-.04em}.store-reference-page .store-product-meta span{display:none}.store-inline-cart{display:grid;place-items:center;width:34px;height:34px;border:0;background:transparent;cursor:pointer}.store-inline-cart img{width:27px;filter:brightness(0)}.store-inline-cart:disabled{opacity:.3;cursor:not-allowed}.store-reference-page .store-buy-button{min-height:56px;margin:0 -2px;border:0;border-radius:0 0 27px 27px;background:#fff;color:#111;font-size:17px;font-family:var(--font-black);text-transform:none}.store-reference-page .store-buy-button.is-external{background:#fff;color:#111}.store-reference-page .store-buy-button:disabled{background:#fff;color:#999}.store-reference-page .store-grid{gap:14px}.store-reference-page .store-product-media img{object-fit:contain}@media(max-width:620px){.store-reference-page .store-product-copy{padding:11px 13px 0}.store-reference-page .store-product-copy h3{font-size:15px}.store-reference-page .store-product-meta{margin:0 -13px;padding-left:13px;padding-right:13px}.store-reference-page .store-product-meta strong{font-size:22px}.store-reference-page .store-buy-button{min-height:51px;font-size:16px}}
