@font-face { font-family: Assistant; src: url('Assistant.ttf') format('truetype'); font-style: normal; font-weight: 200 800; font-display: swap; }

/* ==========================================================================
   Pluto theme — original stylesheet
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--font-body-weight);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 1.5rem;
}
h1 { font-size: clamp(2.8rem, 4vw, 4rem); }
h2 { font-size: clamp(2.2rem, 3vw, 3rem); }
p { margin: 0 0 1.5rem; }

.page-width { max-width: var(--page-width); margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }
.section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: #fff; padding: 1rem 1.5rem; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-button); color: var(--color-button-text);
  border: 0; border-radius: var(--button-radius);
  padding: 1.2rem 2.4rem; font-size: 1.5rem; font-weight: 600;
  line-height: 1; transition: filter .2s ease, background .2s ease; text-align: center;
}
.btn:hover { filter: brightness(0.92); }
.btn--full { width: 100%; }
.btn--outline { background: transparent; color: var(--color-heading); border: 1px solid currentColor; }

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--color-announce-bg); color: var(--color-announce-text);
  text-align: center; font-size: 1.35rem; letter-spacing: .02em;
}
.announcement__inner { padding: .9rem 2rem; }
.announcement a { color: inherit; text-decoration: underline; }

/* ---------- Header (two-tier) ---------- */
.header { background: var(--color-header-bg); color: var(--color-header-text); }
.header__top {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 3rem; padding: 1.6rem 0;
}
.header__logo { font-family: var(--font-heading); font-weight: 700; font-size: 2.4rem; color: var(--color-header-text); }
.header__logo img { width: var(--logo-width, 160px); height: auto; }
.header__icons { display: flex; align-items: center; gap: 2rem; }
.header__icons a { color: var(--color-header-text); display: inline-flex; }
.header__icons svg { width: 2.4rem; height: 2.4rem; }
.cart-link { position: relative; }
.cart-count {
  position: absolute; top: -.8rem; right: -.9rem; background: var(--color-heading); color: #fff;
  font-size: 1.1rem; min-width: 1.8rem; height: 1.8rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 .4rem; font-family: var(--font-body);
}

