/* Shine Suppliers – interaction & UI enhancement layer.
   Mega-menu row cards, search overlay, account modal, currency, shop toolbar. */

/* ---------- Suppress the stale Klaviyo customer hub (no backend) ---------- */
#k-hub { display: none !important; }

/* ---------- Account panel: realtime cart + recently viewed ---------- */
.shine-modal--acct { max-width: 420px; max-height: 88vh; overflow-y: auto; }
.shine-acct-secs { margin-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.shine-acct-sec__h { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #9096a0; margin-bottom: 8px; }
.shine-acct-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.shine-acct-row:hover { background: #f4f6f5; }
.shine-acct-row img { width: 46px; height: 46px; object-fit: contain; background: #f6f7f9; border-radius: 8px; flex: 0 0 auto; }
.shine-acct-row__b { display: flex; flex-direction: column; min-width: 0; }
.shine-acct-row__t { font-size: 14px; font-weight: 600; color: #181926; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shine-acct-row__p { font-size: 13px; color: #017e51; font-weight: 600; margin-top: 2px; }
.shine-acct-cta { width: 100%; margin-top: 10px; background: #181926; color: #fff; border: 0; border-radius: 999px; padding: 12px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; }
.shine-acct-cta:hover { background: #1f9d55; }
.shine-acct-empty { font-size: 14px; color: #9b9ca0; margin: 4px 0 0; }
.shine-acct-empty a { color: #1f9d55; font-weight: 600; }

/* ---------- Remove the top announcement bar site-wide ---------- */
aside[id*="announcement-bar"],
.shopify-section--announcement-bar,
.shopify-section-group-header-group .announcement-bar { display: none !important; }

/* ---------- Fix: home-page header clips the Shop dropdown ----------
   On the homepage the header section group has overflow:hidden (height 68px),
   which cut off the hover mega-menu. Let the dropdown overflow the header. */
.shopify-section-group-header-group,
.shopify-section--header,
.shopify-section--header .header,
.shopify-section--header .header__wrapper { overflow: visible !important; }

/* ---------- Mega menu: horizontal row of category cards ---------- */
.koh-mega-menu-inner.shine-mm { width: 100% !important; }
.shine-mm .koh-collection-list { max-width: 1180px !important; margin: 6px auto 22px !important; }
.shine-mm-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 8px 4px 4px;
}
.shine-mm-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 1.15;
  box-shadow: 0 12px 30px rgba(5, 32, 23, .14);
  transform: translateZ(0);
  transition: transform .3s ease, box-shadow .3s ease;
}
.shine-mm-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(5, 32, 23, .24); }
.shine-mm-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.06); transition: transform .5s ease;
}
.shine-mm-card:hover img { transform: scale(1.14); }
.shine-mm-card__ov {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; color: #fff;
  background: linear-gradient(to top, rgba(4, 26, 18, .82) 0%, rgba(4, 26, 18, .28) 46%, rgba(4, 26, 18, 0) 78%);
}
.shine-mm-card__badge {
  position: absolute; top: 16px; left: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--mm-ic, rgba(31, 157, 85, .82)); box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.shine-mm-card__badge svg { width: 22px; height: 22px; stroke: #fff; }
.shine-mm-card__t { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.shine-mm-card__d { margin-top: 6px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.shine-mm-card__cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.shine-mm-card__cta span { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--mm, #1f9d55); align-items: center; justify-content: center; transition: transform .25s ease; }
.shine-mm-card:hover .shine-mm-card__cta span { transform: translateX(3px); }
.shine-mm-card__cta svg { width: 14px; height: 14px; }
@media (max-width: 990px) { .shine-mm-row { grid-template-columns: repeat(3, 1fr); gap: 12px; } .shine-mm-card__d { display: none; } }

/* ---------- Generic overlay (search / account) ---------- */
.shine-ov { position: fixed; inset: 0; z-index: 10050; display: flex; opacity: 0; visibility: hidden; transition: opacity .28s ease; }
.shine-ov.open { opacity: 1; visibility: visible; }
.shine-ov__scrim { position: absolute; inset: 0; background: rgba(10, 20, 16, .5); backdrop-filter: blur(2px); }

/* Search */
.shine-search { position: relative; margin: 0 auto; width: 100%; max-width: 760px; align-self: flex-start;
  background: #fff; border-radius: 0 0 20px 20px; padding: 26px 28px 30px; transform: translateY(-24px); transition: transform .3s ease; box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.shine-ov.open .shine-search { transform: translateY(0); }
.shine-search__bar { display: flex; align-items: center; gap: 12px; border: 2px solid #e3e6e4; border-radius: 999px; padding: 12px 18px; }
.shine-search__bar svg { width: 20px; height: 20px; color: #1f9d55; flex: 0 0 auto; }
.shine-search__bar input { flex: 1; border: 0; outline: 0; font-size: 16px; background: none; color: #181926; }
.shine-search__close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #6b6c70; }
.shine-search__results { margin-top: 18px; max-height: 60vh; overflow-y: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.shine-sr { display: flex; gap: 12px; align-items: center; text-decoration: none; padding: 8px; border-radius: 12px; transition: background .2s; }
.shine-sr:hover { background: #f4f6f5; }
.shine-sr > span { display: flex; flex-direction: column; }
.shine-sr img { width: 54px; height: 54px; object-fit: contain; background: #f6f7f9; border-radius: 8px; }
.shine-sr__t { font-size: 14px; font-weight: 600; color: #181926; line-height: 1.3; }
.shine-sr__p { font-size: 13px; color: #017e51; font-weight: 600; margin-top: 3px; }
.shine-search__empty { margin-top: 22px; text-align: center; color: #9b9ca0; padding: 18px; }
@media (max-width: 560px) { .shine-search__results { grid-template-columns: 1fr; } }

/* Account / login modal */
.shine-modal { position: relative; margin: auto; width: 100%; max-width: 400px; background: #fff; border-radius: 20px; padding: 30px 28px; transform: translateY(16px) scale(.98); transition: transform .3s ease; box-shadow: 0 30px 60px rgba(0,0,0,.24); }
.shine-ov.open .shine-modal { transform: translateY(0) scale(1); }
.shine-modal h2 { margin: 0 0 4px; font-size: 22px; color: #181926; }
.shine-modal p.sub { margin: 0 0 20px; color: #6b6c70; font-size: 14px; }
.shine-modal label { display: block; font-size: 13px; font-weight: 600; color: #181926; margin: 12px 0 6px; }
.shine-modal input { width: 100%; border: 1.5px solid #e3e6e4; border-radius: 12px; padding: 12px 14px; font-size: 15px; outline: 0; }
.shine-modal input:focus { border-color: #1f9d55; }
.shine-modal__btn { width: 100%; margin-top: 20px; background: #181926; color: #fff; border: 0; border-radius: 999px; padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.shine-modal__btn:hover { background: #1f9d55; }
.shine-modal__alt { margin-top: 16px; text-align: center; font-size: 14px; color: #6b6c70; }
.shine-modal__alt a { color: #1f9d55; font-weight: 600; cursor: pointer; }
.shine-modal__close { position: absolute; top: 16px; right: 18px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #9b9ca0; }
.shine-modal__welcome { display: flex; flex-direction: column; gap: 6px; }
.shine-modal__avatar { width: 60px; height: 60px; border-radius: 50%; background: #e6f5ec; color: #1f9d55; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 8px; }

/* ---------- Shop toolbar (filters + sort + search) ---------- */
.shine-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 26px; }
.shine-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.shine-pill { border: 1.5px solid #e0e3e1; background: #fff; color: #384; border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; cursor: pointer; color: #444a46; transition: all .2s; }
.shine-pill:hover { border-color: #1f9d55; color: #1f9d55; }
.shine-pill.active { background: #181926; border-color: #181926; color: #fff; }
.shine-toolbar__spacer { flex: 1; }
.shine-select { border: 1.5px solid #e0e3e1; border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; color: #181926; background: #fff; cursor: pointer; }
.shine-count { font-size: 14px; color: #6b6c70; }
