/* Mood Café WordPress Plugin */
.mood-cafe-wp-store,
.mood-cafe-wp-store * {
  box-sizing: border-box;
}

.mood-cafe-wp-store {
  --mc-bg: #fff8ee;
  --mc-brown: #5b3a29;
  --mc-brown-light: #8b5e3c;
  --mc-cream: #fff3df;
  --mc-yellow: #ffd36e;
  --mc-green: #9dbb73;
  --mc-pink: #f6a6b2;
  --mc-text: #2f261f;
  --mc-muted: #7a6b5e;
  --mc-shadow: 0 12px 30px rgba(91, 58, 41, 0.15);

  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--mc-text);
  background: var(--mc-bg);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 22px;
}

.mood-cafe-wp-store a {
  color: inherit;
  text-decoration: none;
}

.mood-cafe-wp-store button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.mc-container {
  width: min(1180px, 92%);
  margin: auto;
}

.mc-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.mc-bg-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,211,110,0.32), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.mc-floating-icon {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.14;
  font-size: 26px;
  animation: mcFloatIcon linear infinite;
}

@keyframes mcFloatIcon {
  0% { transform: translateY(110vh) rotate(0deg); }
  100% { transform: translateY(-20vh) rotate(360deg); }
}

.mc-content-layer {
  position: relative;
  z-index: 5;
}

.mc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 238, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(91, 58, 41, 0.08);
}

.mc-navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 24px;
  color: var(--mc-brown);
}

.mc-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mc-yellow);
  display: grid;
  place-items: center;
  box-shadow: var(--mc-shadow);
}

.mc-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--mc-brown);
  font-weight: 700;
}

.mc-cart-pill {
  background: var(--mc-brown);
  color: white !important;
  padding: 11px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-cart-count {
  background: var(--mc-yellow);
  color: var(--mc-brown);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
}

.mc-mobile-btn {
  display: none;
  background: transparent;
  font-size: 26px;
  color: var(--mc-brown);
}

.mc-hero {
  padding: 82px 0 62px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,228,167,0.85) 0, transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(248,200,209,0.7) 0, transparent 20%),
    radial-gradient(circle at 80% 80%, rgba(201,220,157,0.75) 0, transparent 25%);
}

.mc-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.mc-badge {
  display: inline-flex;
  background: white;
  color: var(--mc-brown);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--mc-shadow);
  margin-bottom: 22px;
}

.mc-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  color: var(--mc-brown);
  letter-spacing: -2px;
  margin: 0 0 22px;
}

.mc-hero h1 span {
  color: #c07828;
}

.mc-hero p {
  font-size: 18px;
  color: var(--mc-muted);
  max-width: 620px;
  margin: 0 0 30px;
}

.mc-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.mc-btn-primary,
.mc-btn-secondary {
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  transition: 0.25s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.mc-btn-primary {
  background: var(--mc-brown);
  color: white;
}

.mc-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--mc-shadow);
}

.mc-btn-secondary {
  background: white;
  color: var(--mc-brown);
  border: 1px solid rgba(91, 58, 41, 0.15);
}

.mc-hero-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  padding: 26px;
  box-shadow: var(--mc-shadow);
}

.mc-hero-cup {
  min-height: 430px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,243,223,0.22)),
    url("https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 28px;
  display: flex;
  align-items: end;
  padding: 24px;
}

.mc-floating-info {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 18px;
  width: 100%;
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.mc-section {
  padding: 76px 0;
}

.mc-section-title {
  text-align: center;
  margin-bottom: 38px;
}

.mc-section-title span {
  display: inline-block;
  background: var(--mc-yellow);
  color: var(--mc-brown);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
}

.mc-section-title h2 {
  color: var(--mc-brown);
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 10px;
  letter-spacing: -1px;
}

.mc-section-title p {
  color: var(--mc-muted);
  max-width: 650px;
  margin: auto;
}

.mc-mood-picker,
.mc-order-box,
.mc-loyalty-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.mc-card {
  background: white;
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--mc-shadow);
}

.mc-card-soft {
  background: var(--mc-cream);
  border-radius: 26px;
  padding: 28px;
}

.mc-card h3,
.mc-card-soft h3 {
  color: var(--mc-brown);
  margin: 0 0 14px;
}

.mc-card p,
.mc-card-soft p {
  color: var(--mc-muted);
}

.mc-question {
  margin-bottom: 18px;
}

.mc-question label,
.mc-form-group label {
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--mc-brown);
}

.mood-cafe-wp-store select,
.mood-cafe-wp-store input,
.mood-cafe-wp-store textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 58, 41, 0.2);
  background: white;
  font-size: 15px;
  color: var(--mc-text);
  outline: none;
  font-family: inherit;
}

.mood-cafe-wp-store textarea {
  min-height: 105px;
  resize: vertical;
}

.mc-recommend {
  border-radius: 26px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255,211,110,0.42), rgba(246,166,178,0.34)),
    white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  box-shadow: var(--mc-shadow);
}

.mc-recommend .mc-emoji {
  font-size: 58px;
  margin-bottom: 12px;
}

.mc-recommend h3 {
  font-size: 30px;
  color: var(--mc-brown);
  margin: 0 0 10px;
}

.mc-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 18px;
}