/* Search box */
.search-box { display: flex; width: 100%; max-width: 680px; background: #fff; border-radius: var(--button-radius); overflow: hidden; }
.search-box input { flex: 1; border: 0; padding: 1.15rem 1.6rem; font-size: 1.5rem; color: #2c2528; outline: none; background: transparent; }
.search-box button { border: 0; background: var(--color-heading); color: #fff; padding: 0 1.8rem; display: flex; align-items: center; }
.search-box svg { width: 2rem; height: 2rem; }

/* Nav bar (second tier) */
.nav { background: var(--color-nav-bg); border-top: 1px solid rgba(0,0,0,.06); }
.nav__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 2.8rem; list-style: none; margin: 0; padding: 1.2rem 0; }
.nav__list a {
  color: var(--color-nav-text); font-weight: 600; font-size: 1.45rem;
  text-transform: uppercase; letter-spacing: .03em; padding: .4rem 0;
  border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.nav__list a:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* ---------- Image banner / hero ---------- */
.banner { position: relative; }
.banner__media img { width: 100%; object-fit: cover; display: block; }
.banner__media--adapt img { height: auto; object-fit: contain; }
.banner__media--small img { height: 32rem; }
.banner__media--medium img { height: 48rem; }
.banner__media--large img { height: 60rem; }
.banner__overlay { position: absolute; inset: 0; background: rgba(0,0,0,var(--overlay,.25)); }
.banner__content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: #fff; padding: 2rem;
}
.banner__content h2 { color: #fff; font-size: clamp(2.8rem, 5vw, 5rem); }
.banner__placeholder { background: #e8efe4; height: 48rem; display: flex; align-items: center; justify-content: center; color: var(--color-accent); }

/* ---------- Product grid ---------- */
.grid-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2.4rem; }
.grid-heading a { color: var(--color-accent); font-weight: 600; font-size: 1.4rem; }
.product-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 2rem; list-style: none; margin: 0; padding: 0; }
.card { display: flex; flex-direction: column; }
.card__media { position: relative; background: #fff; border: 1px solid #ececec; border-radius: var(--button-radius); overflow: hidden; aspect-ratio: 1 / 1; }
.card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute; top: 1rem; left: 1rem; background: var(--color-sale); color: #fff;
  font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: .4rem .8rem;
}
.card__badge--soldout { background: var(--color-heading); }
.card__title { font-size: 1.5rem; font-weight: 600; margin: 1.2rem 0 .6rem; color: var(--color-heading); }
.card__price { font-weight: 700; }
.card__price .sale { color: var(--color-sale); }
.card__price .was { color: #999; font-weight: 400; text-decoration: line-through; margin-left: .6rem; }
.card .btn { margin-top: 1.2rem; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4rem 0; }
.product__mobile-head { display: none; }
.product__media img { width: 100%; border: 1px solid #ececec; border-radius: var(--button-radius); }
.product__thumbs { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.product__thumbs img { width: 8rem; height: 8rem; object-fit: cover; border: 1px solid #ddd; cursor: pointer; }
.product__vendor { text-transform: uppercase; letter-spacing: .08em; font-size: 1.2rem; color: var(--color-accent); font-weight: 700; }
.product__price { font-size: 2.2rem; font-weight: 700; margin: 1.5rem 0; }
.product__price .sale { color: var(--color-sale); }
.product__price .was { color: #999; font-weight: 400; text-decoration: line-through; margin-left: 1rem; font-size: 1.8rem; }
.product__desc { max-width: 90rem; margin: 0; padding: 3rem 0; text-align: left; }
.product__blocks { padding: 1rem 0; }
.quantity { display: inline-flex; border: 1px solid #ccc; border-radius: var(--button-radius); overflow: hidden; margin-bottom: 1.5rem; }
.quantity button { background: #fff; border: 0; width: 4rem; font-size: 2rem; }
.quantity input { width: 5rem; border: 0; text-align: center; font-size: 1.6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--color-footer-bg); color: var(--color-footer-text); padding: 4.5rem 0 3rem; margin-top: 0; }
.footer a { color: var(--color-footer-text); opacity: .9; }
.footer a:hover { opacity: 1; }
.footer__cols { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: 3rem; }
.footer__cols h4 { color: var(--color-footer-text); font-size: 1.6rem; }
.footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; font-size: 1.4rem; }
.footer__news { display: flex; max-width: 36rem; }
.footer__news input { flex: 1 1 auto; min-width: 0; padding: 1.1rem 1.4rem; border: 1px solid rgba(255,255,255,.6); border-right: 0; background: #fff; color: #2c2528; }
.footer__news-btn { flex: 0 0 auto; padding: 0 2rem; background: transparent; color: var(--color-footer-text); border: 1px solid var(--color-footer-text); cursor: pointer; font-weight: 600; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.footer__news-btn:hover { background: var(--color-footer-text); color: var(--color-footer-bg); }
.footer__bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18); font-size: 1.3rem; opacity: .85; }

/* ---------- Utility / RTE ---------- */
.rte img { border-radius: var(--button-radius); }
.rte a { color: var(--color-accent); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 990px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .header__top { grid-template-columns: auto auto; gap: 1.5rem; }
  .header { border-bottom: 1px solid #e6e6e6; }
  /* Title above the image on stacked (mobile) product view */
  .product__mobile-head { display: block; margin-bottom: 1.4rem; }
  .product__mobile-head h1 { margin-bottom: 0; }
  .product__info h1,
  .product__info .product__vendor { display: none; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__list { gap: 1.4rem; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* Mobile: product rows as a swipeable slider (opt-in per section) */
@media (max-width: 749px) {
  .product-grid--mobile-slider {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.2rem;
    scrollbar-width: none;
  }
  .product-grid--mobile-slider::-webkit-scrollbar { display: none; }
  .product-grid--mobile-slider > .card { flex: 0 0 47%; scroll-snap-align: start; }
}

/* ---------- Cart drawer ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.cart-drawer.is-open { visibility: visible; pointer-events: auto; }
.cart-drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s ease; }
.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }
.cart-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: 92%; max-width: 42rem;
  background: #fff; display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .3s ease; box-shadow: -4px 0 24px rgba(0,0,0,.15);
}
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.8rem 2rem; border-bottom: 1px solid #eee; }
.cart-drawer__head h2 { margin: 0; font-size: 2rem; }
.cart-drawer__close { background: 0; border: 0; font-size: 3rem; line-height: 1; color: #555; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 2rem; }
.cart-drawer__empty { text-align: center; padding: 4rem 0; color: #777; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.2rem; padding: 1.5rem 0; border-bottom: 1px solid #f0f0f0; }
.cart-item img { border: 1px solid #eee; border-radius: 4px; object-fit: cover; }
.cart-item__info a { font-weight: 600; color: var(--color-heading); }
.cart-item__variant { font-size: 1.3rem; color: #888; }
.cart-item__qty { display: flex; align-items: center; gap: .8rem; margin-top: .8rem; }
.cart-item__qty button { width: 2.8rem; height: 2.8rem; border: 1px solid #ccc; background: #fff; border-radius: 4px; font-size: 1.6rem; }
.cart-item__remove { width: auto !important; border: 0 !important; color: var(--color-sale); font-size: 1.2rem !important; text-decoration: underline; padding: 0 .4rem; }
.cart-item__price { font-weight: 700; }
.cart-drawer__foot { padding: 1.8rem 2rem; border-top: 1px solid #eee; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 1.7rem; margin-bottom: 1.4rem; }
.cart-drawer__viewcart { display: block; text-align: center; margin-top: 1rem; color: var(--color-accent); font-weight: 600; }

/* ---------- Header grid areas, search border, mobile menu ---------- */
.header__top { grid-template-areas: "logo search icons"; }
.header__logo { grid-area: logo; }
.search-box { grid-area: search; border: 1px solid #dcdcdc; }
.header__icons { grid-area: icons; }
.header__burger {
  grid-area: burger; display: none; background: transparent; border: 0;
  color: var(--color-header-text); padding: .4rem; align-items: center;
}
.header__burger svg { width: 2.8rem; height: 2.8rem; }

@media (max-width: 990px) {
  .header__top {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "burger logo icons" "search search search";
    gap: 1rem 1.4rem;
  }
  .header__burger { display: inline-flex; }
  .header__logo { justify-self: center; font-size: 2rem; }
  .header__logo img { width: 120px !important; }
  .search-box { display: flex !important; margin-top: .2rem; max-width: none; }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .4rem 2rem; }
  .nav__list a { padding: 1.3rem 0; border-bottom: 1px solid rgba(0,0,0,.08); border-bottom-color: rgba(0,0,0,.08); }
}

/* ---------- Product blocks ---------- */
.product__buy { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.product__buy-row { display: flex; gap: 1rem; align-items: stretch; }
.product__buy-row .quantity { margin-bottom: 0; flex: 0 0 auto; height: 5rem; }
.btn--atc {
  flex: 1 1 auto; height: 5rem; min-height: 0; padding-top: 0; padding-bottom: 0;
  background: #fff; color: var(--color-heading);
  border: 1px solid var(--color-heading);
}
.btn--atc:hover { background: var(--color-heading); color: #fff; filter: none; }
.product__variants { margin-bottom: 1.5rem; }
.product__variant-select { padding: 1.1rem; font-size: 1.5rem; width: 100%; max-width: 32rem; border: 1px solid #ccc; border-radius: var(--button-radius); background: #fff; }
.product__rating { color: #f6b01e; font-size: 1.9rem; line-height: 1; margin-bottom: 1rem; }
.product__rating .star--off { color: #d9d9d9; }
.product__rating-count { color: #777; font-size: 1.4rem; margin-left: .5rem; vertical-align: middle; }
.product__app { margin-top: 2.5rem; margin-bottom: 4rem; }
.product__custom-liquid { margin: 1rem 0; }
.product__block-text { margin: 1rem 0; }

/* Dynamic checkout (Buy it now) — match Add to cart: themed + radius */
.product__buy .btn--full { width: 100%; min-height: 5rem; }
.product__buy .shopify-payment-button { width: 100%; margin: 0; }
.shopify-payment-button__button {
  width: 100% !important;
  min-height: 5rem !important;
  height: 5rem !important;
  border-radius: var(--button-radius) !important;
  font-weight: 600 !important;
  font-size: 1.5rem !important;
}
.shopify-payment-button__button--unbranded {
  background: var(--color-button) !important;
  color: var(--color-button-text) !important;
}
.shopify-payment-button__button--unbranded:hover { filter: brightness(0.9); }
.shopify-payment-button { border-radius: var(--button-radius); overflow: hidden; width: 100%; }

/* Quantity selector (Canopy-style) */
.product__info .quantity { display: inline-flex; align-items: stretch; height: 5rem; border: 1px solid #cccccc; border-radius: var(--button-radius); overflow: hidden; margin-bottom: 1.8rem; background: #fff; }
.product__info .quantity button { background: #fff; border: 0; width: 5rem; font-size: 2.2rem; line-height: 1; color: var(--color-heading); transition: background .15s ease; }
.product__info .quantity button:hover { background: #f2f2f2; }
.product__info .quantity input { width: 6rem; border: 0; border-left: 1px solid #ececec; border-right: 1px solid #ececec; text-align: center; font-size: 1.7rem; font-weight: 600; -moz-appearance: textfield; }
.product__info .quantity input::-webkit-outer-spin-button, .product__info .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity input::-webkit-outer-spin-button, .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* New product blocks */
.product__sku { font-size: 1.3rem; color: #888; margin-bottom: 1rem; }
.product__block-image img { width: 100%; border-radius: var(--button-radius); margin: 1rem 0; }
.product__block-link { display: inline-flex; margin: 1rem 0; }
.product__divider { border: 0; border-top: 1px solid #e2e2e2; margin: 2rem 0; }
.product__collapsible { border-top: 1px solid #e2e2e2; padding: 1.2rem 0; }
.product__collapsible summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.product__collapsible summary::-webkit-details-marker { display: none; }
.product__collapsible summary::after { content: '+'; font-size: 2.2rem; line-height: 1; }
.product__collapsible[open] summary::after { content: '\2212'; }
.product__collapsible .rte { padding-top: 1rem; }
