/* ===== Mocha Shop v1.0.35 — shop home, auth, blog, contact, nav cleanup ===== */

/* Hide Storefront fallback page list in primary nav (duplicate guides/cart clutter) */
#site-navigation > .menu {
  display: none !important;
}

/* ---- Shop home hero ---- */
.mc-shop-home {
  margin: 0 0 28px;
  padding: 0;
}

.mc-shop-home__hero {
  padding: 28px 24px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4f8fb 0%, #eef4f0 55%, #faf8f5 100%);
  border: 1px solid var(--ms-color-line, #e7e8e9);
  margin-bottom: 28px;
}

.mc-shop-home__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ms-color-muted, #5b6a78);
  margin: 0 0 8px;
}

.mc-shop-home__title {
  font-family: var(--ms-font-display, 'Cormorant Garamond', serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ms-color-ink, #191c1d);
}

.mc-shop-home__lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ms-color-muted, #40484f);
  max-width: 62ch;
  margin: 0 0 18px;
}

.mc-shop-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-bottom: 18px;
}

.mc-shop-home__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ms-color-primary, #0b4f6c);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
}

.mc-shop-home__link {
  font-size: 14px;
  color: var(--ms-color-primary, #0b4f6c);
  text-decoration: none;
}

.mc-shop-home__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--ms-color-ink, #191c1d);
}

.mc-shop-home__trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mc-shop-home__trust .material-symbols-outlined {
  font-size: 18px;
  color: var(--ms-color-primary, #0b4f6c);
}

.mc-shop-home__section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ms-color-ink, #191c1d);
}

.mc-shop-home__section-title--products {
  margin-top: 8px;
}

.mc-shop-home__workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.mc-shop-home__workshop-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--ms-color-line, #e7e8e9);
  border-radius: 14px;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.mc-shop-home__workshop-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.mc-shop-home__workshop-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mc-shop-home__workshop-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ms-color-ink, #191c1d);
}