.mc-tag {
  background: rgba(255,255,255,0.85);
  color: var(--mc-brown);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.mc-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.mc-tab {
  background: white;
  color: var(--mc-brown);
  border: 1px solid rgba(91, 58, 41, 0.12);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.mc-tab.active,
.mc-tab:hover {
  background: var(--mc-brown);
  color: white;
}

.mc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mc-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mc-product,
.mc-combo,
.mc-room {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--mc-shadow);
  transition: 0.25s;
}

.mc-product:hover,
.mc-combo:hover,
.mc-room:hover {
  transform: translateY(-5px);
}

.mc-product-img {
  height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.mc-product-mood {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--mc-brown);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.mc-product-body,
.mc-combo,
.mc-room {
  padding: 22px;
}

.mc-product h3,
.mc-combo h3,
.mc-room h3 {
  color: var(--mc-brown);
  margin: 0 0 8px;
}

.mc-product p,
.mc-combo p,
.mc-room p {
  color: var(--mc-muted);
  font-size: 14px;
}

.mc-product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.mc-price {
  font-weight: 900;
  color: var(--mc-brown);
  font-size: 20px;
}

.mc-mini-btn {
  background: var(--mc-yellow);
  color: var(--mc-brown);
  padding: 11px 15px;
  border-radius: 999px;
  font-weight: 900;
}

.mc-combo-icon,
.mc-room-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.mc-combo ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.mc-combo li {
  padding: 6px 0;
}

.mc-combo li::before {
  content: "✓ ";
  color: var(--mc-green);
  font-weight: 900;
}

.mc-loyalty {
  background: var(--mc-brown);
  color: white;
}

.mc-loyalty .mc-section-title h2,
.mc-loyalty .mc-section-title p {
  color: white;
}

.mc-points-number {
  font-size: 60px;
  font-weight: 900;
  color: var(--mc-yellow);
  line-height: 1;
  margin: 15px 0;
}

.mc-progress-wrap {
  height: 14px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0;
}

.mc-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--mc-yellow);
  border-radius: 999px;
  transition: 0.3s;
}

.mc-level-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mc-level {
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 18px;
}

.mc-level strong {
  display: block;
  color: var(--mc-yellow);
  margin-bottom: 4px;
}

.mc-form-group {
  margin-bottom: 16px;
}

.mc-cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(91,58,41,0.1);
}

.mc-cart-item strong {
  color: var(--mc-brown);
  display: block;
}

.mc-cart-item span {
  color: var(--mc-muted);
  font-size: 14px;
}

.mc-remove {
  background: #ffe1e1;
  color: #a33;
  padding: 7px 10px;
  border-radius: 10px;
  font-weight: 900;
  height: fit-content;
}

.mc-cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  font-size: 22px;
  margin: 20px 0;
  color: var(--mc-brown);
}

.mc-order-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mc-btn-zalo,
.mc-btn-messenger {
  color: white;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
  flex: 1;
}

.mc-btn-zalo { background: #0068ff; }
.mc-btn-messenger { background: #8b5cf6; }

.mc-empty {
  color: var(--mc-muted);
  text-align: center;
  padding: 24px 0;
}

.mc-room {
  text-align: center;
}

.mc-mini-members {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.mc-mini-members span {
  background: var(--mc-cream);
  color: var(--mc-brown);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.mc-timer {
  background: var(--mc-cream);
  border-radius: 18px;
  padding: 12px;
  font-weight: 900;
  color: var(--mc-brown);
  margin-bottom: 14px;
}

.mc-modal {
  position: fixed;
  inset: 0;
  background: rgba(47, 38, 31, 0.68);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mc-modal-content {
  width: min(760px, 96%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--mc-bg);
  border-radius: 34px;
  padding: 30px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.mc-close {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  color: var(--mc-brown);
  font-size: 26px;
  font-weight: 900;
}

.mc-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.mc-room-big-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: var(--mc-yellow);
  display: grid;
  place-items: center;
  font-size: 38px;
  box-shadow: var(--mc-shadow);
}

.mc-modal-panel {
  background: white;
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--mc-shadow);
  margin-bottom: 18px;
}

.mc-member-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mc-member {
  background: var(--mc-cream);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.mc-member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.mc-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--mc-green);
  border-radius: 50%;
  margin-right: 5px;
}

.mc-pomodoro {
  text-align: center;
}

.mc-big-timer {
  font-size: clamp(64px, 12vw, 110px);
  font-weight: 900;
  color: var(--mc-brown);
  line-height: 1;
  margin: 12px 0 24px;
  letter-spacing: -3px;
}

.mc-focus-note {
  background: var(--mc-cream);
  color: var(--mc-brown);
  padding: 14px;
  border-radius: 18px;
  font-weight: 800;
  margin-top: 14px;
}

.mc-footer {
  background: #2f261f;
  color: white;
  padding: 42px 0;
  text-align: center;
}

.mc-footer p {
  color: rgba(255,255,255,0.72);
}

.mc-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--mc-brown);
  color: white;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--mc-shadow);
  display: none;
  z-index: 1000000;
  font-weight: 900;
}

@media (max-width: 980px) {
  .mc-hero-grid,
  .mc-mood-picker,
  .mc-order-box,
  .mc-loyalty-box {
    grid-template-columns: 1fr;
  }

  .mc-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mc-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mc-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--mc-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 6%;
    border-bottom: 1px solid rgba(91,58,41,0.12);
    display: none;
  }

  .mc-nav.show {
    display: flex;
  }

  .mc-mobile-btn {
    display: block;
  }
}

@media (max-width: 620px) {
  .mc-hero {
    padding-top: 48px;
  }

  .mc-hero h1 {
    font-size: 42px;
  }

  .mc-hero-cup {
    min-height: 330px;
  }

  .mc-grid-3,
  .mc-grid-4,
  .mc-level-grid,
  .mc-member-list {
    grid-template-columns: 1fr;
  }

  .mc-navbar {
    min-height: 68px;
  }

  .mc-logo {
    font-size: 20px;
  }

  .mc-modal-content {
    padding: 22px;
    border-radius: 26px;
  }

  .mc-modal-header {
    align-items: flex-start;
  }

  .mc-room-big-icon {
    width: 58px;
    height: 58px;
    font-size: 30px;
  }
}