.mc-shop-home__workshop-body p {
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 4px;
  color: var(--ms-color-muted, #5b6a78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mc-shop-home__workshop-meta {
  font-size: 11px;
  color: var(--ms-color-muted, #6b7280);
}

.mc-shop-home__workshop-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--ms-color-muted, #9aa3ab);
}

.mc-shop-home__guide-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.mc-shop-home__guide-grid a {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ms-color-line, #e7e8e9);
  background: #fff;
  text-decoration: none !important;
  color: var(--ms-color-ink, #191c1d);
}

/* ---- Header auth ---- */
.mc-header-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.mc-header-auth__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid var(--ms-color-line, #d8dde2);
  background: #fff;
  color: var(--ms-color-ink, #191c1d);
  cursor: pointer;
  line-height: 1.2;
}

.mc-header-auth__btn--signin,
.mc-header-auth__btn--account {
  background: var(--ms-color-primary, #0b4f6c);
  border-color: var(--ms-color-primary, #0b4f6c);
  color: #fff !important;
}

.mc-header-auth__btn--ghost {
  background: transparent;
}

.mc-header-auth .material-symbols-outlined {
  font-size: 18px;
}

.mc-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(11, 31, 42, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mc-auth-modal[hidden] {
  display: none !important;
}

body.mc-auth-modal-open {
  overflow: hidden;
}

.mc-auth-modal__panel {
  width: min(100%, 420px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border: 1px solid rgba(11, 79, 108, 0.1);
  border-radius: 24px;
  padding: 28px 28px 22px;
  position: relative;
  box-shadow:
    0 24px 80px rgba(11, 31, 42, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.mc-auth-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 79, 108, 0.06);
  color: var(--ms-color-muted, #5b6a78);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.mc-auth-modal__close:hover {
  background: rgba(11, 79, 108, 0.12);
  color: var(--ms-color-ink, #191c1d);
}

.mc-auth-modal__close .material-symbols-outlined {
  font-size: 20px;
}

.mc-auth-modal__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-right: 36px;
}

.mc-auth-modal__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0b4f6c 0%, #083a50 100%);
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(11, 79, 108, 0.28);
  flex-shrink: 0;
}

.mc-auth-modal__brand-name {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ms-color-ink, #191c1d);
}

.mc-auth-modal__brand-tag {
  margin: 2px 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ms-color-muted, #6b7c8a);
  font-weight: 600;
}

.mc-auth-modal__body h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ms-color-ink, #191c1d);
}

.mc-auth-modal__lede,
.mc-auth-modal__hint {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ms-color-muted, #5b6a78);
  margin: 0 0 20px;
}

.mc-auth-modal__google,
.mc-auth-modal__email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.mc-auth-modal__google {
  background: #fff;
  border: 1px solid #dadce0;
  color: #3c4043 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mc-auth-modal__google:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.mc-auth-modal__email {
  background: linear-gradient(180deg, #0d5a7a 0%, #0b4f6c 100%);
  color: #fff !important;
  border: 0;
  box-shadow: 0 8px 22px rgba(11, 79, 108, 0.28);
}

.mc-auth-modal__email:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(11, 79, 108, 0.34);
}

.mc-auth-modal__email--btn,
.mc-auth-modal__email--submit {
  cursor: pointer;
  font: inherit;
  margin-top: 4px;
}

.mc-auth-modal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--ms-color-muted, #8a97a3);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mc-auth-modal__divider::before,
.mc-auth-modal__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ms-color-line, #e2e8ee);
}

.mc-auth-modal__error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 10px;
  font-size: 13px;
  padding: 10px 12px;
  margin: 0 0 14px;
}

.mc-auth-modal__error[hidden] {
  display: none !important;
}

#mc-auth-email-panel[hidden],
#mc-auth-social-panel[hidden] {
  display: none !important;
}

.mc-auth-field-group {
  margin-bottom: 14px;
}

.mc-auth-field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ms-color-muted, #5b6a78);
}

.mc-auth-field {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ms-color-line, #d8dde2);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mc-auth-field:focus {
  outline: none;
  border-color: var(--ms-color-primary, #0b4f6c);
  box-shadow: 0 0 0 3px rgba(11, 79, 108, 0.12);
}

.mc-auth-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
}

.mc-auth-back-btn .material-symbols-outlined {
  font-size: 18px;
}

.mc-auth-modal__fine {
  font-size: 13px;
  margin: 16px 0 0;
  text-align: center;
  color: var(--ms-color-muted, #6b7280);
}

.mc-auth-modal__fine button.mc-link-btn {
  font-size: inherit;
  font-weight: 600;
}

.mc-auth-modal__trust {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--ms-color-line, #e7ebef);
  font-size: 11px;
  text-align: center;
  color: var(--ms-color-muted, #8a97a3);
  letter-spacing: 0.02em;
}

.mc-link-btn {
  background: none;
  border: 0;
  color: var(--ms-color-primary, #0b4f6c);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .mc-header-auth__btn--ghost { display: none; }
  .mc-header-auth { margin-left: 0; }
}

/* ---- Blog index cards ---- */
body.mc-blog-index .site-main .page-header {
  margin-bottom: 20px;
}

body.mc-blog-index .mc-blog-list {
  display: grid;
  gap: 16px;
}

body.mc-blog-index article.post {
  border: 1px solid var(--ms-color-line, #e7e8e9);
  border-radius: 14px;
  padding: 18px 20px;
  background: #fff;
}

body.mc-blog-index article.post .entry-title {
  font-size: 20px !important;
  margin-bottom: 8px !important;
}

body.mc-blog-index article.post .entry-title a {
  text-decoration: none;
  color: var(--ms-color-ink, #191c1d);
}

body.mc-blog-index article.post .entry-meta {
  font-size: 12px;
  color: var(--ms-color-muted, #6b7280);
  margin-bottom: 10px;
}

body.mc-blog-index article.post .entry-content {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ms-color-muted, #40484f);
}

body.mc-blog-index article.post .entry-content p {
  margin: 0 0 12px;
}

body.mc-blog-index article.post .read-more,
body.mc-blog-index article.post .more-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ms-color-primary, #0b4f6c);
}

.mc-blog-index__cta {
  margin-top: 20px;
  font-size: 14px;
}

/* ---- Payment trust ---- */
.mc-payment-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 14px 0 6px;
  margin-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.mc-payment-trust__label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10px;
}

.mc-payment-trust__icons span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 11px;
}

.mc-payment-trust__note {
  opacity: 0.75;
  font-size: 11px;
}

/* ---- Contact float ---- */
.mc-contact-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99990;
}

.mc-contact-float__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.mc-contact-float__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #e7e8e9;
  overflow: hidden;
}

.mc-contact-float__menu[hidden] {
  display: none !important;
}

.mc-contact-float__menu a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: #191c1d;
  text-decoration: none;
  border-bottom: 1px solid #f0f1f2;
}

.mc-contact-float__menu a:last-child {
  border-bottom: 0;
}

.mc-contact-float__menu a:hover {
  background: #f8f9fa;
}

@media (max-width: 600px) {
  .mc-contact-float__label { display: none; }
  .mc-contact-float__toggle { padding: 12px; border-radius: 50%; }
}
